Home
last modified time | relevance | path

Searched refs:NG_NODESIZ (Results 1 – 15 of 15) sorted by relevance

/freebsd/lib/libnetgraph/
H A Dsock.c61 char namebuf[NG_NODESIZ]; in NgMkSockNode()
94 u_char sbuf[NG_NODESIZ + NGSA_OVERHEAD]; in NgMkSockNode()
98 strlcpy(sg->sg_data, name, NG_NODESIZ); in NgMkSockNode()
139 u_char sbuf[NG_NODESIZ + 1 + NGSA_OVERHEAD]; in NgMkSockNode()
151 snprintf(sg->sg_data, NG_NODESIZ + 1, "%s:", namebuf); in NgMkSockNode()
/freebsd/sys/netgraph/
H A Dng_message.h51 #define NG_NODESIZ 32 /* max node name len (including null) */ macro
204 char name[NG_NODESIZ]; /* node name */
226 char name[NG_NODESIZ]; /* node name (if any) */
H A Dng_socket.c241 if (sap->sg_len > NG_NODESIZ + offsetof(struct sockaddr_ng, sg_data)) { in ngc_send()
436 if (sap->sg_len > NG_NODESIZ + in ngd_send()
766 if ((sap->sg_len < 4) || (sap->sg_len > (NG_NODESIZ + 2)) || in ng_bind()
H A Dng_bridge.c1256 static char name[NG_NODESIZ]; in ng_bridge_nodename()
H A Dng_base.c863 for (i = 0; i < NG_NODESIZ; i++) { in ng_name_node()
894 strlcpy(NG_NODE_NAME(node), name, NG_NODESIZ); in ng_name_node()
H A Dnetgraph.h364 char nd_name[NG_NODESIZ]; /* optional globally unique name */
H A Dng_parse.c840 NG_NODESIZ
/freebsd/tests/sys/netgraph/
H A Dsocket.c42 char name[NG_NODESIZ] = NAME; in ATF_TC_BODY()
/freebsd/lib/libbluetooth/
H A Dbluetooth.h99 #define HCI_DEVNAME_SIZE NG_NODESIZ
/freebsd/usr.sbin/flowctl/
H A Dflowctl.c115 char sname[NG_NODESIZ]; in main()
/freebsd/usr.sbin/ngctl/
H A Dmain.c140 char name[NG_NODESIZ]; in main()
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c531 if ((snmp_nodename = malloc(NG_NODESIZ)) == NULL) in ng_init()
533 strlcpy(snmp_nodename, argv[0], NG_NODESIZ); in ng_init()
/freebsd/usr.sbin/ppp/
H A Dnetgraph.c468 char nodetype[NG_TYPESIZ + NG_NODESIZ]; in ng_Create()
H A Dtty.c259 char ttypath[NG_NODESIZ]; in LoadLineDiscipline()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_hci_raw.c1036 char path[NG_NODESIZ + 1]; in ng_btsocket_hci_raw_control()