Defined in 1 files as a macro:
Referenced in 274 files:
- bin/date/netdate.c, line 151
- crypto/dist/ipsec-tools/src/libipsec/pfkey.c, 7 times
- crypto/dist/ipsec-tools/src/racoon/isakmp.c, line 1705
- crypto/dist/ipsec-tools/src/racoon/privsep.c, line 1614
- crypto/dist/ipsec-tools/src/racoon/sockmisc.c, line 533
- crypto/dist/ipsec-tools/src/setkey/setkey.c, 2 times
- crypto/external/bsd/heimdal/dist/kdc/connect.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/ipc/server.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_master.c, line 98
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_slave.c, line 101
- crypto/external/bsd/heimdal/dist/lib/roken/socket.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/syslogc.c, line 230
- crypto/external/bsd/netpgp/dist/src/hkpd/hkpd.c, 2 times
- crypto/external/bsd/openssh/dist/channels.c, 2 times
- crypto/external/bsd/openssh/dist/getpeereid.c, line 40
- crypto/external/bsd/openssh/dist/misc.c, 4 times
- crypto/external/bsd/openssh/dist/monitor.c, 2 times
- crypto/external/bsd/openssh/dist/monitor_fdpass.c, line 69
- crypto/external/bsd/openssh/dist/servconf.c, line 494
- crypto/external/bsd/openssh/dist/ssh.c, 3 times
- crypto/external/bsd/openssh/dist/sshconnect.c, 3 times
- crypto/external/bsd/openssh/dist/sshd.c, 2 times
- crypto/external/bsd/openssl.old/dist/apps/s_time.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/bio/b_sock.c, line 99
- crypto/external/bsd/openssl.old/dist/crypto/bio/b_sock2.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/bio/bss_dgram.c, 15 times
- crypto/external/bsd/openssl/dist/apps/s_time.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/bio/bio_sock.c, line 115
- crypto/external/bsd/openssl/dist/crypto/bio/bio_sock2.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c, 15 times
- crypto/external/cpl/trousers/dist/src/tcsd/svrside.c, 2 times
- dist/pf/sbin/pflogd/privsep_fdpass.c, line 67
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, 3 times
- external/apache2/llvm/dist/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp, line 78
- external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c, 3 times
- external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c, 8 times
- external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c, 4 times
- external/bsd/blocklist/bin/conf.c, line 1062
- external/bsd/blocklist/lib/bl.c, 4 times
- external/bsd/dhcpcd/dist/src/dhcp.c, 2 times
- external/bsd/dhcpcd/dist/src/dhcp6.c, 2 times
- external/bsd/dhcpcd/dist/src/dhcpcd.c, 2 times
- external/bsd/dhcpcd/dist/src/if-bsd.c, 2 times
- external/bsd/dhcpcd/dist/src/ipv6nd.c, line 234
- external/bsd/dhcpcd/dist/src/privsep-root.c, 4 times
- external/bsd/dhcpcd/dist/src/privsep.c, 2 times
- external/bsd/ipf/dist/l4check/l4check.c, line 295
- external/bsd/ipf/dist/tools/ipsyncs.c, line 130
- external/bsd/iscsi/dist/src/lib/util.c, line 638
- external/bsd/libbind/dist/isc/ctl_clnt.c, line 190
- external/bsd/libbind/dist/isc/ctl_srvr.c, line 234
- external/bsd/libbind/dist/isc/ev_connects.c, line 347
- external/bsd/libbind/dist/resolv/res_send.c, line 662
- external/bsd/libevent/dist/bufferevent_async.c, line 449
- external/bsd/libevent/dist/evdns.c, 2 times
- external/bsd/libevent/dist/evutil.c, 4 times
- external/bsd/libevent/dist/http.c, 2 times
- external/bsd/libevent/dist/listener.c, 3 times
- external/bsd/libevent/dist/test/bench_httpclient.c, 2 times
- external/bsd/libpcap/dist/pcap-bt-linux.c, line 297
- external/bsd/libpcap/dist/pcap-bt-monitor-linux.c, 2 times
- external/bsd/libpcap/dist/pcap-linux.c, 9 times
- external/bsd/libpcap/dist/pcap-netfilter-linux.c, line 679
- external/bsd/libpcap/dist/pcap-rpcap-unix.c, line 715
- external/bsd/libpcap/dist/pcap-rpcap.c, 2 times
- external/bsd/libpcap/dist/pcap-snoop.c, line 250
- external/bsd/libpcap/dist/sockutils.c, 2 times
- external/bsd/libpcap/dist/testprogs/valgrindtest.c, 2 times
- external/bsd/mdocml/dist/mandocd.c, line 102
- external/bsd/nsd/dist/dnstap/dnstap_collector.c, 2 times
- external/bsd/nsd/dist/nsd-control.c, line 339
- external/bsd/nsd/dist/remote.c, line 372
- external/bsd/nsd/dist/server.c, 9 times
- external/bsd/nsd/dist/xfrd-tcp.c, line 1163
- external/bsd/nsd/dist/xfrd.c, 2 times
- external/bsd/ntp/dist/lib/isc/unix/socket.c, 9 times
- external/bsd/ntp/dist/lib/isc/win32/socket.c, 5 times
- external/bsd/ntp/dist/ntpd/ntp_io.c, 11 times
- external/bsd/ntp/dist/ntpd/refclock_gpsdjson.c, line 2004
- external/bsd/ntp/dist/ntpdate/ntpdate.c, line 1759
- external/bsd/ntp/dist/ntpdc/ntpdc.c, 2 times
- external/bsd/ntp/dist/ntpq/ntpq.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/bufferevent_async.c, line 426
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 4 times
- external/bsd/ntp/dist/sntp/libevent/http.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/listener.c, 3 times
- external/bsd/ntp/dist/sntp/libevent/test/bench_httpclient.c, 2 times
- external/bsd/nvi/dist/ipc/ipc_method.c, line 108
- external/bsd/openldap/dist/libraries/libldap/os-ip.c, 3 times
- external/bsd/openldap/dist/libraries/libldap/os-local.c, 2 times
- external/bsd/openldap/dist/libraries/liblutil/getpeereid.c, 3 times
- external/bsd/openldap/dist/servers/lloadd/backend.c, 2 times
- external/bsd/openldap/dist/servers/lloadd/daemon.c, 8 times
- external/bsd/openldap/dist/servers/slapd/daemon.c, 8 times
- external/bsd/ppp/dist/pppd/plugins/pppoe/if.c, line 124
- external/bsd/ppp/dist/pppd/plugins/pppoe/pppoe-discovery.c, line 138
- external/bsd/tmux/dist/compat/getpeereid.c, line 35
- external/bsd/tmux/dist/compat/imsg-buffer.c, line 259
- external/bsd/tmux/dist/compat/imsg.c, line 92
- external/bsd/unbound/dist/dnstap/dtstream.c, line 712
- external/bsd/unbound/dist/dnstap/unbound-dnstap-socket.c, line 285
- external/bsd/unbound/dist/services/listen_dnsport.c, 13 times
- external/bsd/unbound/dist/services/outside_network.c, line 295
- external/bsd/unbound/dist/smallapp/unbound-control.c, line 696
- external/bsd/unbound/dist/testcode/delayer.c, line 1030
- external/bsd/unbound/dist/testcode/petal.c, line 291
- external/bsd/unbound/dist/util/netevent.c, 2 times
- external/bsd/unbound/dist/util/winsock_event.c, 2 times
- external/bsd/wpa/dist/src/ap/iapp.c, line 448
- external/bsd/wpa/dist/src/common/dpp.c, line 10008
- external/bsd/wpa/dist/src/drivers/driver_nl80211.c, 2 times
- external/bsd/wpa/dist/src/drivers/driver_nl80211_monitor.c, 2 times
- external/bsd/wpa/dist/src/drivers/driver_wired.c, 3 times
- external/bsd/wpa/dist/src/l2_packet/l2_packet_linux.c, 2 times
- external/bsd/wpa/dist/src/wps/http_server.c, line 247
- external/bsd/wpa/dist/src/wps/wps_upnp_ssdp.c, 2 times
- external/bsd/wpa/dist/wpa_supplicant/ctrl_iface_unix.c, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/tcp-comms.c, 3 times
- external/gpl2/xcvs/dist/src/server.c, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_platform_linux.cc, line 324
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_platform_linux.cc, line 324
- external/gpl3/gdb.old/dist/gdb/nat/linux-namespaces.c, 2 times
- external/gpl3/gdb.old/dist/gdb/ser-tcp.c, line 252
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.reverse/recvmsg-reverse.c, line 89
- external/gpl3/gdb.old/dist/gdbserver/gdbreplay.cc, 2 times
- external/gpl3/gdb.old/dist/gdbserver/remote-utils.cc, 2 times
- external/gpl3/gdb.old/dist/sim/common/dv-sockser.c, line 183
- external/gpl3/gdb.old/dist/sim/cris/rvdummy.c, line 122
- external/gpl3/gdb/dist/gdb/nat/linux-namespaces.c, 2 times
- external/gpl3/gdb/dist/gdb/ser-tcp.c, line 252
- external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/recvmsg-reverse.c, line 89
- external/gpl3/gdb/dist/gdbserver/gdbreplay.cc, 2 times
- external/gpl3/gdb/dist/gdbserver/remote-utils.cc, 2 times
- external/gpl3/gdb/dist/sim/common/dv-sockser.c, line 183
- external/gpl3/gdb/dist/sim/cris/rvdummy.c, line 122
- external/ibm-public/postfix/dist/src/smtp/smtp_proto.c, 2 times
- external/ibm-public/postfix/dist/src/smtpstone/qmqp-source.c, 2 times
- external/ibm-public/postfix/dist/src/smtpstone/smtp-source.c, 2 times
- external/ibm-public/postfix/dist/src/util/inet_listen.c, 3 times
- external/ibm-public/postfix/dist/src/util/inet_windowsize.c, 2 times
- external/ibm-public/postfix/dist/src/util/sane_accept.c, line 123
- external/ibm-public/postfix/dist/src/util/sane_connect.c, line 63
- external/ibm-public/postfix/dist/src/util/timed_connect.c, line 102
- external/ibm-public/postfix/dist/src/util/unix_recv_fd.c, line 110
- external/ibm-public/postfix/dist/src/util/unix_send_fd.c, line 88
- external/mit/libuv/dist/src/unix/core.c, 3 times
- external/mit/libuv/dist/src/unix/stream.c, 3 times
- external/mit/libuv/dist/src/unix/tcp.c, 3 times
- external/mit/libuv/dist/src/unix/tty.c, line 412
- external/mit/libuv/dist/src/unix/udp.c, 5 times
- external/mit/libuv/dist/src/win/core.c, 2 times
- external/mit/libuv/dist/src/win/poll.c, line 455
- external/mit/libuv/dist/src/win/tcp.c, 6 times
- external/mit/libuv/dist/src/win/udp.c, 4 times
- external/mit/libuv/dist/src/win/winsock.c, 2 times
- external/mit/libuv/dist/test/test-pipe-sendmsg.c, line 136
- external/mit/libuv/dist/test/test-poll.c, line 118
- external/mit/libuv/dist/test/test-tcp-open.c, line 68
- external/mit/libuv/dist/test/test-udp-open.c, line 63
- external/mpl/bind/dist/bin/named/fuzz.c, line 692
- external/mpl/bind/dist/lib/isc/netmgr/netmgr.c, 6 times
- external/mpl/bind/dist/lib/isc/netmgr/uv-compat.c, line 58
- external/mpl/bind/dist/lib/isc/unix/socket.c, 19 times
- external/mpl/bind/dist/lib/isc/win32/socket.c, 5 times
- external/mpl/dhcp/dist/common/dhcp4o6.c, line 82
- external/mpl/dhcp/dist/common/icmp.c, line 109
- external/mpl/dhcp/dist/common/lpf.c, 2 times
- external/mpl/dhcp/dist/common/raw.c, line 76
- external/mpl/dhcp/dist/common/socket.c, 4 times
- external/mpl/dhcp/dist/omapip/connection.c, 3 times
- external/mpl/dhcp/dist/omapip/listener.c, line 144
- games/hunt/hunt/hunt.c, line 302
- games/hunt/hunt/server.c, line 246
- lib/libbluetooth/bt_dev.c, line 176
- lib/libbluetooth/sdp_session.c, line 68
- lib/libc/resolv/res_send.c, line 735
- lib/libc/rpc/clnt_bcast.c, line 240
- lib/libc/rpc/rpc_generic.c, line 525
- lib/libc/rpc/svc_vc.c, line 507
- lib/libperfuse/perfuse.c, 6 times
- lib/librumphijack/hijack.c, line 1696
- lib/libwrap/options.c, 2 times
- libexec/ftpd/ftpd.c, 9 times
- libexec/httpd/daemon-bozo.c, line 157
- libexec/identd/identd.c, line 616
- libexec/rlogind/rlogind.c, line 217
- libexec/rshd/rshd.c, 2 times
- libexec/telnetd/telnetd.c, 3 times
- libexec/tftpd/tftpd.c, 3 times
- regress/sys/kern/unfdpass/unfdpass.c, 2 times
- sbin/dump/dumprmt.c, 2 times
- sbin/mount_portal/activate.c, line 147
- sbin/mount_portal/puffs_portal.c, line 296
- sbin/ping/ping.c, 6 times
- sbin/ping6/ping6.c, 4 times
- sbin/route/route.c, line 215
- sbin/routed/main.c, 5 times
- sbin/routed/rtquery/rtquery.c, line 296
- sys/compat/common/kern_uipc_socket_50.c, line 224
- sys/compat/common/uipc_syscalls_43.c, 2 times
- sys/compat/common/uipc_usrreq_70.c, line 58
- sys/compat/linux/common/linux_socket.c, 8 times
- sys/compat/netbsd32/netbsd32_compat_43.c, line 471
- sys/compat/netbsd32/netbsd32_socket.c, line 96
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, line 1271
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_linux.cc, line 326
- sys/external/bsd/libnv/dist/msgio.c, 4 times
- sys/fs/nfs/common/bootp_subr.c, 3 times
- sys/fs/nfs/common/krpc_subr.c, line 226
- sys/kern/uipc_socket.c, 3 times
- sys/kern/uipc_syscalls.c, 2 times
- sys/kern/uipc_usrreq.c, 3 times
- sys/net/if_gre.c, line 480
- sys/netbt/hci_socket.c, line 892
- sys/netinet/ip_output.c, line 1094
- sys/netinet/raw_ip.c, line 412
- sys/netinet6/raw_ip6.c, line 541
- sys/nfs/nfs_boot.c, 2 times
- sys/nfs/nfs_bootdhcp.c, line 539
- sys/nfs/nfs_socket.c, line 301
- sys/nfs/nfs_syscalls.c, line 547
- sys/rump/net/lib/libsockin/sockin.c, 2 times
- sys/rump/net/lib/libsockin/sockin_user.c, line 148
- tests/include/sys/t_socket.c, 2 times
- tests/kernel/kqueue/t_empty.c, 3 times
- tests/lib/libc/net/h_dns_server.c, line 199
- tests/lib/libc/sys/t_kevent.c, line 121
- tests/lib/libc/sys/t_mmap.c, 2 times
- tests/lib/libc/sys/t_sendmmsg.c, line 75
- tests/lib/libc/sys/t_sendrecv.c, line 124
- tests/net/bpfilter/t_bpfilter.c, line 180
- tests/net/config/netconfig.c, line 207
- tests/net/fdpass/fdpass.c, line 69
- tests/net/icmp/t_ping.c, 2 times
- tests/net/inpcb/inpcb_bind.c, 2 times
- tests/net/net/t_socket_afinet.c, 2 times
- tests/net/net/t_unix.c, line 148
- tests/net/tcp/t_tcp_connect_port.c, line 247
- tests/net/tcp/tcp_shutdown.c, line 91
- tests/rump/rumpkern/h_client/h_stresscli.c, line 69
- tests/usr.sbin/inetd/t_inetd.c, line 256
- usr.bin/ftp/ftp.c, 5 times
- usr.bin/ftp/ssl.c, line 271
- usr.bin/ftp/util.c, 5 times
- usr.bin/nc/netcat.c, 7 times
- usr.bin/rfcomm_sppd/rfcomm_sppd.c, 2 times
- usr.bin/rlogin/rlogin.c, line 275
- usr.bin/rsh/rsh.c, 2 times
- usr.bin/telnet/commands.c, 2 times
- usr.bin/telnet/sys_bsd.c, line 534
- usr.bin/tftp/main.c, 2 times
- usr.sbin/btpand/client.c, 5 times
- usr.sbin/btpand/server.c, 5 times
- usr.sbin/faithd/faithd.c, 6 times
- usr.sbin/ifwatchd/ifwatchd.c, line 202
- usr.sbin/inetd/inetd.c, 4 times
- usr.sbin/ldpd/mpls_routes.c, 2 times
- usr.sbin/ldpd/socketops.c, 3 times
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/mrouted/kern.c, line 18
- usr.sbin/nfsd/nfsd.c, 2 times
- usr.sbin/perfused/msg.c, 2 times
- usr.sbin/perfused/perfused.c, line 453
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 103
- usr.sbin/rmt/rmt.c, line 236
- usr.sbin/rwhod/rwhod.c, line 203
- usr.sbin/sdpd/server.c, line 459
- usr.sbin/syslogd/syslogd.c, 2 times
- usr.sbin/syslogd/tls.c, 2 times
- usr.sbin/timed/timed/timed.c, line 232
- usr.sbin/traceroute/traceroute.c, 4 times
- usr.sbin/traceroute6/traceroute6.c, 5 times
- usr.sbin/ypbind/ypbind.c, line 998