Defined in 3 files as a macro:
Referenced in 274 files:
- contrib/apr/network_io/unix/sockets.c, line 150
- contrib/apr/network_io/unix/sockopt.c, 4 times
- contrib/blacklist/bin/conf.c, 2 times
- contrib/blacklist/bin/run.c, line 127
- contrib/dma/dns.c, line 76
- contrib/gdb/gdb/gdbserver/gdbreplay.c, line 144
- contrib/gdb/gdb/gdbserver/remote-utils.c, line 152
- contrib/gdb/gdb/ser-tcp.c, line 186
- contrib/ipfilter/ip_fil_compat.c, 2 times
- contrib/ipfilter/ipsend/ip.c, 2 times
- contrib/ipfilter/ipsend/ipsend.c, 7 times
- contrib/ipfilter/ipsend/resend.c, 3 times
- contrib/ipfilter/lib/ipft_tx.c, 13 times
- contrib/ipfilter/lib/printaps.c, line 45
- contrib/ipfilter/lib/printfr.c, line 202
- contrib/ipfilter/lib/printpacket.c, 3 times
- contrib/ipfilter/lib/printpacket6.c, 2 times
- contrib/ipfilter/lib/printstate.c, 4 times
- contrib/ipfilter/samples/proxy.c, line 150
- contrib/ipfilter/tools/ipfcomp.c, line 620
- contrib/ipfilter/tools/ipfstat.c, 4 times
- contrib/ipfilter/tools/ipfsyncd.c, line 652
- contrib/ipfilter/tools/ipftest.c, line 682
- contrib/ipfilter/tools/ipmon.c, 5 times
- contrib/ipfilter/tools/ipsyncm.c, line 197
- contrib/ipfilter/tools/ipsyncs.c, line 215
- contrib/ldns/net.c, line 200
- contrib/libevent/bufferevent_sock.c, line 515
- contrib/libevent/evutil.c, 6 times
- contrib/libevent/sample/dns-example.c, line 243
- contrib/libevent/test/regress_dns.c, 21 times
- contrib/libevent/test/regress_util.c, 13 times
- contrib/libpcap/gencode.c, 18 times
- contrib/libpcap/nametoaddr.c, 3 times
- contrib/llvm-project/lldb/source/Host/common/TCPSocket.cpp, 5 times
- contrib/netcat/netcat.c, 9 times
- contrib/ntp/lib/isc/unix/socket.c, line 2261
- contrib/ntp/lib/isc/win32/net.c, line 75
- contrib/ntp/lib/isc/win32/socket.c, 4 times
- contrib/ntp/ntpd/ntp_config.c, line 4868
- contrib/ntp/ntpd/refclock_gpsdjson.c, 2 times
- contrib/ntp/ntpd/refclock_nmea.c, line 1809
- contrib/ntp/sntp/libevent/bufferevent_sock.c, line 489
- contrib/ntp/sntp/libevent/evutil.c, 6 times
- contrib/ntp/sntp/libevent/test/regress_dns.c, 21 times
- contrib/ntp/sntp/libevent/test/regress_util.c, 13 times
- contrib/ofed/librdmacm/acm.c, line 145
- contrib/ofed/librdmacm/addrinfo.c, 3 times
- contrib/ofed/librdmacm/examples/riostream.c, line 336
- contrib/ofed/librdmacm/examples/rstream.c, 3 times
- contrib/ofed/librdmacm/preload.c, 5 times
- contrib/ofed/librdmacm/rsocket.c, 3 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 2 times
- contrib/pf/ftp-proxy/filter.c, 3 times
- contrib/pf/ftp-proxy/ftp-proxy.c, 2 times
- contrib/pf/tftp-proxy/filter.c, 4 times
- contrib/sendmail/src/milter.c, 3 times
- contrib/tcpdump/ipproto.c, line 30
- contrib/tcpdump/ipproto.h, line 56
- contrib/tcpdump/print-cnfp.c, 3 times
- contrib/tcpdump/print-icmp.c, line 387
- contrib/tcpdump/print-icmp6.c, 2 times
- contrib/tcpdump/print-ip.c, 2 times
- contrib/tcpdump/print-ip6.c, 2 times
- contrib/tcpdump/print-pfsync.c, 2 times
- contrib/tcpdump/print-tcp.c, 5 times
- contrib/traceroute/traceroute.c, line 456
- contrib/unbound/compat/getentropy_osx.c, line 197
- contrib/unbound/services/listen_dnsport.c, 5 times
- contrib/unbound/services/outside_network.c, 4 times
- contrib/unbound/smallapp/unbound-control.c, line 554
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 68
- crypto/heimdal/appl/kf/kf.c, line 294
- crypto/heimdal/appl/push/push.c, 2 times
- crypto/heimdal/appl/rsh/rsh.c, 2 times
- crypto/heimdal/appl/telnet/telnet/commands.c, line 2163
- crypto/heimdal/appl/test/common.c, line 149
- crypto/heimdal/kdc/hprop.c, line 62
- crypto/heimdal/lib/kadm5/init_c.c, line 422
- crypto/heimdal/lib/kadm5/log.c, line 1029
- crypto/heimdal/lib/roken/getaddrinfo.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo_hostspec.c, 3 times
- crypto/openssh/misc.c, 2 times
- crypto/openssh/regress/netcat.c, 4 times
- crypto/openssl/apps/s_socket.c, line 150
- crypto/openssl/crypto/bio/b_addr.c, 2 times
- crypto/openssl/crypto/bio/b_sock.c, 4 times
- crypto/openssl/crypto/bio/b_sock2.c, 2 times
- lib/libc/net/getaddrinfo.c, 3 times
- lib/libc/rpc/clnt_generic.c, line 383
- lib/libc/rpc/pmap_clnt.c, line 72
- lib/libc/rpc/rpc_generic.c, 4 times
- lib/libc/rpc/rpc_soc.c, line 120
- lib/libc/rpc/rpcb_clnt.c, line 772
- lib/libc/rpc/svc_vc.c, 2 times
- lib/libc/tests/nss/getaddrinfo_test.c, line 364
- lib/libfetch/ftp.c, line 659
- lib/libfetch/http.c, 3 times
- lib/libipsec/ipsec_dump_policy.c, line 202
- lib/libprocstat/libprocstat.c, 2 times
- lib/libsysdecode/flags.c, line 921
- lib/libtacplus/taclib.c, line 242
- libexec/fingerd/fingerd.c, line 113
- libexec/ftpd/ftpd.c, 2 times
- libexec/ypxfr/ypxfr_main.c, line 412
- sbin/dump/dumprmt.c, line 181
- sbin/ggate/shared/ggate.c, line 286
- sbin/hastd/proto_tcp.c, 2 times
- sbin/ipfw/nat.c, line 263
- sbin/ipfw/nat64lsn.c, 2 times
- sbin/iscontrol/fsm.c, 2 times
- sbin/mount_nfs/mount_nfs.c, 9 times
- sbin/natd/natd.c, 4 times
- sbin/pfctl/pf_print_state.c, line 266
- sbin/pfctl/pfctl_parser.c, 3 times
- sbin/ping6/ping6.c, line 2704
- sbin/setkey/test-pfkey.c, line 508
- sys/cam/ctl/ctl_ha.c, 3 times
- sys/compat/linux/linux_socket.c, 2 times
- sys/contrib/ipfilter/netinet/fil.c, 7 times
- sys/contrib/ipfilter/netinet/ip_fil_freebsd.c, 3 times
- sys/contrib/ipfilter/netinet/ip_log.c, line 384
- sys/contrib/ipfilter/netinet/ip_nat.c, 17 times
- sys/contrib/ipfilter/netinet/ip_nat6.c, 9 times
- sys/contrib/ipfilter/netinet/ip_proxy.c, 10 times
- sys/contrib/ipfilter/netinet/ip_rpcb_pxy.c, 3 times
- sys/contrib/ipfilter/netinet/ip_state.c, 15 times
- sys/contrib/ipfilter/netinet/ip_sync.c, 3 times
- sys/dev/age/if_age.c, line 1589
- sys/dev/al_eth/al_eth.c, 2 times
- sys/dev/alc/if_alc.c, line 2798
- sys/dev/ale/if_ale.c, line 1724
- sys/dev/bce/if_bce.c, 2 times
- sys/dev/bxe/bxe.c, 2 times
- sys/dev/cas/if_cas.c, line 581
- sys/dev/cxgb/cxgb_sge.c, line 1507
- sys/dev/cxgbe/crypto/t4_kern_tls.c, 2 times
- sys/dev/cxgbe/cxgbei/icl_cxgbei.c, 3 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, 2 times
- sys/dev/cxgbe/tom/t4_tls.c, line 2091
- sys/dev/cxgbe/tom/t4_tom.c, 6 times
- sys/dev/e1000/igb_txrx.c, line 195
- sys/dev/ena/ena_datapath.c, line 768
- sys/dev/fxp/if_fxp.c, 2 times
- sys/dev/gem/if_gem.c, line 519
- sys/dev/hme/if_hme.c, line 1250
- sys/dev/hyperv/netvsc/if_hn.c, 7 times
- sys/dev/ice/ice_common_txrx.h, line 230
- sys/dev/iscsi/icl_soft.c, line 1315
- sys/dev/ixgbe/if_fdir.c, line 112
- sys/dev/ixgbe/ix_txrx.c, line 133
- sys/dev/ixl/ixl_txrx.c, line 247
- sys/dev/jme/if_jme.c, 2 times
- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c, 2 times
- sys/dev/mlx4/mlx4_en/mlx4_en_tx.c, 2 times
- sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c, line 333
- sys/dev/mlx5/mlx5_en/mlx5_en_tx.c, 2 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, line 1828
- sys/dev/msk/if_msk.c, line 3153
- sys/dev/mxge/if_mxge.c, 6 times
- sys/dev/oce/oce_if.c, 3 times
- sys/dev/qlnx/qlnxe/ecore_iwarp.c, 2 times
- sys/dev/qlxgb/qla_hw.c, 3 times
- sys/dev/qlxgbe/ql_hw.c, 6 times
- sys/dev/qlxge/qls_hw.c, 3 times
- sys/dev/sfxge/sfxge_rx.c, 2 times
- sys/dev/sfxge/sfxge_tx.c, 4 times
- sys/dev/sge/if_sge.c, line 1464
- sys/dev/tsec/if_tsec.c, line 1867
- sys/dev/usb/net/if_smsc.c, line 1038
- sys/dev/virtio/network/if_vtnet.c, 2 times
- sys/dev/virtio/network/virtio_net.h, 2 times
- sys/dev/vmware/vmxnet3/if_vmx.c, line 1372
- sys/dev/vnic/nicvf_queues.c, line 1816
- sys/dev/xen/netback/netback.c, 2 times
- sys/dev/xen/netback/netback_unit_tests.c, line 2315
- sys/fs/nfsserver/nfs_nfsdstate.c, 2 times
- sys/kern/kern_sendfile.c, line 941
- sys/kern/sys_socket.c, line 385
- sys/kern/uipc_ktls.c, 3 times
- sys/kern/uipc_mbufhash.c, line 113
- sys/kgssapi/gsstest.c, line 694
- sys/net/altq/altq_subr.c, 2 times
- sys/net/if_spppfr.c, line 325
- sys/net/if_spppsubr.c, 3 times
- sys/net/iflib.c, 6 times
- sys/net/slcompress.c, line 471
- sys/netgraph/netflow/netflow.c, 4 times
- sys/netgraph/netflow/ng_netflow.c, 2 times
- sys/netgraph/ng_checksum.c, 2 times
- sys/netgraph/ng_ksocket.c, line 143
- sys/netgraph/ng_nat.c, 2 times
- sys/netgraph/ng_tcpmss.c, line 315
- sys/netgraph/ng_vjc.c, 2 times
- sys/netinet/in_proto.c, 2 times
- sys/netinet/in_rss.c, 4 times
- sys/netinet/ip_icmp.c, line 254
- sys/netinet/libalias/alias.c, 13 times
- sys/netinet/libalias/alias_db.c, 8 times
- sys/netinet/libalias/alias_ftp.c, 2 times
- sys/netinet/libalias/alias_irc.c, line 369
- sys/netinet/libalias/alias_proxy.c, 3 times
- sys/netinet/siftr.c, 2 times
- sys/netinet/tcp_input.c, 3 times
- sys/netinet/tcp_lro.c, 3 times
- sys/netinet/tcp_output.c, 2 times
- sys/netinet/tcp_stacks/bbr.c, 2 times
- sys/netinet/tcp_stacks/rack.c, 2 times
- sys/netinet/tcp_stacks/rack_bbr_common.c, 3 times
- sys/netinet/tcp_subr.c, 6 times
- sys/netinet/tcp_syncache.c, 5 times
- sys/netinet/tcp_timewait.c, 2 times
- sys/netinet/tcp_usrreq.c, line 1735
- sys/netinet6/in6_proto.c, 2 times
- sys/netinet6/in6_rss.c, 4 times
- sys/netinet6/ip6_output.c, 4 times
- sys/netipsec/ipsec.c, 2 times
- sys/netipsec/ipsec_input.c, line 325
- sys/netipsec/ipsec_pcb.c, line 146
- sys/netipsec/key.c, 10 times
- sys/netipsec/udpencap.c, 2 times
- sys/netipsec/xform_tcp.c, 4 times
- sys/netpfil/ipfw/dn_sched_fq_codel.c, 2 times
- sys/netpfil/ipfw/dn_sched_fq_pie.c, 2 times
- sys/netpfil/ipfw/ip_fw2.c, 21 times
- sys/netpfil/ipfw/ip_fw_dynamic.c, 7 times
- sys/netpfil/ipfw/ip_fw_log.c, line 331
- sys/netpfil/ipfw/ip_fw_nat.c, 2 times
- sys/netpfil/ipfw/nat64/nat64_translate.c, 4 times
- sys/netpfil/ipfw/nat64/nat64lsn.c, 14 times
- sys/netpfil/ipfw/nat64/nat64lsn_control.c, 4 times
- sys/netpfil/ipfw/pmod/tcpmod.c, line 205
- sys/netpfil/pf/if_pfsync.c, 3 times
- sys/netpfil/pf/pf.c, 29 times
- sys/netpfil/pf/pf_ioctl.c, line 2285
- sys/netpfil/pf/pf_lb.c, 2 times
- sys/netpfil/pf/pf_osfp.c, line 80
- sys/netsmb/smb_trantcp.c, 2 times
- sys/nlm/nlm_prot_impl.c, line 439
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, 3 times
- sys/rpc/clnt_vc.c, 2 times
- sys/rpc/rpc_generic.c, 4 times
- sys/rpc/rpcb_clnt.c, line 810
- sys/rpc/svc_vc.c, 2 times
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 131
- tools/tools/net80211/w00t/redir/buddy.c, line 136
- tools/tools/net80211/w00t/redir/redir.c, line 434
- tools/tools/netmap/pkt_hash.c, 2 times
- tools/tools/netrate/tcpp/tcpp_client.c, line 110
- tools/tools/netrate/tcpp/tcpp_server.c, line 246
- usr.bin/fstat/fstat.c, line 423
- usr.bin/netstat/inet.c, 2 times
- usr.bin/netstat/main.c, 4 times
- usr.bin/procstat/procstat_files.c, 2 times
- usr.bin/rpcinfo/rpcinfo.c, 2 times
- usr.bin/sockstat/sockstat.c, 7 times
- usr.bin/systat/ip6.c, line 227
- usr.bin/systat/tcp.c, 3 times
- usr.sbin/bhyve/dbgport.c, line 94
- usr.sbin/nfsd/nfsd.c, 7 times
- usr.sbin/ppp/filter.c, 2 times
- usr.sbin/ppp/ip.c, 2 times
- usr.sbin/ppp/nat_cmd.c, line 126
- usr.sbin/ppp/slcompress.c, line 450
- usr.sbin/ppp/tcpmss.c, line 163
- usr.sbin/ppp/vjcomp.c, line 84
- usr.sbin/rpc.ypupdated/ypupdated_main.c, line 263
- usr.sbin/rpc.ypxfrd/ypxfrd_main.c, line 280
- usr.sbin/rpcbind/pmap_svc.c, line 225
- usr.sbin/rpcbind/rpcb_svc_com.c, 2 times
- usr.sbin/rpcbind/rpcbind.c, line 575
- usr.sbin/traceroute6/traceroute6.c, 7 times
- usr.sbin/ypbind/ypbind.c, line 461
- usr.sbin/ypldap/yp.c, line 129