Defined in 1 files as a macro:
Referenced in 251 files:
- contrib/apr/network_io/unix/sockets.c, line 412
- contrib/apr/network_io/unix/sockopt.c, 11 times
- contrib/bearssl/samples/server_basic.c, line 155
- contrib/bearssl/tools/server.c, line 120
- contrib/blacklist/bin/conf.c, line 1020
- contrib/blacklist/lib/bl.c, 4 times
- contrib/bsnmp/lib/snmpclient.c, 4 times
- contrib/bsnmp/snmpd/trans_inet.c, 2 times
- contrib/bsnmp/snmpd/trans_udp.c, line 330
- contrib/capsicum-test/capability-fd.cc, line 1060
- contrib/capsicum-test/linux.cc, line 666
- contrib/capsicum-test/procdesc.cc, line 954
- contrib/capsicum-test/socket.cc, 12 times
- contrib/gdb/gdb/gdbserver/gdbreplay.c, 2 times
- contrib/gdb/gdb/gdbserver/remote-utils.c, 2 times
- contrib/gdb/gdb/ser-tcp.c, line 168
- contrib/gdb/gdb/wince-stub.c, line 576
- contrib/gdb/gdb/wince.c, line 1690
- contrib/ipfilter/l4check/l4check.c, line 295
- contrib/ipfilter/tools/ipsyncs.c, line 130
- contrib/ldns/net.c, line 241
- contrib/lib9p/transport/socket.c, line 91
- contrib/libevent/bufferevent_async.c, line 424
- contrib/libevent/evutil.c, 4 times
- contrib/libevent/http.c, 2 times
- contrib/libevent/listener.c, 3 times
- contrib/libevent/test/bench_httpclient.c, 2 times
- contrib/libpcap/pcap-bt-linux.c, line 293
- contrib/libpcap/pcap-bt-monitor-linux.c, 2 times
- contrib/libpcap/pcap-linux.c, 9 times
- contrib/libpcap/pcap-netfilter-linux.c, line 674
- contrib/libpcap/pcap-rpcap.c, 2 times
- contrib/libpcap/pcap-snoop.c, line 245
- contrib/libpcap/sockutils.c, 2 times
- contrib/libpcap/testprogs/valgrindtest.c, 2 times
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp, line 339
- contrib/llvm-project/lldb/source/Host/common/TCPSocket.cpp, 2 times
- contrib/llvm-project/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 217
- contrib/mandoc/catman.c, line 96
- contrib/mandoc/mandocd.c, line 102
- contrib/netbsd-tests/include/sys/t_socket.c, 2 times
- contrib/netbsd-tests/lib/libc/net/h_dns_server.c, line 308
- contrib/netbsd-tests/lib/libc/sys/t_kevent.c, line 131
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 2 times
- contrib/netbsd-tests/net/bpfilter/t_bpfilter.c, line 180
- contrib/netbsd-tests/net/config/netconfig.c, line 203
- contrib/netbsd-tests/net/fdpass/fdpass.c, line 69
- contrib/netbsd-tests/net/icmp/t_ping.c, 2 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, line 69
- contrib/netcat/netcat.c, 8 times
- contrib/ntp/lib/isc/unix/socket.c, 9 times
- contrib/ntp/lib/isc/win32/socket.c, 5 times
- contrib/ntp/ntpd/ntp_io.c, 10 times
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 2002
- contrib/ntp/ntpdate/ntpdate.c, line 1756
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/ntp/sntp/libevent/bufferevent_async.c, line 424
- contrib/ntp/sntp/libevent/evutil.c, 4 times
- contrib/ntp/sntp/libevent/http.c, 2 times
- contrib/ntp/sntp/libevent/listener.c, 3 times
- contrib/ntp/sntp/libevent/test/bench_httpclient.c, 2 times
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 259
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 269
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 233
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 231
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 617
- contrib/ofed/librdmacm/examples/rcopy.c, line 201
- contrib/ofed/librdmacm/examples/riostream.c, 6 times
- contrib/ofed/librdmacm/examples/rstream.c, 8 times
- contrib/ofed/librdmacm/examples/udpong.c, 4 times
- contrib/ofed/librdmacm/preload.c, 3 times
- contrib/ofed/librdmacm/rsocket.c, 2 times
- contrib/ofed/opensm/opensm/osm_console_io.c, line 213
- contrib/openbsm/bin/auditdistd/proto.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_common.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 2 times
- contrib/opie/opieftpd.c, 2 times
- contrib/pf/ftp-proxy/ftp-proxy.c, 3 times
- contrib/pf/pflogd/privsep_fdpass.c, line 69
- contrib/sendmail/libmilter/listener.c, 2 times
- contrib/sendmail/src/daemon.c, 10 times
- contrib/serf/outgoing.c, line 1298
- contrib/smbfs/lib/smb/nbns_rq.c, line 301
- contrib/tcp_wrappers/options.c, 2 times
- contrib/telnet/telnet/commands.c, 3 times
- contrib/telnet/telnet/sys_bsd.c, line 827
- contrib/telnet/telnetd/telnetd.c, 5 times
- contrib/tnftp/src/ftp.c, 4 times
- contrib/tnftp/src/util.c, 5 times
- contrib/traceroute/traceroute.c, 5 times
- contrib/unbound/dnstap/dtstream.c, line 703
- contrib/unbound/dnstap/unbound-dnstap-socket.c, line 285
- contrib/unbound/services/listen_dnsport.c, 13 times
- contrib/unbound/services/outside_network.c, line 225
- contrib/unbound/util/netevent.c, 2 times
- contrib/unbound/util/winsock_event.c, 2 times
- contrib/wpa/src/ap/iapp.c, line 448
- contrib/wpa/src/common/dpp.c, line 10007
- contrib/wpa/src/drivers/driver_nl80211_monitor.c, 2 times
- contrib/wpa/src/drivers/driver_wired.c, 3 times
- contrib/wpa/src/wps/http_server.c, line 247
- contrib/wpa/src/wps/wps_upnp_ssdp.c, 2 times
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- crypto/heimdal/appl/ftp/common/sockbuf.c, 2 times
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 151
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 371
- crypto/heimdal/appl/rsh/rsh.c, 2 times
- crypto/heimdal/appl/rsh/rshd.c, line 969
- crypto/heimdal/appl/telnet/telnet/commands.c, 3 times
- crypto/heimdal/appl/telnet/telnet/sys_bsd.c, line 746
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, 5 times
- crypto/heimdal/appl/test/gssapi_server.c, line 314
- crypto/heimdal/appl/test/nt_gss_server.c, line 171
- crypto/heimdal/appl/test/uu_server.c, line 190
- crypto/heimdal/kdc/connect.c, 2 times
- crypto/heimdal/lib/ipc/server.c, 2 times
- crypto/heimdal/lib/kadm5/ipropd_master.c, 2 times
- crypto/heimdal/lib/roken/socket.c, 2 times
- crypto/heimdal/lib/roken/socket_wrapper.c, 2 times
- crypto/openssh/channels.c, line 1868
- crypto/openssh/misc.c, 3 times
- crypto/openssh/monitor.c, 2 times
- crypto/openssh/monitor_fdpass.c, line 78
- crypto/openssh/openbsd-compat/bsd-getpeereid.c, line 33
- crypto/openssh/openbsd-compat/port-net.c, 3 times
- crypto/openssh/regress/netcat.c, 10 times
- crypto/openssh/sshconnect.c, 2 times
- crypto/openssh/sshd.c, 2 times
- crypto/openssl/apps/s_time.c, 2 times
- crypto/openssl/crypto/bio/b_sock.c, line 99
- crypto/openssl/crypto/bio/b_sock2.c, 4 times
- crypto/openssl/crypto/bio/bss_dgram.c, 15 times
- lib/libc/net/nscachedcli.c, line 160
- lib/libc/posix1e/mac_get.c, line 74
- lib/libc/resolv/res_send.c, line 694
- lib/libc/rpc/clnt_bcast.c, line 224
- lib/libc/rpc/clnt_vc.c, line 837
- lib/libc/rpc/rpc_generic.c, line 493
- lib/libfetch/common.c, line 286
- lib/libipsec/pfkey.c, 4 times
- lib/libnetgraph/msg.c, 2 times
- lib/libnetgraph/sock.c, line 259
- lib/libnv/msgio.c, 4 times
- lib/libopenbsd/imsg-buffer.c, line 259
- lib/libopenbsd/imsg.c, line 94
- lib/libsysdecode/flags.c, 3 times
- lib/libtacplus/taclib.c, line 299
- libexec/ftpd/ftpd.c, 5 times
- libexec/phttpget/phttpget.c, 3 times
- sbin/devd/devd.cc, line 1012
- sbin/dump/dumprmt.c, 2 times
- sbin/ggate/shared/ggate.c, 5 times
- sbin/hastd/proto.c, 2 times
- sbin/hastd/proto_common.c, 2 times
- sbin/hastd/proto_tcp.c, 2 times
- sbin/iscontrol/fsm.c, 6 times
- sbin/ping/ping.c, 8 times
- sbin/ping6/ping6.c, 5 times
- sbin/route/route.c, line 270
- sbin/routed/main.c, 5 times
- sbin/routed/rtquery/rtquery.c, line 293
- sbin/setkey/setkey.c, line 315
- sbin/setkey/test-pfkey.c, line 110
- sys/cam/ctl/ctl_ha.c, 3 times
- sys/compat/cloudabi/cloudabi_sock.c, 2 times
- sys/compat/freebsd32/freebsd32_misc.c, line 1263
- sys/compat/linux/linux_socket.c, 6 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, 3 times
- sys/dev/iscsi/icl_soft_proxy.c, line 271
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_syscalls.c, 3 times
- sys/kern/uipc_usrreq.c, 13 times
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, line 472
- sys/netinet/ip_input.c, 5 times
- sys/netinet/ip_output.c, line 1110
- sys/netinet/raw_ip.c, line 648
- sys/netinet/sctp_usrreq.c, line 6879
- sys/netinet6/ip6_input.c, 5 times
- sys/netinet6/ip6_output.c, line 1639
- sys/netinet6/raw_ip6.c, line 594
- sys/netsmb/smb_trantcp.c, line 165
- sys/nfs/bootp_subr.c, line 507
- sys/nfs/krpc_subr.c, line 231
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, line 1647
- sys/rpc/clnt_rc.c, line 188
- sys/rpc/clnt_vc.c, line 203
- sys/rpc/rpc_generic.c, line 208
- sys/rpc/svc_vc.c, line 223
- tests/sys/aio/aio_test.c, 4 times
- tests/sys/audit/network.c, 2 times
- tests/sys/kern/sendfile_helper.c, line 108
- tests/sys/kern/unix_passfd_test.c, 3 times
- tests/sys/kern/unix_seqpacket_test.c, 36 times
- tests/sys/net/routing/rtsock_common.h, line 649
- tests/sys/netinet/so_reuseport_lb_test.c, 2 times
- tests/sys/netinet/tcp_user_cookie.c, 2 times
- tests/sys/netinet/udp_dontroute.c, line 95
- tools/regression/capsicum/syscalls/misc.c, 2 times
- tools/regression/netinet/ipbroadcast/ipbroadcast.c, 2 times
- tools/regression/netinet/ipmulticast/ipmulticast.c, line 622
- tools/regression/netinet/ipsockopt/ipsockopt.c, line 651
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, line 79
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, 11 times
- tools/regression/sockets/listen_backlog/listen_backlog.c, 2 times
- tools/regression/sockets/listen_kqueue/listen_kqueue.c, 2 times
- tools/regression/sockets/reconnect/reconnect.c, line 78
- tools/regression/sockets/sigpipe/sigpipe.c, 2 times
- tools/regression/sockets/so_setfib/so_setfib.c, line 102
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 3 times
- tools/regression/sockets/unix_cmsg/uc_common.c, 4 times
- tools/regression/sockets/unix_gc/unix_gc.c, line 105
- tools/test/netfibs/reflect.c, 3 times
- tools/tools/kttcp/kttcp.c, 3 times
- tools/tools/mctest/mctest.cc, 2 times
- tools/tools/netrate/netreceive/netreceive.c, line 247
- tools/tools/netrate/tcpp/tcpp_client.c, 2 times
- tools/tools/netrate/tcpp/tcpp_server.c, 2 times
- usr.sbin/bhyve/dbgport.c, 2 times
- usr.sbin/bhyve/gdb.c, line 1754
- usr.sbin/bhyve/net_backends.c, 2 times
- usr.sbin/bhyve/rfb.c, line 1018
- usr.sbin/bluetooth/bthidd/client.c, line 139
- usr.sbin/bluetooth/btpand/client.c, 5 times
- usr.sbin/bluetooth/btpand/server.c, 5 times
- usr.sbin/bluetooth/l2control/l2control.c, line 149
- usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c, 2 times
- usr.sbin/ctld/ctld.c, 3 times
- usr.sbin/dconschat/dconschat.c, line 682
- usr.sbin/flowctl/flowctl.c, line 147
- usr.sbin/inetd/inetd.c, line 1271
- usr.sbin/iscsid/iscsid.c, 2 times
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/nfscbd/nfscbd.c, 2 times
- usr.sbin/nfsd/nfsd.c, 3 times
- usr.sbin/nfsuserd/nfsuserd.c, line 306
- usr.sbin/nscd/nscdcli.c, line 147
- usr.sbin/nscd/query.c, line 187
- usr.sbin/ppp/bundle.c, 5 times
- usr.sbin/ppp/mp.c, line 1144
- usr.sbin/ppp/server.c, 2 times
- usr.sbin/ppp/tcp.c, line 179
- usr.sbin/ppp/udp.c, line 291
- usr.sbin/rmt/rmt.c, line 242
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 260
- usr.sbin/rpc.ypupdated/ypupdated_main.c, line 224
- usr.sbin/rpc.ypxfrd/ypxfrd_main.c, line 225
- usr.sbin/rwhod/rwhod.c, line 252
- usr.sbin/syslogd/syslogd.c, 3 times
- usr.sbin/traceroute6/traceroute6.c, 5 times
- usr.sbin/ypserv/yp_dnslookup.c, 2 times