Home
last modified time | relevance | path

Searched refs:hooklist (Results 1 – 9 of 9) sorted by relevance

/src/usr.sbin/bsnmpd/modules/snmp_netgraph/ !
H A Dsnmp_netgraph.c676 struct hooklist *hooklist; in ng_next_node_id_internal() local
684 hooklist = (struct hooklist *)(void *)resp->data; in ng_next_node_id_internal()
686 for (i = 0; i < hooklist->nodeinfo.hooks; i++) in ng_next_node_id_internal()
687 if (strcmp(hooklist->link[i].ourhook, hook) == 0) in ng_next_node_id_internal()
690 if (i == hooklist->nodeinfo.hooks) { in ng_next_node_id_internal()
695 node = hooklist->link[i].nodeinfo.id; in ng_next_node_id_internal()
697 if (skip_tee && strcmp(hooklist->link[i].nodeinfo.type, "tee") == 0) { in ng_next_node_id_internal()
698 if (strcmp(hooklist->link[i].peerhook, "left") == 0) in ng_next_node_id_internal()
700 else if (strcmp(hooklist->link[i].peerhook, "right") == 0) in ng_next_node_id_internal()
703 strcmp(hooklist->link[i].nodeinfo.type, type) != 0) in ng_next_node_id_internal()
[all …]
/src/usr.sbin/ngctl/ !
H A Dshow.c64 struct hooklist *hlist; in ShowCmd()
105 hlist = (struct hooklist *) resp->data; in ShowCmd()
H A Ddot.c143 struct hooklist *hlist; in DotCmd()
164 hlist = (struct hooklist *)hlresp->data; in DotCmd()
/src/usr.sbin/ppp/ !
H A Dnetgraph.c458 const struct hooklist *hlist; in ng_Create()
597 hlist = (const struct hooklist *)resp->data; in ng_Create()
666 hlist = (const struct hooklist *)resp->data; in ng_Create()
H A Dether.c445 const struct hooklist *hlist; in ether_Create()
539 hlist = (const struct hooklist *)resp->data; in ether_Create()
/src/share/examples/netgraph/ !
H A Dngctl147 # responds to a NGM_LISTHOOKS with a struct hooklist, which contains
157 # struct hooklist {
/src/libexec/pppoed/ !
H A Dpppoed.c118 const struct hooklist *hlist; in ConfigureNode()
153 hlist = (const struct hooklist *)resp->data; in ConfigureNode()
/src/sys/netgraph/ !
H A Dng_message.h256 struct hooklist { struct
H A Dng_base.c443 const struct hooklist *hl = (const struct hooklist *)start; in ng_generic_linkinfo_getLength()
479 DEFINE_PARSE_STRUCT_TYPE(hooklist, HOOKLIST,
2616 struct hooklist *hl; in ng_generic_msg()
2627 hl = (struct hooklist *) resp->data; in ng_generic_msg()