Defined in 4 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 224 files:
- contrib/apr/network_io/unix/multicast.c, 7 times
- contrib/apr/network_io/unix/sockopt.c, 16 times
- contrib/bearssl/samples/server_basic.c, 2 times
- contrib/bearssl/tools/server.c, 2 times
- contrib/blacklist/lib/bl.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, 3 times
- contrib/bsnmp/snmpd/trans_inet.c, 2 times
- contrib/bsnmp/snmpd/trans_lsock.c, line 355
- contrib/bsnmp/snmpd/trans_udp.c, line 125
- contrib/capsicum-test/sctp.cc, 2 times
- contrib/capsicum-test/socket.cc, 6 times
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 190
- contrib/gdb/gdb/gdbserver/gdbreplay.c, 3 times
- contrib/gdb/gdb/gdbserver/remote-utils.c, 3 times
- contrib/gdb/gdb/ser-tcp.c, line 186
- 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/ipfsyncd.c, 4 times
- contrib/ipfilter/tools/ipsyncs.c, line 130
- contrib/libevent/bufferevent_async.c, line 424
- contrib/libevent/evutil.c, 3 times
- contrib/libevent/http.c, line 4333
- contrib/libevent/listener.c, 3 times
- contrib/libevent/test/bench_httpclient.c, 2 times
- contrib/libpcap/pcap-bt-linux.c, 4 times
- contrib/libpcap/pcap-bt-monitor-linux.c, line 234
- contrib/libpcap/pcap-linux.c, 12 times
- contrib/libpcap/pcap-netfilter-linux.c, line 672
- contrib/libpcap/pcap-rpcap.c, line 1288
- contrib/libpcap/pcap-snoop.c, line 245
- contrib/libpcap/sockutils.c, 2 times
- contrib/llvm/tools/lldb/source/Host/common/Socket.cpp, line 399
- contrib/llvm/tools/lldb/source/Host/common/TCPSocket.cpp, line 198
- contrib/netbsd-tests/lib/libc/net/h_dns_server.c, line 308
- contrib/netbsd-tests/lib/libc/sys/t_connect.c, line 70
- contrib/netbsd-tests/lib/libc/sys/t_listen.c, line 113
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 2 times
- contrib/netbsd-tests/net/mcast/mcast.c, 7 times
- contrib/netbsd-tests/net/net/t_pktinfo.c, 2 times
- contrib/netbsd-tests/net/sys/t_rfc6056.c, 2 times
- contrib/netcat/netcat.c, 13 times
- contrib/ntp/lib/isc/unix/net.c, 3 times
- contrib/ntp/lib/isc/unix/socket.c, 15 times
- contrib/ntp/lib/isc/win32/net.c, 3 times
- contrib/ntp/lib/isc/win32/socket.c, 8 times
- contrib/ntp/ntpd/ntp_io.c, 24 times
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 1893
- contrib/ntp/ntpdate/ntpdate.c, 2 times
- 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, 3 times
- contrib/ntp/sntp/libevent/http.c, line 4166
- 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/common.h, line 62
- contrib/ofed/librdmacm/preload.c, 5 times
- contrib/ofed/librdmacm/rsocket.c, line 3398
- contrib/ofed/opensm/opensm/osm_console_io.c, line 213
- contrib/openbsm/bin/auditdistd/proto.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 2 times
- contrib/opie/opieftpd.c, 5 times
- contrib/pf/ftp-proxy/ftp-proxy.c, 3 times
- contrib/pf/tftp-proxy/tftp-proxy.c, line 136
- contrib/sendmail/libmilter/listener.c, 2 times
- contrib/sendmail/src/daemon.c, 10 times
- contrib/sendmail/src/milter.c, 3 times
- contrib/smbfs/lib/smb/nbns_rq.c, line 301
- contrib/tcp_wrappers/fix_options.c, line 125
- contrib/tcp_wrappers/options.c, 2 times
- contrib/telnet/telnet/commands.c, 3 times
- contrib/telnet/telnet/utilities.c, line 101
- contrib/telnet/telnetd/telnetd.c, 6 times
- contrib/tnftp/src/ftp.c, 8 times
- contrib/tnftp/src/util.c, 2 times
- contrib/traceroute/traceroute.c, 10 times
- contrib/unbound/services/listen_dnsport.c, 29 times
- contrib/unbound/services/outside_network.c, 2 times
- contrib/wpa/src/ap/iapp.c, 3 times
- contrib/wpa/src/crypto/crypto_linux.c, 3 times
- contrib/wpa/src/drivers/driver_nl80211_monitor.c, 2 times
- contrib/wpa/src/drivers/driver_wired.c, 3 times
- contrib/wpa/src/drivers/driver_wired_common.c, line 154
- contrib/wpa/src/radius/radius_client.c, line 1287
- contrib/wpa/src/radius/radius_server.c, line 2075
- contrib/wpa/src/wps/http_server.c, line 247
- contrib/wpa/src/wps/wps_upnp_ssdp.c, 7 times
- crypto/heimdal/appl/ftp/common/sockbuf.c, line 65
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 151
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 371
- crypto/heimdal/appl/push/push.c, line 130
- crypto/heimdal/appl/rsh/rsh.c, 2 times
- crypto/heimdal/appl/rsh/rshd.c, line 969
- crypto/heimdal/appl/telnet/telnet/commands.c, 2 times
- crypto/heimdal/appl/telnet/telnet/utilities.c, 2 times
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, 3 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, line 278
- crypto/heimdal/lib/ipc/server.c, line 1101
- crypto/heimdal/lib/kadm5/ipropd_master.c, 2 times
- crypto/heimdal/lib/roken/socket.c, 6 times
- crypto/heimdal/lib/roken/socket_wrapper.c, line 142
- crypto/heimdal/lib/roken/socket_wrapper.h, 2 times
- crypto/openssh/misc.c, 4 times
- crypto/openssh/monitor.c, 2 times
- crypto/openssh/openbsd-compat/port-net.c, 2 times
- crypto/openssh/packet.c, 2 times
- crypto/openssh/regress/netcat.c, 10 times
- crypto/openssh/sshconnect.c, line 578
- crypto/openssh/sshd.c, line 2128
- crypto/openssl/apps/s_time.c, line 398
- crypto/openssl/crypto/bio/b_sock.c, line 291
- crypto/openssl/crypto/bio/b_sock2.c, 6 times
- crypto/openssl/crypto/bio/bss_dgram.c, 33 times
- crypto/openssl/engines/e_afalg.c, line 355
- lib/libbluetooth/hci.c, line 365
- lib/libc/include/un-namespace.h, line 212
- lib/libc/net/sctp_sys_calls.c, 5 times
- lib/libfetch/common.c, line 226
- lib/libfetch/ftp.c, 2 times
- lib/libfetch/http.c, 3 times
- lib/libipsec/pfkey.c, 2 times
- lib/libipsec/test-policy.c, line 182
- lib/librss/librss.c, 4 times
- libexec/fingerd/fingerd.c, line 113
- libexec/ftpd/ftpd.c, 15 times
- sbin/devd/devd.cc, line 1013
- sbin/dhclient/bpf.c, line 177
- sbin/dump/dumprmt.c, 4 times
- sbin/ggate/shared/ggate.c, 6 times
- sbin/hastd/proto.c, 2 times
- sbin/hastd/proto_tcp.c, 2 times
- sbin/ipfw/ipfw2.c, 2 times
- sbin/iscontrol/fsm.c, 7 times
- sbin/ping/ping.c, 14 times
- sbin/ping6/ping6.c, 30 times
- sbin/route/route.c, line 270
- sbin/routed/if.c, line 496
- sbin/routed/main.c, 7 times
- sbin/routed/output.c, line 160
- sbin/routed/rdisc.c, 5 times
- sbin/routed/rtquery/rtquery.c, line 293
- sbin/setkey/setkey.c, line 315
- sbin/setkey/test-pfkey.c, line 110
- sbin/setkey/test-policy.c, line 116
- sys/netinet/libalias/alias_db.c, 4 times
- tests/sys/audit/network.c, 2 times
- tests/sys/kern/unix_passfd_test.c, line 426
- tests/sys/kern/unix_seqpacket_test.c, 18 times
- tests/sys/netinet/so_reuseport_lb_test.c, line 118
- tests/sys/netinet/tcp_user_cookie.c, 2 times
- tests/sys/netinet/udp_dontroute.c, line 95
- tools/regression/netinet/ipbroadcast/ipbroadcast.c, 4 times
- tools/regression/netinet/ipmulticast/ipmulticast.c, 5 times
- tools/regression/netinet/ipsockopt/ipsockopt.c, 13 times
- tools/regression/netinet/msocket/msocket.c, 7 times
- tools/regression/netinet/msocket_ifnet_remove/msocket_ifnet_remove.c, line 184
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 131
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, line 79
- tools/regression/netinet6/icmp6_filter/icmp6_filter.c, 3 times
- tools/regression/priv/priv_netinet_ipsec.c, 2 times
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, 5 times
- tools/regression/sockets/listen_backlog/listen_backlog.c, line 352
- 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, 2 times
- tools/regression/sockets/unix_cmsg/t_cmsgcred_sockcred.c, line 68
- tools/regression/sockets/unix_cmsg/t_sockcred.c, 2 times
- tools/regression/sockets/unix_cmsg/uc_common.c, 2 times
- tools/test/netfibs/reflect.c, 3 times
- tools/tools/kttcp/kttcp.c, 3 times
- tools/tools/mcgrab/mcgrab.cc, 2 times
- tools/tools/mctest/mctest.cc, 7 times
- tools/tools/net80211/wesside/dics/dics.c, 2 times
- tools/tools/netrate/netreceive/netreceive.c, line 247
- tools/tools/netrate/tcpp/tcpp_client.c, 3 times
- tools/tools/netrate/tcpp/tcpp_server.c, 3 times
- usr.sbin/bhyve/dbgport.c, 3 times
- usr.sbin/bhyve/gdb.c, line 1392
- usr.sbin/bhyve/rfb.c, line 1014
- usr.sbin/bluetooth/btpand/client.c, 4 times
- usr.sbin/bluetooth/btpand/server.c, 4 times
- usr.sbin/bluetooth/hccontrol/hccontrol.c, line 153
- usr.sbin/bluetooth/hcsecd/hcsecd.c, line 130
- 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, 5 times
- usr.sbin/iscsid/iscsid.c, 2 times
- usr.sbin/lpr/lpd/lpd.c, 3 times
- usr.sbin/mld6query/mld6.c, 4 times
- usr.sbin/mountd/mountd.c, line 763
- usr.sbin/mtest/mtest.c, 4 times
- usr.sbin/nfscbd/nfscbd.c, 2 times
- usr.sbin/nfsd/nfsd.c, 5 times
- usr.sbin/nfsuserd/nfsuserd.c, line 306
- usr.sbin/portsnap/phttpget/phttpget.c, 3 times
- usr.sbin/ppp/bundle.c, 2 times
- usr.sbin/ppp/mp.c, line 1144
- usr.sbin/ppp/server.c, 3 times
- usr.sbin/rmt/rmt.c, line 242
- usr.sbin/route6d/route6d.c, 8 times
- usr.sbin/rpcbind/rpcbind.c, line 409
- usr.sbin/rpcbind/util.c, line 392
- usr.sbin/rrenumd/rrenumd.c, 9 times
- usr.sbin/rtadvd/if.c, 3 times
- usr.sbin/rtadvd/rtadvd.c, 3 times
- usr.sbin/rtsold/rtsol.c, 3 times
- usr.sbin/rwhod/rwhod.c, 5 times
- usr.sbin/syslogd/syslogd.c, 3 times
- usr.sbin/traceroute6/traceroute6.c, 23 times