Defined in 5 files as a prototype:
Defined in 10 files as a member:
- external/bsd/ntp/dist/lib/isc/include/isc/socket.h, line 288 (as a member)
- external/bsd/ppp/dist/pppd/pppd.h, line 455 (as a member)
- external/bsd/wpa/dist/src/pae/ieee802_1x_cp.c, line 40 (as a member)
- external/ibm-public/postfix/dist/src/util/auto_clnt.c, line 125 (as a member)
- external/mpl/bind/dist/lib/dns/include/dns/librpz.h, line 823 (as a member)
- sys/dev/pci/cxgb/cxgb_toedev.h, line 101 (as a member)
- sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.h, line 416 (as a member)
- sys/external/mit/xen-include-public/dist/xen/include/public/io/pvcalls.h, line 76 (as a member)
- sys/external/mit/xen-include-public/dist/xen/include/public/io/pvcalls.h, line 118 (as a member)
- usr.bin/ftp/ftp.c, line 1794 (as a member)
Defined in 2 files as a macro:
Defined in 8 files as a function:
Referenced in 248 files:
- bin/date/netdate.c, line 129
- crypto/dist/ipsec-tools/src/racoon/kmpstat.c, line 112
- crypto/dist/ipsec-tools/src/racoon/sockmisc.c, line 170
- crypto/external/bsd/heimdal/dist/kdc/hprop.c, line 78
- crypto/external/bsd/heimdal/dist/kpasswd/kpasswdd.c, line 668
- crypto/external/bsd/heimdal/dist/lib/ipc/client.c, line 337
- crypto/external/bsd/heimdal/dist/lib/kadm5/init_c.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_slave.c, line 86
- crypto/external/bsd/heimdal/dist/lib/krb5/changepw.c, line 576
- crypto/external/bsd/heimdal/dist/lib/krb5/send_to_kdc.c, line 486
- crypto/external/bsd/heimdal/dist/lib/roken/roken_gethostby.c, line 162
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.c, line 138
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.h, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/test-mini_inetd.c, line 82
- crypto/external/bsd/netpgp/dist/src/hkpclient/hkpc.c, line 70
- crypto/external/bsd/openssh/dist/authfd.c, line 109
- crypto/external/bsd/openssh/dist/channels.c, 3 times
- crypto/external/bsd/openssh/dist/misc.c, 2 times
- crypto/external/bsd/openssh/dist/mux.c, line 2316
- crypto/external/bsd/openssh/dist/ssh-keyscan.c, line 339
- crypto/external/bsd/openssl/dist/apps/vms_term_sock.c, line 443
- crypto/external/bsd/openssl/dist/crypto/bio/b_sock2.c, line 107
- crypto/external/bsd/openssl/dist/crypto/rand/rand_egd.c, line 84
- crypto/external/bsd/openssl/dist/test/ossl_shim/ossl_shim.cc, line 500
- crypto/external/cpl/trousers/dist/src/tddl/tddl.c, 2 times
- crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c, line 498
- dist/pf/libexec/tftp-proxy/tftp-proxy.c, 2 times
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 484
- external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c, line 72
- external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c, line 599
- external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c, line 4738
- external/bsd/am-utils/dist/conf/mount/mount_linux.c, line 553
- external/bsd/am-utils/dist/conf/transp/transp_sockets.c, line 181
- external/bsd/atf/dist/atf-c/detail/process_test.c, 12 times
- external/bsd/blacklist/lib/bl.c, line 186
- external/bsd/blacklist/test/cltest.c, line 129
- external/bsd/dhcpcd/dist/src/control.c, line 312
- external/bsd/fetch/dist/libfetch/common.c, line 306
- external/bsd/fetch/dist/libfetch/ftp.c, line 845
- external/bsd/ipf/dist/ipsend/iptests.c, line 1118
- external/bsd/ipf/dist/ipsend/lsock.c, line 243
- external/bsd/ipf/dist/ipsend/sock.c, line 446
- external/bsd/ipf/dist/l4check/l4check.c, 2 times
- external/bsd/ipf/dist/lib/connecttcp.c, line 44
- external/bsd/ipf/dist/lib/save_v1trap.c, 3 times
- external/bsd/ipf/dist/lib/save_v2trap.c, 3 times
- external/bsd/ipf/dist/samples/proxy.c, 2 times
- external/bsd/ipf/dist/samples/relay.c, line 174
- external/bsd/ipf/dist/tools/ipfsyncd.c, line 435
- external/bsd/ipf/dist/tools/ipsyncm.c, line 118
- external/bsd/iscsi/dist/src/lib/util.c, line 853
- external/bsd/kyua-cli/dist/utils/sqlite/c_gate_test.cpp, 4 times
- external/bsd/kyua-cli/dist/utils/sqlite/exceptions_test.cpp, line 65
- external/bsd/libbind/dist/irs/irp.c, line 216
- external/bsd/libbind/dist/isc/ev_connects.c, line 132
- external/bsd/libbind/dist/resolv/res_send.c, 2 times
- external/bsd/libbind/dist/tests/dig8.c, 2 times
- external/bsd/libevent/dist/evutil.c, 4 times
- external/bsd/libevent/dist/test/bench_httpclient.c, line 154
- external/bsd/libevent/dist/test/regress_http.c, line 198
- external/bsd/libpcap/dist/pcap-sita.c, line 341
- external/bsd/libpcap/dist/sockutils.c, line 437
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp, 2 times
- external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/Graph.h, line 222
- external/bsd/llvm/dist/llvm/unittests/IR/CFGBuilder.cpp, 2 times
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest.cc, line 3806
- external/bsd/lutok/dist/c_gate_test.cpp, 4 times
- external/bsd/lutok/dist/state.cpp, 3 times
- external/bsd/lutok/dist/state_test.cpp, line 111
- external/bsd/nsd/dist/nsd-control.c, line 263
- external/bsd/nsd/dist/xfrd-tcp.c, line 564
- external/bsd/ntp/dist/lib/isc/socket_api.c, line 151
- external/bsd/ntp/dist/lib/isc/unix/entropy.c, line 551
- external/bsd/ntp/dist/lib/isc/unix/socket.c, 2 times
- external/bsd/ntp/dist/ntpd/ntp_io.c, line 4051
- external/bsd/ntp/dist/ntpd/ntp_signd.c, line 52
- external/bsd/ntp/dist/ntpd/ntpd.c, line 1280
- external/bsd/ntp/dist/ntpd/refclock_gpsdjson.c, line 1907
- external/bsd/ntp/dist/ntpd/refclock_nmea.c, line 1944
- external/bsd/ntp/dist/ntpdate/ntpdate.c, line 1329
- external/bsd/ntp/dist/ntpdc/ntpdc.c, 2 times
- external/bsd/ntp/dist/ntpq/ntpq.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 4 times
- external/bsd/ntp/dist/sntp/libevent/test/bench_httpclient.c, line 155
- external/bsd/ntp/dist/sntp/libevent/test/regress_http.c, line 182
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAddRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAddRequest.h, line 21
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPBindRequest.cpp, 6 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPBindRequest.h, 3 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPCompareRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPCompareRequest.h, line 20
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPDeleteRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPDeleteRequest.h, line 18
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtRequest.h, line 19
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModDNRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModDNRequest.h, line 20
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModifyRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModifyRequest.h, line 24
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchRequest.cpp, 2 times
- external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchRequest.h, line 26
- external/bsd/openldap/dist/libraries/libldap/ldap-int.h, line 739
- external/bsd/openldap/dist/libraries/libldap/os-ip.c, line 448
- external/bsd/openldap/dist/libraries/libldap/os-local.c, line 189
- external/bsd/openldap/dist/libraries/libldap/request.c, 4 times
- external/bsd/openldap/dist/libraries/liblutil/sockpair.c, line 69
- external/bsd/openldap/dist/servers/slapd/back-ndb/init.cpp, line 124
- external/bsd/openldap/dist/servers/slapd/back-sock/opensock.c, line 62
- external/bsd/ppp/dist/pppd/auth.c, line 569
- external/bsd/ppp/dist/pppd/plugins/pppol2tp/openl2tp.c, line 95
- external/bsd/ppp/dist/pppd/plugins/pppol2tp/pppol2tp.c, line 512
- external/bsd/ppp/dist/pppd/tty.c, line 920
- external/bsd/tmux/dist/client.c, line 121
- external/bsd/unbound/dist/services/outside_network.c, 4 times
- external/bsd/unbound/dist/smallapp/unbound-anchor.c, line 753
- external/bsd/unbound/dist/smallapp/unbound-control.c, line 582
- external/bsd/unbound/dist/testcode/delayer.c, line 606
- external/bsd/unbound/dist/testcode/streamtcp.c, line 106
- external/bsd/unbound/dist/util/netevent.c, line 1627
- external/bsd/wpa/dist/hostapd/ctrl_iface.c, 2 times
- external/bsd/wpa/dist/hs20/client/osu_client.c, 3 times
- external/bsd/wpa/dist/src/common/wpa_ctrl.c, 2 times
- external/bsd/wpa/dist/src/eap_server/eap_sim_db.c, line 711
- external/bsd/wpa/dist/src/pae/ieee802_1x_cp.c, 10 times
- external/bsd/wpa/dist/src/radius/radius_client.c, 2 times
- external/bsd/wpa/dist/src/wps/http_client.c, line 158
- external/bsd/wpa/dist/wpa_supplicant/ctrl_iface_unix.c, 2 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/addinterface.cpp, line 48
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp, line 81
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp, 7 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/peers.cpp, line 91
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/scanresults.cpp, 3 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/stringquery.cpp, line 24
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp, 3 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/wpagui.cpp, 47 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_priv.c, line 812
- external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-gnome/hello.cc, 2 times
- external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-kde/hello.cc, line 61
- external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-qt/hello.cc, line 60
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, line 1917
- external/gpl2/lvm2/dist/daemons/clvmd/refresh_clvmd.c, line 71
- external/gpl2/lvm2/dist/daemons/clvmd/tcp-comms.c, line 347
- external/gpl2/lvm2/dist/lib/locking/cluster_locking.c, line 83
- external/gpl2/xcvs/dist/src/client.c, line 5185
- external/gpl2/xcvs/dist/src/kerberos4-client.c, line 64
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc, 4 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1248
- external/gpl3/gdb/dist/gdb/common/agent.c, line 169
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_socket.in.h, 10 times
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_time.in.h, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/unistd.in.h, 3 times
- external/gpl3/gdb/dist/gdb/ser-tcp.c, line 187
- external/gpl3/gdb/dist/gdb/ser-uds.c, line 52
- external/gpl3/gdb/dist/sim/cris/dv-rv.c, line 894
- external/ibm-public/postfix/dist/src/util/auto_clnt.c, 4 times
- external/ibm-public/postfix/dist/src/util/sane_connect.c, line 66
- external/mpl/bind/dist/bin/named/fuzz.c, line 706
- external/mpl/bind/dist/lib/dns/dnsrps.c, line 232
- external/mpl/bind/dist/lib/dns/include/dns/librpz.h, line 423
- external/mpl/bind/dist/lib/dns/ssu_external.c, line 93
- external/mpl/bind/dist/lib/isc/unix/socket.c, 2 times
- external/mpl/dhcp/dist/common/dhcp4o6.c, line 90
- external/mpl/dhcp/dist/omapip/connection.c, line 688
- games/hunt/hunt/hunt.c, 4 times
- lib/libbluetooth/bt_dev.c, 2 times
- lib/libbluetooth/sdp_session.c, 2 times
- lib/libc/gen/xsyslog.c, line 93
- lib/libc/net/getaddrinfo.c, line 912
- lib/libc/net/rcmd.c, line 234
- lib/libc/resolv/res_send.c, 2 times
- lib/libc/rpc/clnt_vc.c, line 266
- lib/libcompat/4.3/rexec.c, line 102
- lib/libisns/isns_socketio.c, line 69
- lib/libperfuse/perfuse.c, line 219
- lib/librumpclient/rumpclient.c, line 915
- lib/librumphijack/hijack.c, line 2403
- lib/libwrap/rfc931.c, line 189
- libexec/ftpd/ftpd.c, line 2059
- libexec/identd/identd.c, line 813
- libexec/rexecd/rexecd.c, line 210
- libexec/rshd/rshd.c, line 379
- regress/sys/compat/uipc_syscalls_43.c, line 53
- regress/sys/kern/unfdpass/unfdpass.c, line 375
- sbin/iscsid/iscsid_discover.c, line 525
- sbin/iscsid/iscsid_driverif.c, 2 times
- sbin/mount_nfs/udp_xfer.c, line 84
- sbin/mount_portal/pt_tcp.c, line 120
- sbin/ping6/ping6_hostops.c, line 51
- sbin/ping6/prog_ops.h, line 82
- share/doc/psd/20.ipctut/streamwrite.c, line 72
- share/doc/psd/20.ipctut/ustreamwrite.c, line 62
- share/examples/refuse/ian/libfetch/common.c, line 297
- share/examples/refuse/ian/libfetch/ftp.c, line 777
- sys/arch/arm/sunxi/sunxi_debe.c, 2 times
- sys/arch/arm/sunxi/sunxi_tcon.c, 2 times
- sys/arch/hpc/stand/hpcboot/file_http.cpp, 3 times
- sys/compat/linux32/common/linux32_socketcall.c, line 70
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, line 1013
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c, 4 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 1395
- sys/rump/net/lib/libsockin/sockin_user.c, line 471
- tests/kernel/t_kauth_pr_47598.c, line 139
- tests/lib/libc/sys/t_connect.c, 2 times
- tests/lib/libc/sys/t_listen.c, 2 times
- tests/lib/libc/sys/t_stat.c, line 354
- tests/lib/librumphijack/h_netget.c, line 83
- tests/net/mcast/mcast.c, line 277
- tests/net/net/t_tcp.c, 2 times
- tests/net/net/t_udp.c, 2 times
- tests/net/net/t_unix.c, line 216
- tests/net/sys/t_rfc6056.c, line 108
- usr.bin/bthset/bthset.c, line 511
- usr.bin/btkey/device.c, line 92
- usr.bin/btpin/btpin.c, 2 times
- usr.bin/finger/net.c, line 99
- usr.bin/ftp/ftp.c, 2 times
- usr.bin/ftp/util.c, line 1420
- usr.bin/nc/netcat.c, 4 times
- usr.bin/rfcomm_sppd/rfcomm_sppd.c, line 400
- usr.bin/talk/look_up.c, line 80
- usr.bin/telnet/commands.c, line 2217
- usr.bin/whois/whois.c, line 198
- usr.sbin/altq/altqstat/quip_client.c, line 124
- usr.sbin/apm/apm.c, line 138
- usr.sbin/bta2dpd/bta2dpd/bta2dpd.c, 2 times
- usr.sbin/btconfig/btconfig.c, line 450
- usr.sbin/btpand/client.c, line 90
- usr.sbin/faithd/faithd.c, line 555
- usr.sbin/faithd/ftp.c, 2 times
- usr.sbin/ldpd/ldp_peer.c, line 198
- usr.sbin/lpr/common_source/common.c, line 177
- usr.sbin/lpr/common_source/startdaemon.c, line 81
- usr.sbin/map-mbone/mapper.c, line 887
- usr.sbin/mrinfo/mrinfo.c, line 406
- usr.sbin/mrouted/vif.c, 2 times
- usr.sbin/mtrace/mtrace.c, line 1323
- usr.sbin/npf/npfctl/npfctl.c, line 360
- usr.sbin/perfused/msg.c, line 102
- usr.sbin/perfused/perfused.c, line 195
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 92
- usr.sbin/rdate/rdate.c, line 134
- usr.sbin/sup/source/scm.c, line 423
- usr.sbin/syslogd/tls.c, line 1013
- usr.sbin/timed/timedc/cmds.c, 3 times
- usr.sbin/traceroute/as.c, line 89
- usr.sbin/traceroute/traceroute_hostops.c, line 52
- usr.sbin/traceroute6/traceroute6.c, line 623