/dragonfly/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 135 if ((resfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in yp_init_resolver() 293 if (q->prot_type == SOCK_DGRAM) in yp_send_dns_reply() 305 if (q->prot_type == SOCK_DGRAM) in yp_send_dns_reply() 429 if (type == SOCK_DGRAM && in yp_async_lookup_name() 441 if (q->prot_type == SOCK_DGRAM) in yp_async_lookup_name() 487 if (type == SOCK_DGRAM && in yp_async_lookup_addr() 527 if (q->prot_type == SOCK_DGRAM) in yp_async_lookup_addr()
|
H A D | yp_main.c | 92 { "udp", SOCK_DGRAM }, 211 if (_rpcfdtype == SOCK_DGRAM) { in closedown() 333 if ((_rpcfdtype == 0) || (_rpcfdtype == SOCK_DGRAM)) { in main()
|
/dragonfly/contrib/wpa_supplicant/src/drivers/ |
H A D | driver_wired_common.c | 38 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_get_ifflags() 63 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_set_ifflags() 92 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_multi() 196 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_get_ifstatus() 228 common->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in driver_wired_init_common()
|
/dragonfly/test/udp/sendsrcaddr/ |
H A D | udp_sendsrcaddr.c | 93 s = socket(AF_INET, SOCK_DGRAM, 0); in main() 113 s2 = socket(AF_INET, SOCK_DGRAM, 0); in main() 162 s2 = socket(AF_INET, SOCK_DGRAM, 0); in main()
|
/dragonfly/sys/kern/ |
H A D | uipc_proto.c | 67 .pr_type = SOCK_DGRAM, 98 SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW, 0, "SOCK_DGRAM");
|
/dragonfly/test/unix/unconn_dgram/ |
H A D | unconn_dgram.c | 20 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in test_send_unconn_dgram() 44 s = socket(AF_LOCAL, SOCK_DGRAM, 0); in main()
|
/dragonfly/lib/libnetgraph/ |
H A D | sock.c | 75 if ((cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL)) < 0) { in NgMkSockNode() 83 cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL); in NgMkSockNode() 142 if ((ds = socket(AF_NETGRAPH, SOCK_DGRAM, NG_DATA)) < 0) { in NgMkSockNode()
|
/dragonfly/usr.sbin/ip6addrctl/ |
H A D | ip6addrctl.c | 318 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in set_policy() 402 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in add_policy() 421 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in delete_policy() 435 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in flush_policy()
|
/dragonfly/sbin/nfsd/ |
H A D | nfsd.c | 203 s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in main() 247 hints.ai_socktype = SOCK_DGRAM; in main() 266 hints.ai_socktype = SOCK_DGRAM; in main() 358 hints.ai_socktype = SOCK_DGRAM; in main() 392 hints.ai_socktype = SOCK_DGRAM; in main() 419 hints.ai_socktype = SOCK_DGRAM; in main() 461 hints.ai_socktype = SOCK_DGRAM; in main()
|
/dragonfly/lib/libc/rpc/ |
H A D | rtime.c | 81 type = SOCK_DGRAM; in rtime() 96 if (type == SOCK_DGRAM) { in rtime()
|
/dragonfly/lib/libnetgraph7/ |
H A D | sock.c | 75 if ((cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL)) < 0) { in NgMkSockNode() 83 cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL); in NgMkSockNode() 142 if ((ds = socket(AF_NETGRAPH, SOCK_DGRAM, NG_DATA)) < 0) { in NgMkSockNode()
|
/dragonfly/contrib/libpcap/ |
H A D | pcap-haiku.cpp | 127 int socket = ::socket(AF_INET, SOCK_DGRAM, 0); in pcap_stats_haiku() 198 int socket = ::socket(AF_INET, SOCK_DGRAM, 0); in pcap_create_interface() 226 socket = ::socket(AF_LINK, SOCK_DGRAM, 0); in pcap_create_interface()
|
/dragonfly/test/udp/bindconnfail/ |
H A D | udp_bindconnfail.c | 65 s1 = socket(AF_INET, SOCK_DGRAM, 0); in main() 78 s2 = socket(AF_INET, SOCK_DGRAM, 0); in main()
|
/dragonfly/libexec/bootpd/ |
H A D | getether.c | 50 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { 135 fd = socket(AF_INET, SOCK_DGRAM, 0); in getether() 349 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
|
/dragonfly/sbin/mount_nfs/ |
H A D | mount_nfs.c | 147 {"udp", AF_INET, SOCK_DGRAM}, 149 {"udp6", AF_INET6, SOCK_DGRAM}, 259 nfsargsp->sotype = SOCK_DGRAM; in main() 341 nfsargsp->sotype = SOCK_DGRAM; in main() 424 nfsargsp->sotype = SOCK_DGRAM; in main() 666 if (nfsargsp->sotype == SOCK_DGRAM && in nfs_tryproto()
|
/dragonfly/usr.sbin/inetd/ |
H A D | builtins.c | 77 { "echo", SOCK_DGRAM, 0, 1, echo_dg }, 81 { "discard", SOCK_DGRAM, 0, 1, discard_dg }, 85 { "time", SOCK_DGRAM, 0, 1, machtime_dg }, 89 { "daytime", SOCK_DGRAM, 0, 1, daytime_dg }, 93 { "chargen", SOCK_DGRAM, 0, 1, chargen_dg },
|
/dragonfly/usr.sbin/rip6query/ |
H A D | rip6query.c | 109 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in main() 118 hints.ai_socktype = SOCK_DGRAM; in main()
|
/dragonfly/usr.sbin/ndp/ |
H A D | ndp.c | 774 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in getnbrinfo() 919 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in ifinfo() 1073 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in rtrlist() 1237 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in plist() 1412 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in pfx_flush() 1425 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in rtr_flush() 1440 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in harmonize_rtr() 1463 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in setdefif() 1481 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) in getdefif()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | wpa_ctrl.c | 111 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2() 177 SOCK_DGRAM) < 0) { in wpa_ctrl_open2() 198 SOCK_DGRAM) < 0) { in wpa_ctrl_open2() 322 ctrl->s = socket(PF_INET6, SOCK_DGRAM, 0); in wpa_ctrl_open() 324 ctrl->s = socket(PF_INET, SOCK_DGRAM, 0); in wpa_ctrl_open()
|
/dragonfly/usr.sbin/rpc.ypupdated/ |
H A D | ypupdated_main.c | 102 if (_rpcfdtype == SOCK_DGRAM) in closedown() 238 if ((_rpcfdtype == 0) || (_rpcfdtype == SOCK_DGRAM)) { in main()
|
/dragonfly/usr.sbin/rpc.ypxfrd/ |
H A D | ypxfrd_main.c | 104 if (_rpcfdtype == SOCK_DGRAM) in closedown() 256 if ((_rpcfdtype == 0) || (_rpcfdtype == SOCK_DGRAM)) { in main()
|
/dragonfly/sbin/nos-tun/ |
H A D | nos-tun.c | 132 s = socket(AF_INET, SOCK_DGRAM, 0); in tun_open() 202 s = socket(AF_INET, SOCK_DGRAM, 0); in Finish()
|
/dragonfly/usr.sbin/ppp/ |
H A D | probe.c | 60 if ((s = ID0socket(PF_INET6, SOCK_DGRAM, 0)) == -1) in ipv6_available()
|
/dragonfly/test/testcases/io/select_3/ |
H A D | select_3.c | 20 if ((fd[i] = socket(PF_INET, SOCK_DGRAM, 0)) == -1) in main()
|
/dragonfly/contrib/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_linux.c | 289 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init() 380 l2->fd_br_rx = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init_bridge() 448 s = socket(PF_INET, SOCK_DGRAM, 0); in l2_packet_get_ip_addr()
|