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

/freebsd-11-stable/sys/netgraph/
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 */
98 NGM_BPF_GET_STATS, /* supply name as char[NG_HOOKSIZ] */
99 NGM_BPF_CLR_STATS, /* supply name as char[NG_HOOKSIZ] */
100 NGM_BPF_GETCLR_STATS, /* supply name as char[NG_HOOKSIZ] */
H A Dng_tcpmss.h61 char inHook[NG_HOOKSIZ];
62 char outHook[NG_HOOKSIZ];
H A Dng_etf.h77 char matchhook[NG_HOOKSIZ]; /* hook name */
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 */
124 NGM_TAG_GET_STATS, /* supply name as char[NG_HOOKSIZ] */
125 NGM_TAG_CLR_STATS, /* supply name as char[NG_HOOKSIZ] */
126 NGM_TAG_GETCLR_STATS, /* supply name as char[NG_HOOKSIZ] */
H A Dng_vlan.h65 char hook_name[NG_HOOKSIZ];
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_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_hole.c162 if (msg->header.arglen != NG_HOOKSIZ) {
H A Dng_vlan.c323 if (msg->header.arglen != NG_HOOKSIZ) {
423 NG_HOOK_NAME(hook), NG_HOOKSIZ);
H A Dng_tcpmss.c195 if (msg->header.arglen != NG_HOOKSIZ)
H A Dng_socket.c410 char hookname[NG_HOOKSIZ];
441 if (len >= NG_HOOKSIZ) {
997 char *addrbuf[NG_HOOKSIZ + 4];
1012 addrlen = strlen(NG_HOOK_NAME(hook)); /* <= NG_HOOKSIZ - 1 */
H A Dng_pppoe.c1307 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len));
1349 strncpy(maxp->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
2202 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
H A Dng_ksocket.c545 char *s1, *s2, name[NG_HOOKSIZ];
H A Dng_base.c1095 strlcpy(NG_HOOK_NAME(hook), name, NG_HOOKSIZ); local
1508 strlcpy(NG_HOOK_NAME(hook2), name2, NG_HOOKSIZ); local
H A Dnetgraph.h111 char hk_name[NG_HOOKSIZ]; /* what this node knows this link as */
H A Dng_parse.c850 NG_HOOKSIZ
/freebsd-11-stable/sys/netgraph/atm/
H A Dng_atm.h131 char name[NG_HOOKSIZ];
182 char name[NG_HOOKSIZ];
H A Dng_atm.c998 char hook[NG_HOOKSIZ];
1007 if (msg->header.arglen != NG_HOOKSIZ) {
1011 strncpy(hook, msg->data, NG_HOOKSIZ);
1012 hook[NG_HOOKSIZ - 1] = '\0';
/freebsd-11-stable/lib/libnetgraph/
H A Dsock.c218 u_char frombuf[NG_HOOKSIZ + NGSA_OVERHEAD];
235 strlcpy(hook, from->sg_data, NG_HOOKSIZ);
275 u_char sgbuf[NG_HOOKSIZ + NGSA_OVERHEAD];
281 strlcpy(sg->sg_data, hook, NG_HOOKSIZ);
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c106 char hook[NG_HOOKSIZ];
456 char hook[NG_HOOKSIZ];
614 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ);
615 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ);
625 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ);
626 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ);
641 strlcpy(conn.ourhook, ourhook, NG_HOOKSIZ);
642 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ);
661 strlcpy(conn.ourhook, "right", NG_HOOKSIZ);
662 strlcpy(conn.peerhook, peerhook, NG_HOOKSIZ);
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dnetgraph.c96 char hook[NG_HOOKSIZ]; /* Our socket node hook */
238 char hook[NG_HOOKSIZ];
468 char lasthook[NG_HOOKSIZ];
469 char hook[NG_HOOKSIZ];
/freebsd-11-stable/tests/sys/netgraph/
H A Dutil.c178 char hook[NG_HOOKSIZ];
/freebsd-11-stable/usr.sbin/ngctl/
H A Dmain.c409 char hook[NG_HOOKSIZ];
/freebsd-11-stable/libexec/pppoed/
H A Dpppoed.c500 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];

Completed in 363 milliseconds