Lines Matching refs:vid

145 		batadv_tt_local_remove(bat_priv, old_addr, vlan->vid,  in batadv_interface_set_mac_addr()
147 batadv_tt_local_add(dev, addr->sa_data, vlan->vid, in batadv_interface_set_mac_addr()
196 unsigned short vid; in batadv_interface_tx() local
212 vid = batadv_get_vid(skb, 0); in batadv_interface_tx()
239 if (batadv_bla_tx(bat_priv, skb, vid)) in batadv_interface_tx()
249 vid, skb->skb_iif, in batadv_interface_tx()
256 batadv_dat_snoop_outgoing_dhcp_ack(bat_priv, skb, proto, vid); in batadv_interface_tx()
359 ret = batadv_send_skb_via_gw(bat_priv, skb, vid); in batadv_interface_tx()
361 ret = batadv_mcast_forw_send_orig(bat_priv, skb, vid, in batadv_interface_tx()
364 ret = batadv_mcast_forw_send(bat_priv, skb, vid, in batadv_interface_tx()
374 vid); in batadv_interface_tx()
419 unsigned short vid; in batadv_interface_rx() local
436 vid = batadv_get_vid(skb, 0); in batadv_interface_rx()
466 if (batadv_bla_rx(bat_priv, skb, vid, packet_type)) in batadv_interface_rx()
471 ethhdr->h_source, vid); in batadv_interface_rx()
477 if (batadv_vlan_ap_isola_get(bat_priv, vid) && in batadv_interface_rx()
479 vid)) { in batadv_interface_rx()
487 ethhdr->h_dest, vid)) { in batadv_interface_rx()
527 unsigned short vid) in batadv_softif_vlan_get() argument
533 if (vlan_tmp->vid != vid) in batadv_softif_vlan_get()
554 int batadv_softif_create_vlan(struct batadv_priv *bat_priv, unsigned short vid) in batadv_softif_create_vlan() argument
560 vlan = batadv_softif_vlan_get(bat_priv, vid); in batadv_softif_create_vlan()
574 vlan->vid = vid; in batadv_softif_create_vlan()
587 bat_priv->soft_iface->dev_addr, vid, in batadv_softif_create_vlan()
608 vlan->vid, "vlan interface destroyed", false); in batadv_softif_destroy_vlan()
625 unsigned short vid) in batadv_interface_add_vid() argument
636 vid |= BATADV_VLAN_HAS_TAG; in batadv_interface_add_vid()
644 vlan = batadv_softif_vlan_get(bat_priv, vid); in batadv_interface_add_vid()
646 return batadv_softif_create_vlan(bat_priv, vid); in batadv_interface_add_vid()
653 bat_priv->soft_iface->dev_addr, vid, in batadv_interface_add_vid()
672 unsigned short vid) in batadv_interface_kill_vid() argument
683 vlan = batadv_softif_vlan_get(bat_priv, vid | BATADV_VLAN_HAS_TAG); in batadv_interface_kill_vid()