Home
last modified time | relevance | path

Searched refs:NG_HOOKSIZ (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/sys/netgraph/
H A Dng_message.h55 #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 Dng_message.h52 #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 Dng_tag.h46 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 Dng_vlan.h52 char hook[NG_HOOKSIZ];
H A Dng_vlan.c262 if (msg->header.arglen != NG_HOOKSIZ) { in ng_vlan_rcvmsg()
293 NG_HOOKSIZ); in ng_vlan_rcvmsg()
/dragonfly/sys/netgraph/bpf/
H A Dng_bpf.h53 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 Dng_bpf.h54 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 Dsock.c214 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 Dsock.c214 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 Dng_tcpmss.h62 char inHook[NG_HOOKSIZ];
63 char outHook[NG_HOOKSIZ];
H A Dng_tcpmss.c196 if (msg->header.arglen != NG_HOOKSIZ) in ng_tcpmss_rcvmsg()
/dragonfly/sys/netgraph/pppoe/
H A Dng_pppoe.h112 char hook[NG_HOOKSIZ]; /* hook to monitor on */
123 char hook[NG_HOOKSIZ]; /* hook associated with event session */
H A Dng_pppoe.c850 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 Dng_pppoe.h124 char hook[NG_HOOKSIZ]; /* hook to monitor on */
142 char hook[NG_HOOKSIZ]; /* hook associated with event session */
H A Dng_pppoe.c1101 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 Dng_etf.h76 char matchhook[NG_HOOKSIZ]; /* hook name */
/dragonfly/sys/netgraph7/etf/
H A Dng_etf.h78 char matchhook[NG_HOOKSIZ]; /* hook name */
/dragonfly/usr.sbin/ppp/
H A Dnetgraph.c101 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 Dng_hole.c163 if (msg->header.arglen != NG_HOOKSIZ) { in ngh_rcvmsg()
/dragonfly/sys/netgraph/socket/
H A Dng_socket.c351 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 Dng_socket.c422 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 Dmain.c239 char hook[NG_HOOKSIZ]; in DoInteractive()
/dragonfly/share/examples/netgraph/
H A Dngctl154 # char ourhook[NG_HOOKSIZ]; /* hook name */
/dragonfly/libexec/pppoed/
H A Dpppoed.c502 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; in main()
/dragonfly/sys/netgraph/netgraph/
H A Dng_base.c1384 strlcpy(link->ourhook, hook->name, NG_HOOKSIZ); in ng_generic_msg()
1385 strlcpy(link->peerhook, hook->peer->name, NG_HOOKSIZ); in ng_generic_msg()

12