Home
last modified time | relevance | path

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

12345678

/dragonfly/usr.sbin/ypserv/
H A Dyp_dnslookup.c135 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 Dyp_main.c92 { "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 Ddriver_wired_common.c38 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 Dudp_sendsrcaddr.c93 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 Duipc_proto.c67 .pr_type = SOCK_DGRAM,
98 SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW, 0, "SOCK_DGRAM");
/dragonfly/test/unix/unconn_dgram/
H A Dunconn_dgram.c20 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 Dsock.c75 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 Dip6addrctl.c318 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 Dnfsd.c203 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 Drtime.c81 type = SOCK_DGRAM; in rtime()
96 if (type == SOCK_DGRAM) { in rtime()
/dragonfly/lib/libnetgraph7/
H A Dsock.c75 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 Dpcap-haiku.cpp127 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 Dudp_bindconnfail.c65 s1 = socket(AF_INET, SOCK_DGRAM, 0); in main()
78 s2 = socket(AF_INET, SOCK_DGRAM, 0); in main()
/dragonfly/libexec/bootpd/
H A Dgetether.c50 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 Dmount_nfs.c147 {"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 Dbuiltins.c77 { "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 Drip6query.c109 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 Dndp.c774 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 Dwpa_ctrl.c111 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 Dypupdated_main.c102 if (_rpcfdtype == SOCK_DGRAM) in closedown()
238 if ((_rpcfdtype == 0) || (_rpcfdtype == SOCK_DGRAM)) { in main()
/dragonfly/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c104 if (_rpcfdtype == SOCK_DGRAM) in closedown()
256 if ((_rpcfdtype == 0) || (_rpcfdtype == SOCK_DGRAM)) { in main()
/dragonfly/sbin/nos-tun/
H A Dnos-tun.c132 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 Dprobe.c60 if ((s = ID0socket(PF_INET6, SOCK_DGRAM, 0)) == -1) in ipv6_available()
/dragonfly/test/testcases/io/select_3/
H A Dselect_3.c20 if ((fd[i] = socket(PF_INET, SOCK_DGRAM, 0)) == -1) in main()
/dragonfly/contrib/wpa_supplicant/src/l2_packet/
H A Dl2_packet_linux.c289 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()

12345678