Defined in 4 files as a prototype:
Defined in 13 files as a member:
- contrib/ntp/lib/isc/include/isc/socket.h, line 286 (as a member)
- contrib/ofed/librdmacm/cma.c, line 94 (as a member)
- contrib/ofed/librdmacm/preload.c, line 65 (as a member)
- contrib/tnftp/src/ftp.c, line 1741 (as a member)
- contrib/wpa/src/pae/ieee802_1x_cp.c, line 40 (as a member)
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 1488 (as a member)
- sys/contrib/ngatm/netnatm/msg/uni_msg.h, line 315 (as a member)
- sys/contrib/ngatm/netnatm/sig/unidef.h, line 323 (as a member)
- sys/contrib/ngatm/netnatm/sig/unidef.h, line 326 (as a member)
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_core.h, line 416 (as a member)
- sys/dev/ctau/ctddk.h, line 433 (as a member)
- sys/netgraph/netgraph.h, line 1083 (as a member)
- sys/ofed/include/rdma/iw_cm.h, line 120 (as a member)
Defined in 4 files as a macro:
Defined in 3 files as a function:
Referenced in 258 files:
- bin/cat/cat.c, line 368
- bin/date/netdate.c, line 123
- contrib/amd/conf/transp/transp_sockets.c, line 179
- contrib/apr-util/dbd/apr_dbd_odbc.c, 6 times
- contrib/apr/misc/unix/rand.c, line 175
- contrib/apr/network_io/unix/sockets.c, line 348
- contrib/atf/atf-c/detail/process_test.c, 12 times
- contrib/blacklist/lib/bl.c, line 186
- contrib/blacklist/test/cltest.c, line 129
- contrib/bsnmp/lib/snmpclient.c, 2 times
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, line 272
- contrib/bsnmp/snmpd/trap.c, 2 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/dma/net.c, line 329
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 194
- contrib/gdb/gdb/ser-tcp.c, line 115
- contrib/gdb/gdb/wince-stub.c, line 585
- contrib/ipfilter/ipsend/iptests.c, line 1115
- contrib/ipfilter/ipsend/lsock.c, line 241
- contrib/ipfilter/ipsend/sock.c, line 442
- contrib/ipfilter/l4check/l4check.c, 2 times
- contrib/ipfilter/lib/connecttcp.c, line 42
- contrib/ipfilter/lib/save_v1trap.c, 3 times
- contrib/ipfilter/lib/save_v2trap.c, 3 times
- contrib/ipfilter/samples/proxy.c, 2 times
- contrib/ipfilter/samples/relay.c, line 174
- contrib/ipfilter/tools/ipfsyncd.c, line 433
- contrib/ipfilter/tools/ipsyncm.c, line 118
- contrib/ldns/net.c, line 210
- contrib/libevent/evutil.c, 4 times
- contrib/libevent/test/bench_httpclient.c, line 153
- contrib/libevent/test/regress_http.c, line 194
- contrib/libpcap/pcap-sita.c, line 336
- contrib/libpcap/sockutils.c, line 437
- contrib/libxo/libxo/xo_syslog.c, 3 times
- contrib/llvm/include/llvm/CodeGen/PBQP/Graph.h, line 222
- contrib/llvm/tools/lldb/source/Host/common/TCPSocket.cpp, line 154
- contrib/llvm/tools/lldb/source/Host/posix/DomainSocket.cpp, line 85
- contrib/netbsd-tests/kernel/t_kauth_pr_47598.c, line 139
- contrib/netbsd-tests/lib/libc/sys/t_connect.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_listen.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 354
- contrib/netbsd-tests/lib/librumphijack/h_netget.c, line 83
- contrib/netbsd-tests/net/mcast/mcast.c, line 276
- contrib/netbsd-tests/net/net/t_tcp.c, 2 times
- contrib/netbsd-tests/net/net/t_udp.c, 2 times
- contrib/netbsd-tests/net/net/t_unix.c, line 186
- contrib/netbsd-tests/net/sys/t_rfc6056.c, line 108
- contrib/netcat/netcat.c, 4 times
- contrib/ntp/lib/isc/socket_api.c, line 149
- contrib/ntp/lib/isc/unix/entropy.c, line 549
- contrib/ntp/lib/isc/unix/socket.c, 2 times
- contrib/ntp/ntpd/ntp_io.c, line 4049
- contrib/ntp/ntpd/ntp_signd.c, line 50
- contrib/ntp/ntpd/ntpd.c, line 1265
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 1905
- contrib/ntp/ntpd/refclock_nmea.c, line 1942
- contrib/ntp/ntpdate/ntpdate.c, line 1326
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/ntp/sntp/libevent/evutil.c, 4 times
- contrib/ntp/sntp/libevent/test/bench_httpclient.c, line 153
- contrib/ntp/sntp/libevent/test/regress_http.c, line 180
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 181
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 176
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 154
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 154
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 564
- contrib/ofed/librdmacm/acm.c, line 153
- contrib/ofed/librdmacm/cma.c, 6 times
- contrib/ofed/librdmacm/examples/common.h, line 49
- contrib/ofed/librdmacm/preload.c, 3 times
- contrib/ofed/librdmacm/rsocket.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 305
- contrib/openbsm/bin/auditdistd/proto_uds.c, line 142
- contrib/opie/libopie/generator.c, line 114
- contrib/opie/opieftpd.c, line 891
- contrib/pf/ftp-proxy/ftp-proxy.c, line 476
- contrib/pf/tftp-proxy/tftp-proxy.c, 2 times
- contrib/pjdfstest/pjdfstest.c, line 934
- contrib/sendmail/src/daemon.c, 3 times
- contrib/sendmail/src/map.c, line 7803
- contrib/sendmail/src/milter.c, line 1099
- contrib/subversion/subversion/libsvn_subr/gpg_agent.c, line 347
- contrib/tcp_wrappers/rfc931.c, 2 times
- contrib/telnet/telnet/commands.c, 2 times
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tnftp/src/util.c, line 1392
- contrib/traceroute/as.c, line 89
- contrib/traceroute/traceroute.c, line 1004
- contrib/unbound/services/outside_network.c, 4 times
- contrib/unbound/smallapp/unbound-anchor.c, line 734
- contrib/unbound/smallapp/unbound-control.c, line 571
- contrib/unbound/util/netevent.c, line 1554
- contrib/wpa/hostapd/ctrl_iface.c, 2 times
- contrib/wpa/hs20/client/osu_client.c, 3 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/src/eap_server/eap_sim_db.c, line 711
- contrib/wpa/src/pae/ieee802_1x_cp.c, 10 times
- contrib/wpa/src/radius/radius_client.c, 2 times
- contrib/wpa/src/wps/http_client.c, line 158
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_priv.c, line 721
- crypto/heimdal/appl/ftp/ftp/ftp.c, 4 times
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1316
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 635
- crypto/heimdal/appl/gssmask/gssmask.c, line 699
- crypto/heimdal/appl/kf/kf.c, line 309
- crypto/heimdal/appl/push/push.c, line 117
- crypto/heimdal/appl/rsh/rsh.c, 2 times
- crypto/heimdal/appl/rsh/rshd.c, line 668
- crypto/heimdal/appl/telnet/telnet/commands.c, line 2229
- crypto/heimdal/appl/test/common.c, line 165
- crypto/heimdal/appl/test/http_client.c, line 68
- crypto/heimdal/kdc/hprop.c, line 76
- crypto/heimdal/lib/ipc/client.c, line 335
- crypto/heimdal/lib/kadm5/init_c.c, 2 times
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 81
- crypto/heimdal/lib/krb5/changepw.c, line 570
- crypto/heimdal/lib/krb5/send_to_kdc.c, 2 times
- crypto/heimdal/lib/roken/roken_gethostby.c, line 159
- crypto/heimdal/lib/roken/socket_wrapper.c, line 136
- crypto/heimdal/lib/roken/socket_wrapper.h, 2 times
- crypto/openssh/authfd.c, line 109
- crypto/openssh/channels.c, 3 times
- crypto/openssh/entropy.c, line 123
- crypto/openssh/mux.c, line 2332
- crypto/openssh/regress/netcat.c, 4 times
- crypto/openssh/ssh-keyscan.c, line 349
- crypto/openssh/sshconnect.c, 2 times
- crypto/openssl/crypto/bio/b_sock2.c, line 107
- crypto/openssl/crypto/rand/rand_egd.c, line 84
- lib/libbluetooth/hci.c, 3 times
- lib/libc/include/un-namespace.h, line 44
- lib/libc/sys/interposing_table.c, line 46
- lib/libcompat/4.3/rexec.c, line 325
- lib/libdevdctl/consumer.cc, line 114
- lib/libfetch/common.c, line 385
- lib/libfetch/ftp.c, line 774
- lib/libnetgraph/sock.c, line 157
- lib/libpmcstat/libpmcstat_logging.c, line 498
- lib/libsdp/session.c, 2 times
- lib/libtacplus/taclib.c, line 254
- lib/libthr/thread/thr_syscalls.c, line 653
- libexec/ftpd/ftpd.c, line 2027
- sbin/devd/tests/client_test.c, line 81
- sbin/ggate/ggatec/ggatec.c, line 272
- sbin/hastd/proto_tcp.c, line 317
- sbin/hastd/proto_uds.c, line 148
- sbin/iscontrol/fsm.c, line 150
- sbin/nos-tun/nos-tun.c, line 333
- sbin/ping/ping.c, line 626
- sbin/ping6/ping6.c, line 998
- share/doc/psd/20.ipctut/streamwrite.c, line 70
- share/doc/psd/20.ipctut/ustreamwrite.c, line 60
- share/examples/find_interface/find_interface.c, line 97
- sys/contrib/ngatm/netnatm/api/cc_conn.c, 17 times
- sys/contrib/ngatm/netnatm/api/cc_port.c, line 731
- sys/contrib/ngatm/netnatm/sig/sig_call.c, 11 times
- sys/contrib/ngatm/netnatm/sig/sig_coord.c, line 803
- sys/contrib/ngatm/netnatm/sig/sig_print.c, 2 times
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_core.c, 4 times
- sys/dev/ce/if_ce.c, line 2595
- sys/dev/cp/if_cp.c, line 2257
- sys/dev/ctau/if_ct.c, line 2194
- sys/dev/cx/if_cx.c, line 2533
- sys/dev/cxgbe/iw_cxgbe/provider.c, line 509
- sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c, 2 times
- sys/dev/mn/if_mn.c, line 200
- sys/dev/usb/misc/udbp.c, line 197
- sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c, line 239
- sys/netgraph/bluetooth/drivers/h4/ng_h4.c, line 132
- sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c, line 242
- sys/netgraph/bluetooth/hci/ng_hci_main.c, line 89
- sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c, line 89
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, line 109
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, line 94
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c, line 106
- sys/netgraph/bluetooth/socket/ng_btsocket_sco.c, line 94
- sys/netgraph/ng_base.c, 9 times
- sys/netgraph/ng_gif.c, line 153
- sys/netgraph/ng_ipfw.c, line 89
- sys/netgraph/ng_ksocket.c, line 494
- sys/netgraph/ng_pppoe.c, line 203
- sys/netgraph/ng_sample.c, line 115
- sys/netgraph/ng_socket.c, line 141
- sys/netgraph/ng_source.c, line 258
- sys/netgraph/ng_tty.c, line 134
- sys/ofed/drivers/infiniband/core/ib_iwcm.c, line 607
- tests/sys/audit/network.c, 6 times
- tests/sys/capsicum/bindat_connectat.c, 3 times
- tests/sys/capsicum/ioctls_test.c, line 112
- tests/sys/kern/unix_seqpacket_test.c, 7 times
- tests/sys/netinet/reuseport_lb.c, line 72
- tools/regression/netinet/rawconnect/rawconnect.c, line 71
- tools/regression/netinet/tcpconnect/tcpconnect.c, 2 times
- tools/regression/netinet/tcpdrop/tcpdrop.c, line 146
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, line 91
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, line 139
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, line 91
- tools/regression/netinet/tcpstream/tcpstream.c, line 96
- tools/regression/netinet/udpconnectjail/udpconnectjail.c, line 67
- tools/regression/netinet/udpzerobyte/udpzerobyte.c, line 78
- tools/regression/netinet6/ip6_sockets/ip6_sockets.c, line 67
- tools/regression/security/cap_test/cap_test_capmode.c, line 96
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, line 168
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, 3 times
- tools/regression/sockets/listen_kqueue/listen_kqueue.c, line 98
- tools/regression/sockets/listenclose/listenclose.c, line 105
- tools/regression/sockets/reconnect/reconnect.c, line 93
- tools/regression/sockets/sendfile/sendfile.c, line 249
- tools/regression/sockets/shutdown/shutdown.c, line 91
- tools/regression/sockets/sigpipe/sigpipe.c, line 234
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 4 times
- tools/regression/sockets/unix_bindconnect/unix_bindconnect.c, 3 times
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 116
- tools/regression/sockets/unix_cmsg/uc_common.c, line 210
- tools/regression/sockets/unix_gc/unix_gc.c, line 172
- tools/regression/sockets/zerosend/zerosend.c, 3 times
- tools/test/net/connect.c, line 77
- tools/test/netfibs/reflect.c, 2 times
- tools/tools/kttcp/kttcp.c, line 218
- tools/tools/net80211/w00t/redir/redir.c, line 437
- tools/tools/netrate/http/http.c, line 107
- tools/tools/netrate/juggle/juggle.c, 2 times
- tools/tools/netrate/netblast/netblast.c, line 202
- tools/tools/netrate/netsend/netsend.c, 2 times
- tools/tools/netrate/tcpconnect/tcpconnect.c, line 92
- tools/tools/netrate/tcpp/tcpp_client.c, line 123
- usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c, line 283
- usr.bin/finger/net.c, line 146
- usr.bin/talk/get_iface.c, line 83
- usr.bin/talk/look_up.c, line 84
- usr.bin/whois/whois.c, line 343
- usr.sbin/apmd/contrib/pccardq.c, line 105
- usr.sbin/bluetooth/bthidd/client.c, line 250
- usr.sbin/bluetooth/btpand/client.c, line 91
- usr.sbin/bluetooth/hccontrol/hccontrol.c, line 133
- usr.sbin/bluetooth/l2ping/l2ping.c, line 180
- usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c, line 388
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c, line 423
- usr.sbin/ctld/ctld.c, line 794
- usr.sbin/iscsid/iscsid.c, line 287
- usr.sbin/lpr/common_source/net.c, line 138
- usr.sbin/lpr/common_source/startdaemon.c, line 78
- usr.sbin/nscd/nscdcli.c, line 199
- usr.sbin/portsnap/phttpget/phttpget.c, line 382
- usr.sbin/powerd/powerd.c, line 392
- usr.sbin/ppp/id.c, line 248
- usr.sbin/ppp/id.h, line 73
- usr.sbin/ppp/tcp.c, line 92
- usr.sbin/ppp/udp.c, line 239
- usr.sbin/pppctl/pppctl.c, 2 times
- usr.sbin/rtadvctl/rtadvctl.c, line 212
- usr.sbin/traceroute/findsaddr-udp.c, line 71
- usr.sbin/traceroute6/traceroute6.c, line 858
- usr.sbin/ypldap/ldapclient.c, line 82