Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 25 of 67) sorted by relevance

123

/f-stack/tools/libnetgraph/
H A Dsock.c76 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 Dsocket.c45 if ((fd = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) { in main()
/f-stack/tools/compat/
H A Dif_nametoindex.c83 s = _socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in if_nametoindex()
/f-stack/freebsd/security/audit/
H A Dbsm_socket_type.c51 { BSM_SOCK_DGRAM, SOCK_DGRAM },
/f-stack/freebsd/netinet/
H A Din_proto.c121 .pr_type = SOCK_DGRAM,
170 .pr_type = SOCK_DGRAM,
/f-stack/tools/ndp/
H A Dndp.c856 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 Dff_veth.c399 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 Dngx_stream_handler.c146 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 Dngx_stream_proxy_module.c832 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 Dmac_portacl.c399 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 Daf_nd6.c179 if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in nd6_status()
H A Difclone.c90 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in list_cloners()
H A Daf_link.c108 if ((sock_hw = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) { in link_status()
H A Difgroup.c145 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in printgroup()
H A Difpfsync.c111 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in setpfsync_syncpeer()
H A Difconfig.c810 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 Dff_hook.cpp39 if ((AF_INET != domain) || (SOCK_STREAM != type && SOCK_DGRAM != type)) { in ff_hook_socket()
H A Dmt_notify.cpp77 int osfd = socket(AF_INET, SOCK_DGRAM, 0); in CreateSocket()
/f-stack/freebsd/kern/
H A Duipc_usrreq.c169 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 Din6_proto.c154 .pr_type = SOCK_DGRAM,
209 .pr_type = SOCK_DGRAM,
/f-stack/tools/netstat/
H A Dunix.c226 case SOCK_DGRAM: in unixpr()
H A Dinet6.c620 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 Dmvneta_ethdev.c500 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 Dngx_event_connect.c149 if (pc->type == SOCK_DGRAM && port != 0) {
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_syslog.c325 fd = ngx_socket(peer->server.sockaddr->sa_family, SOCK_DGRAM, 0); in ngx_syslog_init_peer()

123