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

12

/freebsd-13-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.h62 char inHook[NG_HOOKSIZ];
63 char outHook[NG_HOOKSIZ];
H A Dng_etf.h79 char matchhook[NG_HOOKSIZ]; /* hook name */
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 */
126 NGM_TAG_GET_STATS, /* supply name as char[NG_HOOKSIZ] */
127 NGM_TAG_CLR_STATS, /* supply name as char[NG_HOOKSIZ] */
128 NGM_TAG_GETCLR_STATS, /* supply name as char[NG_HOOKSIZ] */
H A Dng_vlan.h67 char hook_name[NG_HOOKSIZ];
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_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_bridge.h146 char hook[NG_HOOKSIZ]; /* link where addr can be found */
188 char hook[NG_HOOKSIZ]; /* link where addr can be found */
H A Dng_hole.c162 if (msg->header.arglen != NG_HOOKSIZ) {
H A Dng_macfilter.c484 hookname, NG_HOOKSIZ) == 0) {
761 NG_HOOKSIZ);
H A Dng_vlan.c323 if (msg->header.arglen != NG_HOOKSIZ) {
423 NG_HOOK_NAME(hook), NG_HOOKSIZ);
H A Dng_tcpmss.c196 if (msg->header.arglen != NG_HOOKSIZ)
H A Dng_socket.c419 char hookname[NG_HOOKSIZ];
456 if (len >= NG_HOOKSIZ) {
1018 char *addrbuf[NG_HOOKSIZ + 4];
1033 addrlen = strlen(NG_HOOK_NAME(hook)); /* <= NG_HOOKSIZ - 1 */
H A Dng_bridge.c371 char linkName[NG_HOOKSIZ];
587 char linkName[NG_HOOKSIZ];
H A Dng_pppoe.c1313 tlen = min(NG_HOOKSIZ - 1, ntohs(tag->tag_len));
1355 strncpy(maxp->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
2208 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
H A Dng_ksocket.c544 char *s1, *s2, name[NG_HOOKSIZ];
H A Dng_base.c1096 strlcpy(NG_HOOK_NAME(hook), name, NG_HOOKSIZ); local
1509 strlcpy(NG_HOOK_NAME(hook2), name2, NG_HOOKSIZ); local
/freebsd-13-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-13-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-13-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-13-stable/tests/sys/netgraph/
H A Dutil.c178 char hook[NG_HOOKSIZ];
/freebsd-13-stable/usr.sbin/bhyve/
H A Dnet_backends.c428 strncpy(ngc.ourhook, "vmlink", NG_HOOKSIZ - 1);
458 strncpy(ngc.ourhook, value, NG_HOOKSIZ - 1);
460 strncpy(ngc.peerhook, value, NG_HOOKSIZ - 1);
/freebsd-13-stable/usr.sbin/ngctl/
H A Dmain.c409 char hook[NG_HOOKSIZ];
/freebsd-13-stable/libexec/pppoed/
H A Dpppoed.c502 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];

Completed in 265 milliseconds

12