Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/netgraph/
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 */
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 */
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 */
Dng_pppoe.h125 char hook[NG_HOOKSIZ]; /* hook to monitor on */
143 char hook[NG_HOOKSIZ]; /* hook associated with event session */
156 char hook[NG_HOOKSIZ]; /* hook associated with event session */
Dng_tcpmss.h61 char inHook[NG_HOOKSIZ];
62 char outHook[NG_HOOKSIZ];
Dng_etf.h77 char matchhook[NG_HOOKSIZ]; /* hook name */
Dng_vlan.h51 char hook[NG_HOOKSIZ];
Dng_vlan.c259 if (msg->header.arglen != NG_HOOKSIZ) { in ng_vlan_rcvmsg()
290 NG_HOOKSIZ); in ng_vlan_rcvmsg()
Dng_hole.c162 if (msg->header.arglen != NG_HOOKSIZ) { in ngh_rcvmsg()
Dng_socket.c389 char hookname[NG_HOOKSIZ]; in ngd_send()
420 if (len >= NG_HOOKSIZ) { in ngd_send()
976 char *addrbuf[NG_HOOKSIZ + 4]; in ngs_rcvdata()
Dng_tcpmss.c195 if (msg->header.arglen != NG_HOOKSIZ) in ng_tcpmss_rcvmsg()
Dng_pppoe.c1117 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len)); in send_acname()
1159 strncpy(maxp->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in send_maxp()
1957 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
Dng_ksocket.c551 char *s1, *s2, name[NG_HOOKSIZ]; in ng_ksocket_newhook()
Dng_base.c1090 strlcpy(NG_HOOK_NAME(hook), name, NG_HOOKSIZ); in ng_add_hook()
1503 strlcpy(NG_HOOK_NAME(hook2), name2, NG_HOOKSIZ); in ng_con_nodes()
Dng_parse.c850 NG_HOOKSIZ
Dnetgraph.h111 char hk_name[NG_HOOKSIZ]; /* what this node knows this link as */
/freebsd-9-stable/lib/libnetgraph/
Dsock.c215 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-9-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/
Dsnmp_netgraph.c106 char hook[NG_HOOKSIZ];
456 char hook[NG_HOOKSIZ]; in dsock_input()
614 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect_node()
615 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect_node()
625 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect_id()
626 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect_id()
641 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ); in ng_connect2_id()
642 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect2_id()
661 strlcpy(conn.ourhook, "right", NG_HOOKSIZ); in ng_connect2_tee_id()
662 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ); in ng_connect2_tee_id()
[all …]
/freebsd-9-stable/sys/netgraph/atm/
Dng_atm.h131 char name[NG_HOOKSIZ];
182 char name[NG_HOOKSIZ];
Dng_atm.c998 char hook[NG_HOOKSIZ]; in ng_atm_rcvmsg()
1007 if (msg->header.arglen != NG_HOOKSIZ) { in ng_atm_rcvmsg()
1011 strncpy(hook, msg->data, NG_HOOKSIZ); in ng_atm_rcvmsg()
1012 hook[NG_HOOKSIZ - 1] = '\0'; in ng_atm_rcvmsg()
/freebsd-9-stable/usr.sbin/ppp/
Dnetgraph.c94 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-9-stable/share/examples/netgraph/
Dngctl153 # char ourhook[NG_HOOKSIZ]; /* hook name */
154 # char peerhook[NG_HOOKSIZ]; /* peer hook */
/freebsd-9-stable/usr.sbin/ngctl/
Dmain.c407 char hook[NG_HOOKSIZ]; in ReadSockets()
/freebsd-9-stable/libexec/pppoed/
Dpppoed.c500 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; in main()