freebsd-src/sys/netlink
Gleb Smirnoff 349fcf079c net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming
and don't trigger ifnet_arrival_event and ifnet_departure_event for a
rename, as the interface isn't being detached from any protocol.  The
consumers of the arrival/departure events are divided into a few
categories:
- which indeed need to do the same actions as if interface was fully
  detached and attached: routing socket and netlink notifications to
  userland and the Linux sysfs.  All addressed by this commit.
- which build their logic based on an interface name, but should actually
  update their database on rename: packet filters.  This commit leaves
  them with the old behavior - emulate full detach & attach, but this
  should be improved.
- which shouldn't do anything on rename, not touched by the commit.
- ng_ether and if_tuntap, that are special and will be addressed by
  separate commits.
2025-12-21 18:23:14 -08:00
..
route net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
ktest_netlink_message_writer.c
ktest_netlink_message_writer.h
netlink.h
netlink_bitset.h
netlink_ctl.h netlink: provide genl_unregister_group() 2025-02-05 10:09:06 -08:00
netlink_debug.h
netlink_domain.c netlink: refuse a send(2) that is larger than socket buffer 2025-02-28 15:39:15 -08:00
netlink_generic.c netlink: plug lock leak in genl_register_family() 2025-11-08 10:02:32 -08:00
netlink_generic.h
netlink_glue.c netlink: don't store an extra pointer to so_cred 2025-02-04 16:54:21 -08:00
netlink_io.c linux: store Linux Ethernet interface number in struct ifnet 2025-12-08 09:20:22 -08:00
netlink_linux.h linux: store Linux Ethernet interface number in struct ifnet 2025-12-08 09:20:22 -08:00
netlink_message_parser.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netlink_message_parser.h nlmsg_report_err_msg: add __printflike annotation 2025-07-15 06:12:45 +01:00
netlink_message_writer.c
netlink_message_writer.h linux: store Linux Ethernet interface number in struct ifnet 2025-12-08 09:20:22 -08:00
netlink_module.c netlink: initialize VNET context with VNET_SYSINIT() 2025-02-04 16:54:21 -08:00
netlink_route.c
netlink_route.h
netlink_snl.h netlink: Don't overwrite existing data in a linear buffer in snl_writer 2025-12-10 10:30:31 -05:00
netlink_snl_generic.h netlink: Move static arrays of parsers into tests that use them 2025-04-11 09:52:39 -04:00
netlink_snl_route.h
netlink_snl_route_compat.h
netlink_snl_route_parsers.h netlink: Move static arrays of parsers into tests that use them 2025-04-11 09:52:39 -04:00
netlink_sysevent.c netlink: refactor KPI for generic Netlink modules 2025-02-05 10:09:06 -08:00
netlink_sysevent.h
netlink_var.h netlink: provide genl_unregister_group() 2025-02-05 10:09:06 -08:00