Searched refs:NG_NODESIZ (Results 1 – 15 of 15) sorted by relevance
/freebsd/lib/libnetgraph/ |
H A D | sock.c | 61 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 D | ng_message.h | 51 #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 D | ng_socket.c | 241 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 D | ng_bridge.c | 1256 static char name[NG_NODESIZ]; in ng_bridge_nodename()
|
H A D | ng_base.c | 863 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 D | netgraph.h | 364 char nd_name[NG_NODESIZ]; /* optional globally unique name */
|
H A D | ng_parse.c | 840 NG_NODESIZ
|
/freebsd/tests/sys/netgraph/ |
H A D | socket.c | 42 char name[NG_NODESIZ] = NAME; in ATF_TC_BODY()
|
/freebsd/lib/libbluetooth/ |
H A D | bluetooth.h | 99 #define HCI_DEVNAME_SIZE NG_NODESIZ
|
/freebsd/usr.sbin/flowctl/ |
H A D | flowctl.c | 115 char sname[NG_NODESIZ]; in main()
|
/freebsd/usr.sbin/ngctl/ |
H A D | main.c | 140 char name[NG_NODESIZ]; in main()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 531 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 D | netgraph.c | 468 char nodetype[NG_TYPESIZ + NG_NODESIZ]; in ng_Create()
|
H A D | tty.c | 259 char ttypath[NG_NODESIZ]; in LoadLineDiscipline()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_hci_raw.c | 1036 char path[NG_NODESIZ + 1]; in ng_btsocket_hci_raw_control()
|