Lines Matching refs:vid
115 * @vid: VLAN id
136 u16 vid;
569 static inline bool br_vlan_valid_id(u16 vid, struct netlink_ext_ack *extack)
571 bool ret = vid > 0 && vid < VLAN_VID_MASK;
600 } else if (cur->vid <= last->vid) {
681 const unsigned char *addr, u16 vid);
686 const struct net_bridge_port *p, u16 vid, int do_all);
689 __u16 vid);
694 const unsigned char *addr, u16 vid);
696 const unsigned char *addr, u16 vid, unsigned long flags);
699 struct net_device *dev, const unsigned char *addr, u16 vid);
701 const unsigned char *addr, u16 vid, u16 nlh_flags,
706 const unsigned char *addr, u16 vid, u32 portid, u32 seq,
711 const unsigned char *addr, u16 vid,
714 const unsigned char *addr, u16 vid,
717 const unsigned char *addr, u16 vid, bool offloaded);
787 struct sk_buff *skb, u16 vid);
789 struct sk_buff *skb, u16 vid);
940 u16 vid)
946 struct sk_buff *skb, u16 vid)
1052 u16 *vid, u8 *state);
1055 bool br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid);
1060 int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags,
1062 int br_vlan_delete(struct net_bridge *br, u16 vid);
1064 struct net_bridge_vlan *br_vlan_find(struct net_bridge_vlan_group *vg, u16 vid);
1076 int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags,
1078 int nbp_vlan_delete(struct net_bridge_port *port, u16 vid);
1091 u16 vid, u16 vid_range,
1123 static inline int br_vlan_get_tag(const struct sk_buff *skb, u16 *vid)
1128 *vid = skb_vlan_tag_get_id(skb);
1130 *vid = 0;
1148 return v->vid == pvid ? v->flags | BRIDGE_VLAN_INFO_PVID : v->flags;
1154 u16 *vid, u8 *state)
1166 struct sk_buff *skb, u16 *vid)
1179 static inline int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags,
1186 static inline int br_vlan_delete(struct net_bridge *br, u16 vid)
1204 static inline int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags,
1211 static inline int nbp_vlan_delete(struct net_bridge_port *port, u16 vid)
1221 u16 vid)
1304 u16 vid, u16 vid_range,
1510 int br_switchdev_port_vlan_add(struct net_device *dev, u16 vid, u16 flags,
1512 int br_switchdev_port_vlan_del(struct net_device *dev, u16 vid);
1543 u16 vid, u16 flags,
1549 static inline int br_switchdev_port_vlan_del(struct net_device *dev, u16 vid)
1567 u16 vid, struct net_bridge_port *p);
1569 u16 vid, struct net_bridge_port *p, struct nd_msg *msg);