/dragonfly/sys/netgraph/ |
H A D | ng_message.h | 55 #define NG_HOOKSIZ 32 /* max hook name len (including null) */ macro 128 char ourhook[NG_HOOKSIZ]; /* hook name */ 129 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 143 char ourhook[NG_HOOKSIZ]; /* hook name */ 144 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 168 char ourhook[NG_HOOKSIZ]; /* hook name */ 196 char ourhook[NG_HOOKSIZ]; /* hook name */ 197 char peerhook[NG_HOOKSIZ]; /* peer hook */
|
/dragonfly/sys/netgraph7/ |
H A D | ng_message.h | 52 #define NG_HOOKSIZ 32 /* max hook name len (including null) */ macro 60 #define NG_HOOKLEN (NG_HOOKSIZ - 1) 186 char ourhook[NG_HOOKSIZ]; /* hook name */ 187 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 201 char ourhook[NG_HOOKSIZ]; /* hook name */ 202 char peerhook[NG_HOOKSIZ]; /* peer hook name */ 226 char ourhook[NG_HOOKSIZ]; /* hook name */ 254 char ourhook[NG_HOOKSIZ]; /* hook name */ 255 char peerhook[NG_HOOKSIZ]; /* peer hook */
|
H A D | ng_tag.h | 46 char thisHook[NG_HOOKSIZ]; /* name of hook */ 47 char ifMatch[NG_HOOKSIZ]; /* match dest hook */ 48 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */ 58 char thisHook[NG_HOOKSIZ]; /* name of hook */
|
H A D | ng_vlan.h | 52 char hook[NG_HOOKSIZ];
|
H A D | ng_vlan.c | 262 if (msg->header.arglen != NG_HOOKSIZ) { in ng_vlan_rcvmsg() 293 NG_HOOKSIZ); in ng_vlan_rcvmsg()
|
/dragonfly/sys/netgraph/bpf/ |
H A D | ng_bpf.h | 53 char thisHook[NG_HOOKSIZ]; /* name of hook */ 54 char ifMatch[NG_HOOKSIZ]; /* match dest hook */ 55 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */
|
/dragonfly/sys/netgraph7/bpf/ |
H A D | ng_bpf.h | 54 char thisHook[NG_HOOKSIZ]; /* name of hook */ 55 char ifMatch[NG_HOOKSIZ]; /* match dest hook */ 56 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */
|
/dragonfly/lib/libnetgraph/ |
H A D | sock.c | 214 u_char frombuf[NG_HOOKSIZ - 1 + sizeof(struct sockaddr_ng)]; in NgRecvData() 231 snprintf(hook, NG_HOOKSIZ, "%s", from->sg_data); in NgRecvData() 253 u_char sgbuf[NG_HOOKSIZ - 1 + sizeof(struct sockaddr_ng)]; in NgSendData() 259 snprintf(sg->sg_data, NG_HOOKSIZ, "%s", hook); in NgSendData()
|
/dragonfly/lib/libnetgraph7/ |
H A D | sock.c | 214 u_char frombuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgRecvData() 231 strlcpy(hook, from->sg_data, NG_HOOKSIZ); in NgRecvData() 271 u_char sgbuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgSendData() 277 strlcpy(sg->sg_data, hook, NG_HOOKSIZ); in NgSendData()
|
/dragonfly/sys/netgraph7/tcpmss/ |
H A D | ng_tcpmss.h | 62 char inHook[NG_HOOKSIZ]; 63 char outHook[NG_HOOKSIZ];
|
H A D | ng_tcpmss.c | 196 if (msg->header.arglen != NG_HOOKSIZ) in ng_tcpmss_rcvmsg()
|
/dragonfly/sys/netgraph/pppoe/ |
H A D | ng_pppoe.h | 112 char hook[NG_HOOKSIZ]; /* hook to monitor on */ 123 char hook[NG_HOOKSIZ]; /* hook associated with event session */
|
H A D | ng_pppoe.c | 850 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len)); in send_acname() 1673 strlcpy(sts->hook, sp->hook->name, NG_HOOKSIZ); in pppoe_send_event()
|
/dragonfly/sys/netgraph7/pppoe/ |
H A D | ng_pppoe.h | 124 char hook[NG_HOOKSIZ]; /* hook to monitor on */ 142 char hook[NG_HOOKSIZ]; /* hook associated with event session */
|
H A D | ng_pppoe.c | 1101 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len)); in send_acname() 1911 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
|
/dragonfly/sys/netgraph/etf/ |
H A D | ng_etf.h | 76 char matchhook[NG_HOOKSIZ]; /* hook name */
|
/dragonfly/sys/netgraph7/etf/ |
H A D | ng_etf.h | 78 char matchhook[NG_HOOKSIZ]; /* hook name */
|
/dragonfly/usr.sbin/ppp/ |
H A D | netgraph.c | 101 char hook[NG_HOOKSIZ]; /* Our socket node hook */ 243 char hook[NG_HOOKSIZ]; in ng_Read() 473 char lasthook[NG_HOOKSIZ]; in ng_Create() 474 char hook[NG_HOOKSIZ]; in ng_Create()
|
/dragonfly/sys/netgraph7/hole/ |
H A D | ng_hole.c | 163 if (msg->header.arglen != NG_HOOKSIZ) { in ngh_rcvmsg()
|
/dragonfly/sys/netgraph/socket/ |
H A D | ng_socket.c | 351 char hookname[NG_HOOKSIZ]; in ngd_send() 378 if (len >= NG_HOOKSIZ) { in ngd_send() 851 char *addrbuf[NG_HOOKSIZ + 4]; in ngs_rcvdata()
|
/dragonfly/sys/netgraph7/socket/ |
H A D | ng_socket.c | 422 char hookname[NG_HOOKSIZ]; in ngd_send() 453 if (len >= NG_HOOKSIZ) { in ngd_send() 981 char *addrbuf[NG_HOOKSIZ + 4]; in ngs_rcvdata()
|
/dragonfly/usr.sbin/ngctl/ |
H A D | main.c | 239 char hook[NG_HOOKSIZ]; in DoInteractive()
|
/dragonfly/share/examples/netgraph/ |
H A D | ngctl | 154 # char ourhook[NG_HOOKSIZ]; /* hook name */
|
/dragonfly/libexec/pppoed/ |
H A D | pppoed.c | 502 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; in main()
|
/dragonfly/sys/netgraph/netgraph/ |
H A D | ng_base.c | 1384 strlcpy(link->ourhook, hook->name, NG_HOOKSIZ); in ng_generic_msg() 1385 strlcpy(link->peerhook, hook->peer->name, NG_HOOKSIZ); in ng_generic_msg()
|