/* * proto_vlan.h - VLAN proto helpers & declarations * Subject to the GPL, version 2. */ #ifndef PROTO_VLAN_H #define PROTO_VLAN_H #include #include static inline uint16_t vlan_tci2prio(uint16_t tci) { return (tci & 0xe000) >> 13; } static inline uint16_t vlan_tci2cfi(uint16_t tci) { return (tci & 0x1000) >> 12; } static inline uint16_t vlan_tci2vid(uint16_t tci) { return tci & 0x0fff; } #endif it Git repository'/>
summaryrefslogtreecommitdiff
x/net-next.git/log/tools/power/cpupower?h=nds-private-remove&id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc&showmsg=1'>Expand)
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines