123456789101112131415161718192021222324252627282930 |
- #ifndef VLAN_H
- #define VLAN_H
- #define MAX_NUM_TAGGED_VLAN 32
- struct vlan_description {
- int notempty;
- int untagged;
- int tagged[MAX_NUM_TAGGED_VLAN];
- };
- #ifndef CONFIG_NO_VLAN
- int vlan_compare(struct vlan_description *a, struct vlan_description *b);
- #else
- static inline int
- vlan_compare(struct vlan_description *a, struct vlan_description *b)
- {
- return 0;
- }
- #endif
- #endif
|