| /f-stack/tools/libnetgraph/ |
| H A D | sock.c | 76 if ((cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL)) < 0) { in NgMkSockNode() 85 cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL); in NgMkSockNode() 150 if ((ds = socket(AF_NETGRAPH, SOCK_DGRAM, NG_DATA)) < 0) { in NgMkSockNode()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_diff/ |
| H A D | socket.c | 45 if ((fd = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) { in main()
|
| /f-stack/tools/compat/ |
| H A D | if_nametoindex.c | 83 s = _socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in if_nametoindex()
|
| /f-stack/freebsd/security/audit/ |
| H A D | bsm_socket_type.c | 51 { BSM_SOCK_DGRAM, SOCK_DGRAM },
|
| /f-stack/freebsd/netinet/ |
| H A D | in_proto.c | 121 .pr_type = SOCK_DGRAM, 170 .pr_type = SOCK_DGRAM,
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 856 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in getnbrinfo() 1005 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in ifinfo() 1337 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in pfx_flush() 1352 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in rtr_flush() 1367 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in harmonize_rtr() 1391 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in setdefif() 1410 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in getdefif()
|
| /f-stack/lib/ |
| H A D | ff_veth.c | 399 socreate(AF_INET, &so, SOCK_DGRAM, 0, curthread->td_ucred, curthread); in ff_veth_setaddr() 459 socreate(AF_INET, &so, SOCK_DGRAM, 0, curthread->td_ucred, curthread); in ff_veth_setvaddr() 510 socreate(AF_INET6, &so, SOCK_DGRAM, 0, curthread->td_ucred, curthread); in ff_veth_setaddr6() 567 socreate(AF_INET6, &so, SOCK_DGRAM, 0, curthread->td_ucred, curthread); in ff_veth_setvaddr6()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_handler.c | 146 c->number, c->type == SOCK_DGRAM ? "udp " : "", in ngx_stream_init_connection() 374 s->connection->type == SOCK_DGRAM ? "udp " : "", in ngx_stream_log_error()
|
| H A D | ngx_stream_proxy_module.c | 832 pc->type == SOCK_DGRAM ? "udp " : "", in ngx_stream_proxy_init_upstream() 1370 if (s->connection->type == SOCK_DGRAM) { in ngx_stream_proxy_process_connection() 1531 if (c->type == SOCK_DGRAM && (ngx_terminate || ngx_exiting)) { in ngx_stream_proxy_process() 1723 if (c->type == SOCK_DGRAM) { in ngx_stream_proxy_test_finalize() 1810 if (s->connection->type == SOCK_DGRAM) { in ngx_stream_proxy_next_upstream() 1892 if (pc && pc->type == SOCK_DGRAM in ngx_stream_proxy_finalize()
|
| /f-stack/freebsd/security/mac_portacl/ |
| H A D | mac_portacl.c | 399 if (type == SOCK_DGRAM && rule->r_protocol != RULE_PROTO_UDP) in rules_check() 454 if (so->so_type != SOCK_DGRAM && in socket_check_bind()
|
| /f-stack/tools/ifconfig/ |
| H A D | af_nd6.c | 179 if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in nd6_status()
|
| H A D | ifclone.c | 90 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in list_cloners()
|
| H A D | af_link.c | 108 if ((sock_hw = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) { in link_status()
|
| H A D | ifgroup.c | 145 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in printgroup()
|
| H A D | ifpfsync.c | 111 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in setpfsync_syncpeer()
|
| H A D | ifconfig.c | 810 sock = socket(AF_LOCAL, SOCK_DGRAM, 0); in group_member() 1017 if ((s = socket(ifr.ifr_addr.sa_family, SOCK_DGRAM, 0)) < 0 && in ifconfig() 1019 (s = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0)) in ifconfig() 1282 if ((s = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) in getifflags() 1498 s = socket(ifr.ifr_addr.sa_family, SOCK_DGRAM, 0);
|
| /f-stack/app/micro_thread/ |
| H A D | ff_hook.cpp | 39 if ((AF_INET != domain) || (SOCK_STREAM != type && SOCK_DGRAM != type)) { in ff_hook_socket()
|
| H A D | mt_notify.cpp | 77 int osfd = socket(AF_INET, SOCK_DGRAM, 0); in CreateSocket()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_usrreq.c | 169 static SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, 436 .pr_type = SOCK_DGRAM, 532 case SOCK_DGRAM: in uipc_attach() 569 case SOCK_DGRAM: in uipc_attach() 1008 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM || in uipc_send() 1022 case SOCK_DGRAM: in uipc_send() 1702 case SOCK_DGRAM: in unp_connect2() 1745 case SOCK_DGRAM: in unp_disconnect() 1810 case SOCK_DGRAM: in unp_pcblist() 1934 (void *)(intptr_t)SOCK_DGRAM, 0, unp_pcblist, "S,xunpcb",
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_proto.c | 154 .pr_type = SOCK_DGRAM, 209 .pr_type = SOCK_DGRAM,
|
| /f-stack/tools/netstat/ |
| H A D | unix.c | 226 case SOCK_DGRAM: in unixpr()
|
| H A D | inet6.c | 620 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { 1095 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
|
| /f-stack/dpdk/drivers/net/mvneta/ |
| H A D | mvneta_ethdev.c | 500 fd = socket(AF_INET, SOCK_DGRAM, 0); in mvneta_link_update() 805 int ret, fd = socket(AF_INET, SOCK_DGRAM, 0); in mvneta_eth_dev_create()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_connect.c | 149 if (pc->type == SOCK_DGRAM && port != 0) {
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_syslog.c | 325 fd = ngx_socket(peer->server.sockaddr->sa_family, SOCK_DGRAM, 0); in ngx_syslog_init_peer()
|