Defined in 3 files as a prototype:
Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 154 files:
- bin/date/netdate.c, line 151
- crypto/dist/ipsec-tools/src/libipsec/pfkey.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/ipc/server.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.c, line 143
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.h, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/syslogc.c, line 230
- 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, 3 times
- crypto/external/bsd/openssh/dist/servconf.c, line 494
- crypto/external/bsd/openssh/dist/ssh.c, 2 times
- crypto/external/bsd/openssh/dist/sshconnect.c, line 299
- crypto/external/bsd/openssh/dist/sshd.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, line 217
- crypto/external/bsd/openssl.old/dist/crypto/bio/bss_dgram.c, 19 times
- crypto/external/bsd/openssl/dist/crypto/bio/bio_sock.c, line 115
- crypto/external/bsd/openssl/dist/crypto/bio/bio_sock2.c, line 233
- crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c, 19 times
- external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c, 2 times
- external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c, 5 times
- external/bsd/blocklist/bin/conf.c, line 1062
- external/bsd/dhcpcd/dist/src/dhcpcd.c, line 1185
- external/bsd/dhcpcd/dist/src/privsep.c, line 198
- external/bsd/iscsi/dist/src/lib/util.c, line 541
- external/bsd/libbind/dist/isc/ev_connects.c, line 347
- external/bsd/libevent/dist/evutil.c, 2 times
- external/bsd/libevent/dist/http.c, line 1605
- external/bsd/libpcap/dist/pcap-linux.c, 9 times
- external/bsd/libpcap/dist/pcap-rpcap.c, line 1261
- external/bsd/nsd/dist/nsd-control.c, line 339
- external/bsd/nsd/dist/xfrd-tcp.c, line 1163
- external/bsd/ntp/dist/lib/isc/unix/socket.c, 2 times
- external/bsd/ntp/dist/lib/isc/win32/socket.c, line 1792
- external/bsd/ntp/dist/ntpd/refclock_gpsdjson.c, line 2004
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/http.c, line 1471
- external/bsd/openldap/dist/libraries/libldap/os-ip.c, 2 times
- external/bsd/openldap/dist/libraries/libldap/os-local.c, line 122
- external/bsd/openldap/dist/libraries/liblutil/getpeereid.c, 2 times
- external/bsd/openldap/dist/servers/lloadd/backend.c, line 58
- external/bsd/openldap/dist/servers/lloadd/daemon.c, 4 times
- external/bsd/openldap/dist/servers/slapd/daemon.c, 4 times
- external/bsd/ppp/dist/pppd/plugins/pppol2tp/pppol2tp.c, line 146
- external/bsd/tmux/dist/compat/getpeereid.c, line 35
- external/bsd/unbound/dist/dnstap/dtstream.c, line 712
- external/bsd/unbound/dist/services/listen_dnsport.c, 2 times
- external/bsd/unbound/dist/smallapp/unbound-control.c, line 696
- external/bsd/unbound/dist/util/netevent.c, 2 times
- external/bsd/unbound/dist/util/winsock_event.c, 2 times
- external/bsd/wpa/dist/wpa_supplicant/ctrl_iface_unix.c, 2 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-tdep.c, line 1268
- external/gpl3/gdb.old/dist/gdb/ser-tcp.c, line 252
- external/gpl3/gdb.old/dist/gnulib/import/sys_socket.in.h, 10 times
- external/gpl3/gdb.old/dist/gnulib/import/sys_time.in.h, 3 times
- external/gpl3/gdb.old/dist/gnulib/import/unistd.in.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1268
- external/gpl3/gdb/dist/gdb/ser-tcp.c, line 252
- external/gpl3/gdb/dist/gnulib/import/sys_socket.in.h, 10 times
- external/gpl3/gdb/dist/gnulib/import/sys_time.in.h, 3 times
- external/gpl3/gdb/dist/gnulib/import/unistd.in.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 3 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 3 times
- external/ibm-public/postfix/dist/src/smtp/smtp_proto.c, line 723
- external/ibm-public/postfix/dist/src/smtpstone/qmqp-source.c, line 205
- external/ibm-public/postfix/dist/src/smtpstone/smtp-source.c, line 287
- external/ibm-public/postfix/dist/src/util/timed_connect.c, line 102
- external/ibm-public/postfix/dist/src/util/vstream_tweak.c, line 115
- external/mit/libuv/dist/src/unix/core.c, line 214
- external/mit/libuv/dist/src/unix/stream.c, line 1326
- external/mit/libuv/dist/src/unix/tty.c, line 412
- external/mit/libuv/dist/src/win/core.c, line 717
- external/mit/libuv/dist/src/win/poll.c, line 454
- external/mit/libuv/dist/src/win/tcp.c, line 1518
- external/mit/libuv/dist/src/win/udp.c, 2 times
- external/mit/libuv/dist/src/win/winsock.c, 2 times
- external/mpl/bind/dist/bin/tests/system/feature-test.c, line 171
- external/mpl/bind/dist/lib/isc/unix/socket.c, 5 times
- external/mpl/bind/dist/lib/isc/win32/socket.c, line 1684
- external/mpl/dhcp/dist/omapip/connection.c, line 646
- lib/libbluetooth/bt_dev.c, 2 times
- lib/libbluetooth/sdp_session.c, line 87
- lib/libc/net/getpeereid.c, line 60
- lib/libc/rpc/bindresvport.c, line 134
- lib/libc/rpc/rpc_generic.c, line 525
- lib/librumphijack/hijack.c, line 2512
- lib/libwrap/fix_options.c, line 76
- libexec/rlogind/rlogind.c, line 361
- libexec/rshd/rshd.c, line 322
- sys/compat/linux32/common/linux32_socketcall.c, line 82
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/kern/uipc_syscalls.c, 2 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 1548
- tests/kernel/kqueue/t_empty.c, line 76
- tests/net/net/t_unix.c, line 158
- usr.bin/ftp/util.c, 3 times
- usr.bin/nc/netcat.c, line 984
- usr.sbin/bta2dpd/bta2dpd/bta2dpd.c, line 828
- usr.sbin/btpand/client.c, 4 times
- usr.sbin/btpand/server.c, 5 times
- usr.sbin/ldpd/ldp_command.c, line 442
- usr.sbin/ldpd/socketops.c, line 970
- usr.sbin/mrouted/kern.c, line 219
- usr.sbin/perfused/perfused.c, line 453
- usr.sbin/sdpd/server.c, line 383
- usr.sbin/syslogd/syslogd.c, line 703