Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 307 files:
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/lib9p/request.c, line 284
- contrib/libpcap/pcap-bpf.c, line 2069
- contrib/libpcap/pcap-netfilter-linux.c, 2 times
- contrib/libxo/libxo/xo_syslog.c, 2 times
- contrib/llvm-project/libcxx/include/errno.h, line 175
- contrib/llvm-project/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 431
- contrib/netbsd-tests/include/t_errno.c, line 400
- contrib/netbsd-tests/lib/libc/net/t_ether_aton.c, line 75
- contrib/netbsd-tests/lib/libc/sys/t_recvmmsg.c, line 143
- contrib/netcat/atomicio.c, line 54
- contrib/ntp/lib/isc/unix/errno2result.c, 2 times
- contrib/ntp/lib/isc/unix/socket.c, 6 times
- contrib/ntp/lib/isc/win32/include/isc/net.h, line 235
- contrib/ntp/ntpd/ntp_io.c, line 4733
- contrib/ntp/ntpdate/ntpdate.c, line 1879
- contrib/openbsm/bin/auditdistd/proto_common.c, line 121
- contrib/openbsm/bin/auditdistd/proto_tls.c, 3 times
- contrib/openbsm/libbsm/bsm_errno.c, line 446
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libmilter/listener.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/sendmail/src/conf.c, 4 times
- contrib/sendmail/src/err.c, 2 times
- contrib/telnet/telnet/network.c, line 152
- contrib/traceroute/rip_output.c, line 35
- contrib/unbound/util/netevent.c, 2 times
- contrib/wpa/hostapd/ctrl_iface.c, 2 times
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- crypto/heimdal/appl/telnet/telnet/network.c, line 147
- crypto/heimdal/lib/roken/socket_wrapper.c, 2 times
- lib/libc/gen/syslog.c, 2 times
- lib/libc/net/getnetbydns.c, 2 times
- lib/libopenbsd/imsg-buffer.c, 2 times
- lib/libsdp/search.c, 3 times
- lib/libsysdecode/errno.c, line 87
- sbin/hastd/proto_common.c, line 124
- sbin/ping/ping.c, line 1103
- sbin/route/route.c, line 1075
- stand/libsa/pkgfs.c, line 527
- sys/arm/allwinner/if_awg.c, 4 times
- sys/arm64/broadcom/genet/if_genet.c, 4 times
- sys/compat/cloudabi/cloudabi_errno.c, line 82
- sys/compat/linux/linux_socket.c, 2 times
- sys/compat/ndis/kern_ndis.c, line 680
- sys/contrib/ipfilter/netinet/ip_auth.c, 3 times
- sys/contrib/ipfilter/netinet/ip_fil_freebsd.c, 3 times
- sys/contrib/ipfilter/netinet/ip_nat.c, 2 times
- sys/dev/ae/if_ae.c, line 1459
- sys/dev/age/if_age.c, 10 times
- sys/dev/alc/if_alc.c, 10 times
- sys/dev/ale/if_ale.c, 8 times
- sys/dev/an/if_an.c, line 3758
- sys/dev/ath/if_ath.c, 4 times
- sys/dev/ath/if_ath_rx_edma.c, line 692
- sys/dev/ath/if_ath_tx.c, 4 times
- sys/dev/bce/if_bce.c, 9 times
- sys/dev/bfe/if_bfe.c, 5 times
- sys/dev/bge/if_bge.c, 9 times
- sys/dev/bwi/if_bwi.c, 5 times
- sys/dev/bwn/if_bwn.c, 5 times
- sys/dev/bxe/bxe.c, 6 times
- sys/dev/cas/if_cas.c, 5 times
- sys/dev/ce/if_ce.c, 2 times
- sys/dev/cp/if_cp.c, line 2146
- sys/dev/cxgb/cxgb_main.c, 3 times
- sys/dev/cxgb/sys/uipc_mvec.c, line 100
- sys/dev/cxgbe/t4_main.c, line 10814
- sys/dev/cxgbe/t4_mp_ring.c, line 374
- sys/dev/cxgbe/t4_sge.c, line 6549
- sys/dev/cxgbe/t4_vf.c, line 840
- sys/dev/cxgbe/tom/t4_tls.c, line 2097
- sys/dev/dc/if_dc.c, 7 times
- sys/dev/et/if_et.c, 5 times
- sys/dev/fxp/if_fxp.c, 7 times
- sys/dev/gem/if_gem.c, 6 times
- sys/dev/hme/if_hme.c, 6 times
- sys/dev/hyperv/input/hv_kbdc.c, line 307
- sys/dev/hyperv/netvsc/if_hn.c, 3 times
- sys/dev/hyperv/pcib/vmbus_pcib.c, line 962
- sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c, 2 times
- sys/dev/hyperv/utilities/hv_kvp.c, 2 times
- sys/dev/hyperv/utilities/hv_snapshot.c, 2 times
- sys/dev/hyperv/utilities/vmbus_heartbeat.c, line 98
- sys/dev/hyperv/utilities/vmbus_shutdown.c, line 100
- sys/dev/hyperv/utilities/vmbus_timesync.c, line 189
- sys/dev/hyperv/vmbus/vmbus_chan.c, 2 times
- sys/dev/ice/ice_strings.c, line 472
- sys/dev/if_ndis/if_ndis.c, 3 times
- sys/dev/ipw/if_ipw.c, 2 times
- sys/dev/iwi/if_iwi.c, 2 times
- sys/dev/iwm/if_iwm.c, 4 times
- sys/dev/iwm/if_iwm_scan.c, 7 times
- sys/dev/iwm/if_iwm_util.c, line 242
- sys/dev/iwn/if_iwn.c, 7 times
- sys/dev/jme/if_jme.c, 9 times
- sys/dev/lge/if_lge.c, 9 times
- sys/dev/liquidio/lio_rxtx.c, 2 times
- sys/dev/malo/if_malo.c, line 1789
- sys/dev/mge/if_mge.c, line 536
- sys/dev/mlx4/mlx4_en/mlx4_en_tx.c, 2 times
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, line 4673
- sys/dev/mlx5/mlx5_en/mlx5_en_tx.c, 3 times
- sys/dev/mpr/mpr.c, 3 times
- sys/dev/mps/mps.c, line 2702
- sys/dev/msk/if_msk.c, 18 times
- sys/dev/mwl/if_mwl.c, 2 times
- sys/dev/mxge/if_mxge.c, 2 times
- sys/dev/my/if_my.c, 6 times
- sys/dev/neta/if_mvneta.c, 9 times
- sys/dev/netmap/if_ptnet.c, line 1598
- sys/dev/netmap/netmap.c, line 3974
- sys/dev/netmap/netmap_legacy.c, line 101
- sys/dev/nfe/if_nfe.c, 9 times
- sys/dev/nge/if_nge.c, 6 times
- sys/dev/nvdimm/nvdimm_e820.c, line 197
- sys/dev/otus/if_otus.c, 3 times
- sys/dev/ppbus/if_plip.c, 3 times
- sys/dev/qat/qat.c, line 2070
- sys/dev/qat/qat_ae.c, 2 times
- sys/dev/qlnx/qlnxe/qlnx_os.c, 3 times
- sys/dev/qlxgb/qla_os.c, 3 times
- sys/dev/qlxgbe/ql_os.c, 2 times
- sys/dev/qlxge/qls_os.c, 2 times
- sys/dev/ral/rt2560.c, 6 times
- sys/dev/ral/rt2661.c, 6 times
- sys/dev/ral/rt2860.c, 6 times
- sys/dev/re/if_re.c, 9 times
- sys/dev/rtwn/if_rtwn_tx.c, 3 times
- sys/dev/rtwn/pci/rtwn_pci_tx.c, 3 times
- sys/dev/rtwn/usb/rtwn_usb_tx.c, line 239
- sys/dev/sfxge/sfxge_dma.c, line 113
- sys/dev/sfxge/sfxge_tx.c, 3 times
- sys/dev/sge/if_sge.c, 11 times
- sys/dev/sis/if_sis.c, 6 times
- sys/dev/sk/if_sk.c, 8 times
- sys/dev/ste/if_ste.c, line 1393
- sys/dev/stge/if_stge.c, 4 times
- sys/dev/ti/if_ti.c, 12 times
- sys/dev/tsec/if_tsec.c, 2 times
- sys/dev/usb/misc/udbp.c, line 729
- sys/dev/usb/net/if_usie.c, line 1223
- sys/dev/usb/net/uhso.c, line 1906
- sys/dev/usb/wlan/if_rsu.c, 2 times
- sys/dev/usb/wlan/if_rum.c, 5 times
- sys/dev/usb/wlan/if_run.c, 2 times
- sys/dev/usb/wlan/if_uath.c, 4 times
- sys/dev/usb/wlan/if_upgt.c, 8 times
- sys/dev/usb/wlan/if_ural.c, 5 times
- sys/dev/usb/wlan/if_urtw.c, 2 times
- sys/dev/usb/wlan/if_zyd.c, 2 times
- sys/dev/vge/if_vge.c, 5 times
- sys/dev/virtio/network/if_vtnet.c, 6 times
- sys/dev/virtio/scsi/virtio_scsi.c, 2 times
- sys/dev/vnic/nicvf_main.c, line 679
- sys/dev/vnic/nicvf_queues.c, 9 times
- sys/dev/vr/if_vr.c, 8 times
- sys/dev/vte/if_vte.c, 4 times
- sys/dev/wi/if_wi.c, 2 times
- sys/dev/wpi/if_wpi.c, 6 times
- sys/dev/xdma/xdma_sg.c, line 104
- sys/dev/xen/netfront/netfront.c, line 2156
- sys/dev/xl/if_xl.c, 2 times
- sys/fs/pseudofs/pseudofs_vnops.c, 2 times
- sys/gdb/gdb_main.c, line 326
- sys/kern/kern_sendfile.c, line 1048
- sys/kern/uipc_ktls.c, 2 times
- sys/kern/uipc_sockbuf.c, 3 times
- sys/kern/uipc_socket.c, 6 times
- sys/kern/uipc_usrreq.c, 8 times
- sys/kern/vfs_bio.c, line 1807
- sys/kern/vfs_export.c, line 201
- sys/mips/atheros/ar531x/if_are.c, 8 times
- sys/mips/atheros/if_arge.c, 5 times
- sys/mips/cavium/if_octm.c, 3 times
- sys/mips/nlm/dev/net/xlpge.c, 2 times
- sys/net/altq/altq_cbq.c, 3 times
- sys/net/altq/altq_codel.c, 2 times
- sys/net/altq/altq_fairq.c, 3 times
- sys/net/altq/altq_hfsc.c, 3 times
- sys/net/altq/altq_priq.c, 3 times
- sys/net/debugnet.c, 5 times
- sys/net/debugnet_inet.c, 3 times
- sys/net/if_bridge.c, 2 times
- sys/net/if_ethersubr.c, line 372
- sys/net/if_fwsubr.c, 3 times
- sys/net/if_gif.c, 3 times
- sys/net/if_gre.c, line 728
- sys/net/if_infiniband.c, line 285
- sys/net/if_lagg.c, line 2341
- sys/net/if_me.c, 3 times
- sys/net/if_spppsubr.c, 2 times
- sys/net/if_stf.c, 2 times
- sys/net/if_tuntap.c, 5 times
- sys/net/if_vxlan.c, 2 times
- sys/net/iflib.c, 6 times
- sys/net/ifq.h, line 172
- sys/net/mp_ring.c, 2 times
- sys/net/netisr.c, 3 times
- sys/net/route/nhop_ctl.c, line 562
- sys/net/route/route_ctl.c, line 472
- sys/net/rtsock.c, 6 times
- sys/net80211/ieee80211.c, 2 times
- sys/net80211/ieee80211_output.c, 8 times
- sys/netgraph/atm/ccatm/ng_ccatm.c, 2 times
- sys/netgraph/atm/sscop/ng_sscop.c, 2 times
- sys/netgraph/bluetooth/drivers/h4/ng_h4.c, line 808
- sys/netgraph/bluetooth/hci/ng_hci_cmds.c, 5 times
- sys/netgraph/bluetooth/hci/ng_hci_evnt.c, 18 times
- sys/netgraph/bluetooth/hci/ng_hci_main.c, 6 times
- sys/netgraph/bluetooth/hci/ng_hci_ulpi.c, 6 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c, line 204
- sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c, 20 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c, 3 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c, 12 times
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, 5 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, 4 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c, line 307
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, 8 times
- sys/netgraph/bluetooth/socket/ng_btsocket_sco.c, 4 times
- sys/netgraph/netflow/ng_netflow.c, line 686
- sys/netgraph/ng_UI.c, 2 times
- sys/netgraph/ng_async.c, line 478
- sys/netgraph/ng_bpf.c, line 461
- sys/netgraph/ng_bridge.c, 2 times
- sys/netgraph/ng_checksum.c, 6 times
- sys/netgraph/ng_cisco.c, 2 times
- sys/netgraph/ng_device.c, 2 times
- sys/netgraph/ng_ether.c, 3 times
- sys/netgraph/ng_frame_relay.c, 3 times
- sys/netgraph/ng_gif.c, 2 times
- sys/netgraph/ng_gif_demux.c, 2 times
- sys/netgraph/ng_hub.c, line 139
- sys/netgraph/ng_iface.c, line 383
- sys/netgraph/ng_ipfw.c, line 247
- sys/netgraph/ng_ksocket.c, line 904
- sys/netgraph/ng_l2tp.c, 8 times
- sys/netgraph/ng_mppc.c, 2 times
- sys/netgraph/ng_nat.c, line 778
- sys/netgraph/ng_one2many.c, line 467
- sys/netgraph/ng_patch.c, line 573
- sys/netgraph/ng_ppp.c, 13 times
- sys/netgraph/ng_pppoe.c, 7 times
- sys/netgraph/ng_pptpgre.c, 6 times
- sys/netgraph/ng_rfc1490.c, 6 times
- sys/netgraph/ng_sample.c, line 220
- sys/netgraph/ng_socket.c, 3 times
- sys/netgraph/ng_source.c, 4 times
- sys/netgraph/ng_tcpmss.c, line 298
- sys/netgraph/ng_tty.c, 2 times
- sys/netgraph/ng_vjc.c, 5 times
- sys/netgraph/ng_vlan.c, line 211
- sys/netinet/in_gif.c, line 286
- sys/netinet/in_mcast.c, 2 times
- sys/netinet/in_pcb.c, 4 times
- sys/netinet/ip_divert.c, 2 times
- sys/netinet/ip_input.c, line 1129
- sys/netinet/ip_mroute.c, 11 times
- sys/netinet/ip_output.c, 9 times
- sys/netinet/raw_ip.c, line 476
- sys/netinet/sctp_output.c, 16 times
- sys/netinet/sctp_pcb.c, 9 times
- sys/netinet/sctp_usrreq.c, 5 times
- sys/netinet/sctputil.c, 4 times
- sys/netinet/tcp_log_buf.c, 4 times
- sys/netinet/tcp_output.c, 4 times
- sys/netinet/tcp_stacks/bbr.c, 5 times
- sys/netinet/tcp_stacks/rack.c, 4 times
- sys/netinet/tcp_syncache.c, line 1802
- sys/netinet/tcp_timewait.c, line 557
- sys/netinet/tcp_usrreq.c, 2 times
- sys/netinet/udp_usrreq.c, 2 times
- sys/netinet6/in6.c, 2 times
- sys/netinet6/in6_gif.c, line 304
- sys/netinet6/in6_mcast.c, 2 times
- sys/netinet6/ip6_forward.c, line 416
- sys/netinet6/ip6_mroute.c, 12 times
- sys/netinet6/ip6_output.c, 20 times
- sys/netinet6/nd6.c, 3 times
- sys/netinet6/raw_ip6.c, 2 times
- sys/netinet6/send.c, 2 times
- sys/netinet6/udp6_usrreq.c, line 904
- sys/netipsec/ipsec_input.c, line 307
- sys/netipsec/ipsec_output.c, 2 times
- sys/netipsec/ipsec_pcb.c, 4 times
- sys/netipsec/key.c, 74 times
- sys/netipsec/keysock.c, 5 times
- sys/netipsec/udpencap.c, line 230
- sys/netipsec/xform_ah.c, 9 times
- sys/netipsec/xform_esp.c, 8 times
- sys/netipsec/xform_ipcomp.c, 5 times
- sys/netpfil/ipfw/ip_dn_io.c, line 980
- sys/netpfil/ipfw/nat64/nat64_translate.c, line 561
- sys/netpfil/pf/pf_norm.c, line 417
- sys/nfs/krpc_subr.c, 2 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, 3 times
- sys/opencrypto/cryptosoft.c, 4 times
- sys/powerpc/ps3/if_glc.c, 3 times
- sys/powerpc/pseries/phyp_llan.c, 2 times
- sys/security/audit/bsm_errno.c, line 450
- sys/sys/buf_ring.h, line 92
- sys/sys/mbuf.h, line 1550
- sys/xen/error.h, line 74
- sys/xen/interface/errno.h, line 74
- tools/regression/sockets/kqueue/kqueue.c, line 221
- usr.sbin/ppp/physical.c, line 410
- usr.sbin/syslogd/syslogd.c, line 1891