freebsd-src/sys/netlink/route
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
..
common.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
iface.c net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
iface_drivers.c netlink: Bypass refcounting when setting promiscuity 2025-08-26 00:40:17 +02:00
ifaddrs.h netlink: add support for adding/deleting interface addresses 2023-05-16 19:39:13 +00:00
interface.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
neigh.c lltable: use own lock 2025-12-08 09:20:56 -08:00
neigh.h netlink(4): Fix a typo in a source code comment 2024-01-22 21:52:16 +01:00
nexthop.c netlink: augment group writer with priv(9) argument 2025-01-10 20:55:39 -08:00
nexthop.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
route.h netlink/route: reformat comment to fit 80 chars 2024-06-20 16:10:39 -07:00
route_var.h netlink/route: Support modifying IFLA_ADDRESS with RTM_NEWLINK 2025-08-23 21:11:42 +02:00
rt.c jail: add allow.routing jail permission 2025-05-12 23:13:18 +01:00