/freebsd/sys/netgraph/ |
H A D | ng_message.h | 50 #define NG_HOOKSIZ 32 /* max hook name len (including null) */ macro 175 char ourhook[NG_HOOKSIZ]; /* hook name */ 176 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 190 char ourhook[NG_HOOKSIZ]; /* hook name */ 191 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 215 char ourhook[NG_HOOKSIZ]; /* hook name */ 243 char ourhook[NG_HOOKSIZ]; /* hook name */ 244 char peerhook[NG_HOOKSIZ]; /* peer hook */
|
H A D | ng_tag.h | 45 char thisHook[NG_HOOKSIZ]; /* name of hook */ 46 char ifMatch[NG_HOOKSIZ]; /* match dest hook */ 47 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */ 57 char thisHook[NG_HOOKSIZ]; /* name of hook */
|
H A D | ng_bpf.h | 51 char thisHook[NG_HOOKSIZ]; /* name of hook */ 52 char ifMatch[NG_HOOKSIZ]; /* match dest hook */ 53 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */
|
H A D | ng_pppoe.h | 129 char hook[NG_HOOKSIZ]; /* hook to monitor on */ 147 char hook[NG_HOOKSIZ]; /* hook associated with event session */ 160 char hook[NG_HOOKSIZ]; /* hook associated with event session */
|
H A D | ng_tcpmss.h | 60 char inHook[NG_HOOKSIZ]; 61 char outHook[NG_HOOKSIZ];
|
H A D | ng_macfilter.h | 59 u_char hookname[NG_HOOKSIZ]; /* Upper hook name*/ 109 u_char hookname[NG_HOOKSIZ]; /* Upper hook name*/
|
H A D | ng_bridge.h | 114 char hook[NG_HOOKSIZ]; /* link where addr can be found */ 143 char hook[NG_HOOKSIZ]; /* link where addr can be found */
|
H A D | ng_etf.h | 77 char matchhook[NG_HOOKSIZ]; /* hook name */
|
H A D | ng_vlan.h | 65 char hook_name[NG_HOOKSIZ];
|
H A D | ng_hole.c | 160 if (msg->header.arglen != NG_HOOKSIZ) { in ngh_rcvmsg()
|
H A D | ng_vlan.c | 321 if (msg->header.arglen != NG_HOOKSIZ) { in ng_vlan_rcvmsg() 421 NG_HOOK_NAME(hook), NG_HOOKSIZ); in ng_vlan_rcvmsg()
|
H A D | ng_socket.c | 422 char hookname[NG_HOOKSIZ]; in ngd_send() 459 if (len >= NG_HOOKSIZ) { in ngd_send() 1017 char *addrbuf[NG_HOOKSIZ + 4]; in ngs_rcvdata()
|
H A D | ng_macfilter.c | 482 hookname, NG_HOOKSIZ) == 0) { in macfilter_find_hook() 759 NG_HOOKSIZ); in ng_macfilter_rcvmsg()
|
H A D | ng_bridge.c | 402 char linkName[NG_HOOKSIZ]; in ng_bridge_newhook() 419 snprintf(NG_HOOK_NAME(hook), NG_HOOKSIZ, "%s%u", pfx->prefix, in ng_bridge_newhook() 580 char linkName[NG_HOOKSIZ]; in ng_bridge_rcvmsg()
|
H A D | ng_tcpmss.c | 200 if (msg->header.arglen != NG_HOOKSIZ) in ng_tcpmss_rcvmsg()
|
H A D | ng_pppoe.c | 1327 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len)); in send_acname() 1369 strncpy(maxp->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in send_maxp() 2226 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
|
H A D | ng_ksocket.c | 546 char *s1, *s2, name[NG_HOOKSIZ]; in ng_ksocket_newhook()
|
/freebsd/lib/libnetgraph/ |
H A D | sock.c | 215 u_char frombuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgRecvData() 232 strlcpy(hook, from->sg_data, NG_HOOKSIZ); in NgRecvData() 272 u_char sgbuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgSendData() 278 strlcpy(sg->sg_data, hook, NG_HOOKSIZ); in NgSendData()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 104 char hook[NG_HOOKSIZ]; 454 char hook[NG_HOOKSIZ]; in dsock_input() 612 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect_node() 613 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect_node() 623 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect_id() 624 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect_id() 639 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect2_id() 640 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect2_id() 659 strlcpy(conn.ourhook, "right", NG_HOOKSIZ); in ng_connect2_tee_id() 660 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect2_tee_id() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | net_backend_netgraph.c | 85 strncpy(ngc.ourhook, value, NG_HOOKSIZ - 1); in ng_init() 92 strncpy(ngc.peerhook, value, NG_HOOKSIZ - 1); in ng_init()
|
/freebsd/usr.sbin/ppp/ |
H A D | netgraph.c | 94 char hook[NG_HOOKSIZ]; /* Our socket node hook */ 236 char hook[NG_HOOKSIZ]; in ng_Read() 466 char lasthook[NG_HOOKSIZ]; in ng_Create() 467 char hook[NG_HOOKSIZ]; in ng_Create()
|
/freebsd/share/examples/netgraph/ |
H A D | ngctl | 152 # char ourhook[NG_HOOKSIZ]; /* hook name */ 153 # char peerhook[NG_HOOKSIZ]; /* peer hook */
|
/freebsd/tests/sys/netgraph/ |
H A D | util.c | 178 char hook[NG_HOOKSIZ]; in handle_data()
|
/freebsd/usr.sbin/ngctl/ |
H A D | main.c | 406 char hook[NG_HOOKSIZ]; in ReadSockets()
|
/freebsd/libexec/pppoed/ |
H A D | pppoed.c | 500 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; in main()
|