freebsd-src/sys/net
Brooks Davis 31e7dc6b9a iflib: remove convoluted custom zeroing code
Replace a collection of aliasing violations and ifdefs with memset
(which now expands to __builtin_memset and should be quite reliably
inlined.)  The old code is hard to maintain as evidenced by the most
recent change to if_pkt_info_t updating the defines, but not the zeroing
code.

Reviewed by:	gallatin, erj
Effort:		CHERI upstreaming
Sponsored by:	Innovate UK
Fixes:		43d7ee540e ("iflib: support for transmit side nic KTLS offload")
Differential Revision:	https://reviews.freebsd.org/D54605
2026-01-09 14:19:49 +00:00
..
altq altq(4): Fix a typo in a source code comment 2025-12-13 10:54:25 +01:00
route net: routing table attach never fails 2025-12-04 11:12:03 -08:00
bpf.c bpf: add a crutch to support if_vmove 2025-12-18 08:46:20 -08:00
bpf.h bpf: add a crutch to support if_vmove 2025-12-18 08:46:20 -08:00
bpf_buffer.c
bpf_buffer.h
bpf_filter.c
bpf_ifnet.c bpf: add missing IFT_BRIDGE in the write method 2025-12-19 11:23:17 -08:00
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c
bpf_zerocopy.h
bpfdesc.h bpf: convert several boolean natured fields of bpf_d to flags 2025-12-12 16:43:45 -08:00
bridgestp.c bridge: store a bridge_iflist pointer in ifnet 2025-04-09 09:39:01 +02:00
bridgestp.h
debugnet.c debugnet: Use precise types when accessing mbuf contents 2024-10-11 13:23:25 +00:00
debugnet.h
debugnet_inet.c
debugnet_int.h
dlt.h
dummymbuf.c dummymbuf: add 'enlarge' 2025-01-17 17:00:08 +01:00
ethernet.h ng_ether: refactor to use interface EVENTHANDLER(9)s 2025-12-21 18:23:14 -08:00
firewire.h
ieee8023ad_lacp.c lacp: Sort port map by interface index 2025-12-15 12:08:59 -05:00
ieee8023ad_lacp.h
ieee_oui.h
if.c ng_ether: refactor to use interface EVENTHANDLER(9)s 2025-12-21 18:23:14 -08:00
if.h if.h: Fix a couple of typos in comments 2025-11-25 10:35:44 -08:00
if_arp.h
if_bridge.c bridge: Allow BRDGSIFVLANSET without IFBRF_VLANFILTER 2026-01-03 02:57:16 +00:00
if_bridgevar.h bridge: Restore ABI compatibility with 14.x 2025-08-23 00:43:48 +01:00
if_clone.c if_clone: don't overwrite dump_nl of an attaching cloner with default 2025-12-15 08:53:47 -08:00
if_clone.h tun(4)/tap(4): allow devices to be configured as transient 2025-08-21 09:22:44 -05:00
if_dead.c
if_disc.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
if_dl.h link_addr: be more strict about address formats 2025-05-15 01:02:52 +01:00
if_edsc.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
if_enc.c if_enc(4): Use new KPI to create enc interface 2024-10-12 21:37:53 +08:00
if_enc.h
if_epair.c epair: add support for checksum offloading 2025-09-04 14:06:20 +02:00
if_ethersubr.c ng_ether: refactor to use interface EVENTHANDLER(9)s 2025-12-21 18:23:14 -08:00
if_fwsubr.c if_firewire: Make firewire_broadcastaddr static const 2025-06-01 22:47:24 +08:00
if_gif.c EtherIP: Fix passing the address family from if_bridge(4) to gif(4) 2025-08-08 18:17:51 +08:00
if_gif.h if_gif(4): Support the NOCLAMP flag to change MTU handling for IPv6 2025-07-21 22:47:28 +09:00
if_gre.c
if_gre.h
if_infiniband.c if_infininband: Support BPF write for broadcast frames 2025-02-23 16:13:09 -08:00
if_ipsec.c sys/netipsec: ensure sah stability during input callback processing 2025-12-22 14:31:25 +02:00
if_ipsec.h
if_lagg.c lagg: Fix if_hw_tsomax_update() not being called 2025-07-12 18:35:29 -04:00
if_lagg.h
if_llatbl.c lltable: use own lock 2025-12-08 09:20:56 -08:00
if_llatbl.h lltable: use own lock 2025-12-08 09:20:56 -08:00
if_llc.h
if_loop.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
if_me.c
if_media.c sys: don't panic on ifm_status being NULL 2025-05-06 21:22:18 -07:00
if_media.h Fix typo in recently added 400G media 2025-11-13 22:10:35 -08:00
if_mib.c
if_mib.h
if_ovpn.c if_ovpn: use epoch to free peers 2025-12-09 15:17:48 +01:00
if_ovpn.h if_ovpn: support floating clients 2025-07-28 16:36:54 +02:00
if_pflog.h pf: make log(matches) more useful 2025-02-21 09:11:03 +01:00
if_pfsync.h pf: Add pfsync protocol for FreeBSD 15 2025-09-23 12:06:33 +02:00
if_private.h net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
if_stf.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
if_stf.h
if_strings.h <net/if_strings.h>: Conditionally export table of bit names 2025-04-28 13:05:38 -04:00
if_tap.h tun(4)/tap(4): allow devices to be configured as transient 2025-08-21 09:22:44 -05:00
if_tun.h tun(4)/tap(4): allow devices to be configured as transient 2025-08-21 09:22:44 -05:00
if_tuntap.c if_tuntap: use ifnet_rename_event instead of ifnet_arrival_event 2025-12-21 18:23:14 -08:00
if_types.h sys: add MBIM (mobile broadband interface module) interface type. 2025-01-20 23:39:17 +00:00
if_var.h net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
if_vlan.c vlan: plug a new panic associated with interface removal 2025-12-17 13:13:42 -08:00
if_vlan_var.h sys/net: move DOT1Q_VID_* constants to ethernet.h 2025-07-05 00:21:51 +01:00
if_vxlan.c if_vxlan: fix byteorder of source port 2025-10-21 22:00:27 +02:00
if_vxlan.h
ifdi_if.m ifdi: fix signature mismatch for null_priv_ioctl 2025-02-25 09:21:51 -05:00
iflib.c iflib: remove convoluted custom zeroing code 2026-01-09 14:19:49 +00:00
iflib.h iflib: support for transmit side nic KTLS offload 2025-12-21 09:45:12 -05:00
ifq.c
ifq.h
infiniband.h
mp_ring.c
mp_ring.h
mppc.h
mppcc.c
mppcd.c
netisr.c netisr: fix compilation without VIMAGE 2025-01-16 20:32:53 -08:00
netisr.h
netisr_internal.h
netmap.h
netmap_legacy.h
netmap_user.h
netmap_virt.h
paravirt.h
pfil.c
pfil.h
pfkeyv2.h sys/pfkeyv2.h: define extensions for ipsec inline accel control 2024-07-12 06:29:31 +03:00
pflow.h
pfvar.h pf: sprinkle const over pf_addr_cmp() 2026-01-02 17:05:29 +01:00
ppp_defs.h
radix.c
radix.h
rndis.h
route.c net: fix LINT-NOIP build 2025-12-06 08:23:19 -08:00
route.h ipfw: migrate ipfw to 32-bit size rule numbers 2025-03-03 21:15:17 +03:00
rss_config.c rss: Enable portions of RSS globally to enable symmetric hashing 2025-11-22 09:29:31 -05:00
rss_config.h rss: Enable portions of RSS globally to enable symmetric hashing 2025-11-22 09:29:31 -05:00
rtsock.c net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
sff8436.h sys/net/sff8436.h: Fix the register address of link length of copper or active cable 2025-11-17 01:02:02 +08:00
sff8472.h net/sff8472.h: add double-include protection 2025-04-29 06:20:10 +03:00
slcompress.c tcp: extend the use of the th_flags accessor function 2024-11-29 09:48:23 +01:00
slcompress.h
toeplitz.c
toeplitz.h
vnet.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
vnet.h net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00