ENUM RTL8365MB_VLAN_EGRESS_MODE(9)
π enum rtl8365mb_vlan_egress_mode(9)
okay bestie, welcome to the Kernel API Manual β¨ this is the page for enum rtl8365mb_vlan_egress_mode, and honestly? it's a little gem. it's all about port VLAN egress mode β i.e. what happens to the VLAN tag on packets leaving a port. no cap, once you get it you'll be obsessed π«Ά
πΈ NAME
enum rtl8365mb_vlan_egress_mode β port VLAN egress mode π
β¨ SYNOPSIS
enum rtl8365mb_vlan_egress_mode {
RTL8365MB_VLAN_EGRESS_MODE_ORIGINAL ,
RTL8365MB_VLAN_EGRESS_MODE_KEEP ,
RTL8365MB_VLAN_EGRESS_MODE_PRI_TAG ,
RTL8365MB_VLAN_EGRESS_MODE_REAL_KEEP
};
π¦ Constants
like, four whole vibes to choose from, and each one is a different egress personality π
RTL8365MB_VLAN_EGRESS_MODE_ORIGINALβ follow the untag mask in the VLAN4k table entry. that's the whole instruction, she's straightforward πRTL8365MB_VLAN_EGRESS_MODE_KEEPβ the VLAN tag format of egressed packets stays the same as their ingressed format, but the priority and VID fields may be altered π so it's "keep" with a lil asterisk, iykykRTL8365MB_VLAN_EGRESS_MODE_PRI_TAGβ always egress with a priority tag. always. no discussion, it's giving main character energy πRTL8365MB_VLAN_EGRESS_MODE_REAL_KEEPβ the VLAN tag format of egressed packets stays the same as their ingressed format, and neither the priority nor VID fields can be altered π this is the actual keep, the real one, the one that means it, fr fr
π₯ SEE ALSO
go poke around the kernel file ./drivers/net/dsa/realtek/rtl8365mb_main.c and lowkey meet the whole friend group π
- struct
rtl8365mb_extint(9) - struct
rtl8365mb_chip_info(9) - struct
rtl8365mb_cpu(9) - struct
rtl8365mb_port(9) - struct
rtl8365mb(9)
ok that's the whole page bestie, go forth and tag your packets correctly β¨π¦πΈ
and that's a wrap π this lil masterpiece lives over in ./drivers/net/dsa/realtek, dated October 2026 β mwah, bye, slay π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms