Профиль:
Аноним
(
вход
|
регистрация
)
неRU
opennet.me
[
новости
/
+++
|
форум
|
теги
|
]
Интерактивная система просмотра системных руководств (man-ов)
Тема
Набор
Категория
Solaris man
FreeBSD man
Разные man
Русские man
Linux man
POSIX man
All
1
2
3
4
5
6
7
8
9
[
Cписок руководств
|
Печать
]
ng_hole (4)
>>
ng_hole
(4)
( FreeBSD man: Специальные файлы /dev/* )
BSD mandoc
NAME
ng_hole
- netgraph discard node type
SYNOPSIS
#include <sys/types.h>
#include <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_BPF_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_BPF_CLR_STATS
This command takes an
ASCII
string argument, the hook name, and clears the statistics associated with the hook.
NGM_BPF_GETCLR_STATS
This command is identical to
NGM_BPF_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
[email protected]
Index
NAME
SYNOPSIS
DESCRIPTION
HOOKS
CONTROL MESSAGES
SHUTDOWN
SEE ALSO
HISTORY
AUTHORS
Поиск по тексту MAN-ов:
Реклама
erid:2VtzqwUcu3z
ООО "Хи-Квадрат", ИНН 7718990614
Информационное сотрудничество c 2019 года
Хостинг проекта c 2019 года
Хоcтинг: