Rechercher une page de manuel

Chercher une autre page de manuel:

ng_hole.4freebsd

Langue: en

Autres versions - même langue

Version: 361984 (ubuntu - 24/10/10)

Section: 4 (Pilotes et protocoles réseau)


BSD mandoc

NAME

ng_hole - netgraph discard node type

SYNOPSIS

In sys/types.h In netgraph/ng_hole.h

DESCRIPTION

The hole node type silently discards all data and control messages it receives. This type is used for testing and debugging.

HOOKS

A node accepts any request to connect, regardless of the hook name, as long as the name is unique.

CONTROL MESSAGES

This node type supports the generic control messages, plus the following:
NGM_HOLE_GET_STATS
This command takes an ASCII string argument, the hook name, and returns the statistics associated with the hook as a Vt struct ng_hole_hookstat .
NGM_HOLE_CLR_STATS
This command takes an ASCII string argument, the hook name, and clears the statistics associated with the hook.
NGM_HOLE_GETCLR_STATS
This command is identical to NGM_HOLE_GET_STATS except that the statistics are also atomically cleared.

SHUTDOWN

This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.

SEE ALSO

netgraph(4), ng_echo4, ngctl(8)

HISTORY

The node type was implemented in Fx 4.0 .

AUTHORS

An Julian Elischer Aq julian@FreeBSD.org
Pis je suis un assassin parce que j'ai tué plein de monde de la façon
la plus gore (Carmageddon 2) j'usqu'a la façon la plus lente et la plus
orrible (je fais cramer mes Sims !) ! PTDR !!!
-+- Pip99 in GPJ : Et chez moi, c'est Theme Hospital en vrai -+-