Home
last modified time | relevance | path

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

1234567891011

/openbsd/regress/sys/kern/pledge/sockopt/
H A DMakefile12 inet AF_INET SOCK_DGRAM IPPROTO_UDP set SOL_SOCKET SO_RCVBUF 10000 0 0 \
18 inet AF_INET SOCK_DGRAM IPPROTO_UDP get IPPROTO_IP IP_OPTIONS 0 0 0 \
19 inet AF_INET SOCK_DGRAM IPPROTO_UDP set IPPROTO_IP IP_OPTIONS 1 1 inet \
20 inet AF_INET SOCK_DGRAM IPPROTO_UDP get IPPROTO_IP IP_TOS 0 0 0 \
21 inet AF_INET SOCK_DGRAM IPPROTO_UDP set IPPROTO_IP IP_TOS 1 0 0 \
22 0 AF_INET SOCK_DGRAM IPPROTO_UDP set IPPROTO_IP IP_MULTICAST_IF 1 49 0 \
23 inet AF_INET SOCK_DGRAM IPPROTO_UDP set IPPROTO_IP IP_MULTICAST_IF 1 1 inet \
27 inet AF_INET SOCK_DGRAM IPPROTO_UDP get IPPROTO_ICMP 0 0 1 inet \
28 inet AF_INET6 SOCK_DGRAM IPPROTO_UDP set IPPROTO_ICMPV6 0 0 1 inet \
29 inet AF_INET6 SOCK_DGRAM IPPROTO_UDP get IPPROTO_IPV6 IPV6_TCLASS 0 0 0 \
[all …]
/openbsd/regress/usr.sbin/snmpd/
H A Dbackend.c50 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_integer()
88 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_octetstring()
125 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_objectidentifier()
163 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_ipaddress()
200 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_counter32()
237 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_gauge32()
274 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_timeticks()
313 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_opaque()
359 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_counter64()
395 snmp_s = snmp_connect(SOCK_DGRAM, sa, salen); in backend_get_nosuchobject()
[all …]
/openbsd/regress/sys/kern/cmsgsize/
H A Dcmsgsize.c55 so = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in main()
67 so = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
79 so = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in main()
89 so = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
/openbsd/regress/sys/kern/bind/
H A Dbind.c26 if ((fd1 = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) in main()
36 if ((fd2 = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) in main()
/openbsd/regress/lib/libpthread/dup2_race/
H A Ddup2_race.c65 CHECKe(fd = socket(AF_INET, SOCK_DGRAM, 0)); in main()
68 CHECKe(newfd = socket(AF_INET, SOCK_DGRAM, 0)); in main()
/openbsd/regress/sys/kern/sosplice/loop/
H A Dbcast.pl51 Type => SOCK_DGRAM,
60 Type => SOCK_DGRAM,
/openbsd/regress/lib/libpthread/blocked_dup2/
H A Dblocked_dup2.c80 CHECKe(fd = socket(AF_INET, SOCK_DGRAM, 0)); in main()
83 CHECKe(newfd = socket(AF_INET, SOCK_DGRAM, 0)); in main()
/openbsd/regress/sys/netinet6/pktinfo_addr/
H A Druntest.c63 hints.ai_socktype = SOCK_DGRAM; in main()
145 s_con = socket(AF_INET6, SOCK_DGRAM, 0); in udp6_first()
177 s = socket(AF_INET6, SOCK_DGRAM, 0); in udp6_override()
/openbsd/regress/sys/kern/unixsockets/
H A Dundgram_conclose.c74 if ((s = socket(AF_UNIX, SOCK_DGRAM, 0)) < 0) in thr_close()
91 if ((s = socket(AF_UNIX, SOCK_DGRAM, 0)) < 0) in thr_conn()
/openbsd/usr.sbin/ospfd/
H A Dcarp.c110 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_get()
164 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_ioctl()
/openbsd/usr.sbin/ospf6d/
H A Dcarp.c110 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_get()
164 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_ioctl()
/openbsd/usr.sbin/ripd/
H A Dcarp.c110 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_get()
164 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_ioctl()
/openbsd/usr.sbin/bgpd/
H A Dcarp.c111 if ((s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) { in carp_demote_get()
165 if ((s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) { in carp_demote_ioctl()
/openbsd/usr.sbin/relayd/
H A Dcarp.c111 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_get()
196 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in carp_demote_ioctl()
/openbsd/lib/libc/net/
H A Druserok.c65 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in ruserok()
315 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __icheckhost()
368 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __gethostloop()
/openbsd/usr.sbin/ntpd/
H A Dconfig.c66 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in host_ip()
101 hints.ai_socktype = SOCK_DGRAM; /* DUMMY */ in host_dns1()
/openbsd/usr.sbin/mopd/common/
H A Dpf.c173 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in pfAddMulti()
206 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in pfDelMulti()
/openbsd/usr.sbin/dhcpd/
H A Dudpsock.c61 if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) in udpsock_startup()
140 if ((sockio = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in udpsock_handler()
/openbsd/usr.sbin/lpr/lpd/
H A Dallowedhost.c147 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in checkhost()
199 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in gethostloop()
/openbsd/usr.sbin/sasyncd/
H A Dcarp.c89 s = socket(AF_INET, SOCK_DGRAM, 0); in carp_get_state()
115 s = socket(AF_INET, SOCK_DGRAM, 0); in carp_demote()
/openbsd/usr.sbin/mopd/otherOS/
H A Dpf-snit.c243 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
279 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
/openbsd/regress/usr.sbin/syslogd/
H A Dlogflush.c46 if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1) in main()
/openbsd/sys/kern/
H A Duipc_proto.c61 .pr_type = SOCK_DGRAM,
/openbsd/regress/sys/kern/pledge/execpromise/
H A Dexecpromise.c57 s = socket(AF_INET, SOCK_DGRAM, 0); in main()
/openbsd/regress/sys/netinet/recvmsg/
H A Drecvmsg.c52 type = SOCK_DGRAM; in main()

1234567891011