Home
last modified time | relevance | path

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

12

/f-stack/tools/compat/include/netgraph/
H A Dng_tag.h45 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 Dng_message.h51 #define NG_HOOKSIZ 32 /* max hook name len (including null) */ macro
176 char ourhook[NG_HOOKSIZ]; /* hook name */
177 char peerhook[NG_HOOKSIZ]; /* peer hook name */
191 char ourhook[NG_HOOKSIZ]; /* hook name */
192 char peerhook[NG_HOOKSIZ]; /* peer hook name */
216 char ourhook[NG_HOOKSIZ]; /* hook name */
244 char ourhook[NG_HOOKSIZ]; /* hook name */
245 char peerhook[NG_HOOKSIZ]; /* peer hook */
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 */
H A Dng_tcpmss.h61 char inHook[NG_HOOKSIZ];
62 char outHook[NG_HOOKSIZ];
H A Dng_pppoe.h129 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 Dng_etf.h77 char matchhook[NG_HOOKSIZ]; /* hook name */
H A Dng_vlan.h65 char hook_name[NG_HOOKSIZ];
/f-stack/freebsd/netgraph/
H A Dng_tag.h47 char thisHook[NG_HOOKSIZ]; /* name of hook */
48 char ifMatch[NG_HOOKSIZ]; /* match dest hook */
49 char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */
59 char thisHook[NG_HOOKSIZ]; /* name of hook */
H A Dng_message.h49 #define NG_HOOKSIZ 32 /* max hook name len (including null) */ macro
174 char ourhook[NG_HOOKSIZ]; /* hook name */
175 char peerhook[NG_HOOKSIZ]; /* peer hook name */
189 char ourhook[NG_HOOKSIZ]; /* hook name */
190 char peerhook[NG_HOOKSIZ]; /* peer hook name */
214 char ourhook[NG_HOOKSIZ]; /* hook name */
242 char ourhook[NG_HOOKSIZ]; /* hook name */
243 char peerhook[NG_HOOKSIZ]; /* peer hook */
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 */
H A Dng_tcpmss.h62 char inHook[NG_HOOKSIZ];
63 char outHook[NG_HOOKSIZ];
H A Dng_pppoe.h131 char hook[NG_HOOKSIZ]; /* hook to monitor on */
149 char hook[NG_HOOKSIZ]; /* hook associated with event session */
162 char hook[NG_HOOKSIZ]; /* hook associated with event session */
H A Dng_macfilter.h61 u_char hookname[NG_HOOKSIZ]; /* Upper hook name*/
111 u_char hookname[NG_HOOKSIZ]; /* Upper hook name*/
H A Dng_etf.h79 char matchhook[NG_HOOKSIZ]; /* hook name */
H A Dng_vlan.h67 char hook_name[NG_HOOKSIZ];
H A Dng_bridge.h151 char hook[NG_HOOKSIZ]; /* link where addr can be found */
H A Dng_hole.c162 if (msg->header.arglen != NG_HOOKSIZ) { in ngh_rcvmsg()
H A Dng_vlan.c323 if (msg->header.arglen != NG_HOOKSIZ) { in ng_vlan_rcvmsg()
423 NG_HOOK_NAME(hook), NG_HOOKSIZ); in ng_vlan_rcvmsg()
H A Dng_socket.c419 char hookname[NG_HOOKSIZ]; in ngd_send()
450 if (len >= NG_HOOKSIZ) { in ngd_send()
1012 char *addrbuf[NG_HOOKSIZ + 4]; in ngs_rcvdata()
H A Dng_macfilter.c484 hookname, NG_HOOKSIZ) == 0) { in macfilter_find_hook()
761 NG_HOOKSIZ); in ng_macfilter_rcvmsg()
H A Dng_tcpmss.c196 if (msg->header.arglen != NG_HOOKSIZ) in ng_tcpmss_rcvmsg()
H A Dng_bridge.c340 char linkName[NG_HOOKSIZ]; in ng_bridge_newhook()
508 char linkName[NG_HOOKSIZ]; in ng_bridge_rcvmsg()
H A Dng_pppoe.c1313 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len)); in send_acname()
1355 strncpy(maxp->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in send_maxp()
2208 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
/f-stack/tools/libnetgraph/
H A Dsock.c222 u_char frombuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgRecvData()
239 strlcpy(hook, from->sg_data, NG_HOOKSIZ); in NgRecvData()
284 u_char sgbuf[NG_HOOKSIZ + NGSA_OVERHEAD]; in NgSendData()
290 strlcpy(sg->sg_data, hook, NG_HOOKSIZ); in NgSendData()
/f-stack/tools/ngctl/
H A Dmain.c467 char hook[NG_HOOKSIZ];

12