opnsense-src/lib/libifconfig
Lexi Winter 032d32c2c2 bridge: add per-interface vlan access list
The new ifconfig options 'tagged', '+tagged' and '-tagged' allow the
vlan access list of a bridge interface to be configured:

- Incoming tagged frames will be dropped if the vlan tag isn't in the
  interface's access list.

- Outgoing frames will be dropped if the vlan tag isn't in the
  interface's access list (e.g., for BUM traffic).

This has no effect if vlan filtering is not enabled on the interface.

Since we now add a tag to untagged frames at ingress, remove the
vlan argument from bridge_vfilter_out() and use VLANTAGOF instead.

Reviewed by:	des, kp, adrian
Approved by:	des (mentor)
Differential Revision:	https://reviews.freebsd.org/D50503
2025-07-05 08:04:31 +01:00
..
libifconfig.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig.h bridge: add per-interface vlan access list 2025-07-05 08:04:31 +01:00
libifconfig_bridge.c bridge: add per-interface vlan access list 2025-07-05 08:04:31 +01:00
libifconfig_carp.c carp: support VRRPv3 2024-05-08 13:19:03 +02:00
libifconfig_inet.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_inet6.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_internal.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_internal.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_lagg.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_media.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp.c <net/sff8472.h>: Conditionally export table of ID names 2025-04-28 13:06:07 -04:00
libifconfig_sfp.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables.tpl.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables_internal.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.lua libifconfig: Fix nits in the descriptions of active 100G cables. 2025-03-17 16:05:25 -07:00
Symbol.map libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00