Skip to content

feat: add vlan and qinq symbolic names for allow_ethertype#52

Open
leodido wants to merge 1 commit intofeat/allow-ethertypefrom
feat/ethertype-vlan-names
Open

feat: add vlan and qinq symbolic names for allow_ethertype#52
leodido wants to merge 1 commit intofeat/allow-ethertypefrom
feat/ethertype-vlan-names

Conversation

@leodido
Copy link
Copy Markdown
Owner

@leodido leodido commented May 4, 2026

Add vlan (0x8100) and qinq (0x88A8) to the EtherType symbolic name table so users on VLAN-tagged networks can write allow_ethertype ipv4+arp+vlan instead of raw hex values.

Changes

  • api/input_parse.h: add vlan0x8100 and qinq0x88A8 to g_ethertype_names[]
  • test/cli.flags.bats: two tests verifying the names resolve to the correct hex values (via duplicate detection)
  • README.txt, docs/README.md: updated symbolic name lists and VLAN documentation to reference the new names

Stacked on

Add 'vlan' (0x8100) and 'qinq' (0x88A8) to the EtherType name
lookup table. Users on VLAN-tagged networks can now write
'allow_ethertype ipv4+arp+vlan' instead of using raw hex values.

Co-authored-by: Ona <no-reply@ona.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants