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 210 files:
- bin/rcp/rcp.c, 2 times
- contrib/apr/network_io/unix/multicast.c, 7 times
- contrib/apr/network_io/unix/sockopt.c, 16 times
- contrib/blacklist/lib/bl.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, 3 times
- contrib/bsnmp/snmpd/trans_lsock.c, line 354
- contrib/bsnmp/snmpd/trans_udp.c, line 124
- 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/libpcap/pcap-bt-monitor-linux.c, line 214
- contrib/libpcap/pcap-linux.c, 12 times
- contrib/libpcap/pcap-netfilter-linux.c, line 580
- contrib/libpcap/pcap-rpcap.c, line 1202
- contrib/libpcap/pcap-snoop.c, line 245
- contrib/libpcap/sockutils.c, line 309
- contrib/libpcap/tests/valgrindtest.c, 2 times
- contrib/llvm/tools/lldb/source/Host/common/Socket.cpp, line 401
- 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, 27 times
- contrib/unbound/services/outside_network.c, line 230
- contrib/wpa/src/ap/iapp.c, 2 times
- contrib/wpa/src/drivers/driver_macsec_qca.c, line 91
- contrib/wpa/src/drivers/driver_nl80211_monitor.c, 2 times
- contrib/wpa/src/drivers/driver_wired.c, 4 times
- contrib/wpa/src/radius/radius_client.c, line 1216
- contrib/wpa/src/radius/radius_server.c, line 1434
- 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/channels.c, line 1556
- crypto/openssh/misc.c, 2 times
- crypto/openssh/packet.c, 2 times
- crypto/openssh/regress/netcat.c, 9 times
- crypto/openssh/sshconnect.c, line 497
- crypto/openssh/sshd.c, 2 times
- crypto/openssl/apps/s_socket.c, 2 times
- crypto/openssl/crypto/bio/b_sock.c, 2 times
- crypto/openssl/crypto/bio/bss_conn.c, line 223
- crypto/openssl/crypto/bio/bss_dgram.c, 33 times
- crypto/openssl/e_os.h, line 190
- lib/libbluetooth/hci.c, line 358
- lib/libc/include/un-namespace.h, line 209
- lib/libc/net/sctp_sys_calls.c, 5 times
- lib/libfetch/common.c, line 224
- lib/libfetch/ftp.c, 2 times
- lib/libfetch/http.c, 3 times
- lib/libipsec/pfkey.c, 2 times
- lib/libipsec/test-policy.c, line 180
- libexec/fingerd/fingerd.c, line 111
- libexec/ftpd/ftpd.c, 15 times
- libexec/rlogind/rlogind.c, 3 times
- libexec/rshd/rshd.c, 3 times
- sbin/devd/devd.cc, line 963
- sbin/dhclient/bpf.c, line 173
- 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 268
- sbin/routed/if.c, line 494
- sbin/routed/main.c, 7 times
- sbin/routed/output.c, line 158
- sbin/routed/rdisc.c, 5 times
- sbin/routed/rtquery/rtquery.c, line 291
- sbin/setkey/setkey.c, line 313
- sbin/setkey/test-pfkey.c, line 108
- sbin/setkey/test-policy.c, line 114
- sys/netinet/libalias/alias_db.c, 4 times
- tests/sys/kern/unix_passfd_test.c, line 372
- tests/sys/kern/unix_seqpacket_test.c, 18 times
- 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, 3 times
- tools/regression/sockets/listen_backlog/listen_backlog.c, line 352
- 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/unix_cmsg/unix_cmsg.c, 5 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.bin/rlogin/rlogin.c, 3 times
- usr.bin/rsh/rsh.c, 2 times
- usr.sbin/bhyve/dbgport.c, 3 times
- usr.sbin/bhyve/rfb.c, line 1002
- usr.sbin/bluetooth/btpand/client.c, 4 times
- usr.sbin/bluetooth/btpand/server.c, 4 times
- usr.sbin/bluetooth/hccontrol/hccontrol.c, line 151
- 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 680
- 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 756
- usr.sbin/mtest/mtest.c, 4 times
- usr.sbin/nfscbd/nfscbd.c, 2 times
- usr.sbin/nfsd/nfsd.c, 6 times
- usr.sbin/nfsuserd/nfsuserd.c, line 258
- 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 240
- usr.sbin/route6d/route6d.c, 8 times
- usr.sbin/rpcbind/rpcbind.c, line 394
- usr.sbin/rpcbind/util.c, line 394
- 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/timed/timed/timed.c, line 221
- usr.sbin/traceroute6/traceroute6.c, 23 times