/openbsd/regress/sys/kern/pledge/sockopt/ |
H A D | Makefile | 12 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 D | backend.c | 50 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 D | cmsgsize.c | 55 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 D | bind.c | 26 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 D | dup2_race.c | 65 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 D | bcast.pl | 51 Type => SOCK_DGRAM, 60 Type => SOCK_DGRAM,
|
/openbsd/regress/lib/libpthread/blocked_dup2/ |
H A D | blocked_dup2.c | 80 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 D | runtest.c | 63 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 D | undgram_conclose.c | 74 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 D | carp.c | 110 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 D | carp.c | 110 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 D | carp.c | 110 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 D | carp.c | 111 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 D | carp.c | 111 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 D | ruserok.c | 65 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 D | config.c | 66 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 D | pf.c | 173 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 D | udpsock.c | 61 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 D | allowedhost.c | 147 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in checkhost() 199 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in gethostloop()
|
/openbsd/usr.sbin/sasyncd/ |
H A D | carp.c | 89 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 D | pf-snit.c | 243 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 D | logflush.c | 46 if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1) in main()
|
/openbsd/sys/kern/ |
H A D | uipc_proto.c | 61 .pr_type = SOCK_DGRAM,
|
/openbsd/regress/sys/kern/pledge/execpromise/ |
H A D | execpromise.c | 57 s = socket(AF_INET, SOCK_DGRAM, 0); in main()
|
/openbsd/regress/sys/netinet/recvmsg/ |
H A D | recvmsg.c | 52 type = SOCK_DGRAM; in main()
|