Lines Matching refs:vid

147 		batadv_tt_local_remove(bat_priv, old_addr, vlan->vid,  in batadv_interface_set_mac_addr()
149 batadv_tt_local_add(dev, addr->sa_data, vlan->vid, in batadv_interface_set_mac_addr()
198 unsigned short vid; in batadv_interface_tx() local
213 vid = batadv_get_vid(skb, 0); in batadv_interface_tx()
240 if (batadv_bla_tx(bat_priv, skb, vid)) in batadv_interface_tx()
250 vid, skb->skb_iif, in batadv_interface_tx()
257 batadv_dat_snoop_outgoing_dhcp_ack(bat_priv, skb, proto, vid); in batadv_interface_tx()
365 ret = batadv_send_skb_via_gw(bat_priv, skb, vid); in batadv_interface_tx()
369 mcast_single_orig, vid); in batadv_interface_tx()
371 ret = batadv_mcast_forw_send(bat_priv, skb, vid); in batadv_interface_tx()
380 vid); in batadv_interface_tx()
427 unsigned short vid; in batadv_interface_rx() local
444 vid = batadv_get_vid(skb, 0); in batadv_interface_rx()
474 if (batadv_bla_rx(bat_priv, skb, vid, is_bcast)) in batadv_interface_rx()
479 ethhdr->h_source, vid); in batadv_interface_rx()
485 if (batadv_vlan_ap_isola_get(bat_priv, vid) && in batadv_interface_rx()
487 vid)) { in batadv_interface_rx()
495 ethhdr->h_dest, vid)) { in batadv_interface_rx()
548 unsigned short vid) in batadv_softif_vlan_get() argument
554 if (vlan_tmp->vid != vid) in batadv_softif_vlan_get()
575 int batadv_softif_create_vlan(struct batadv_priv *bat_priv, unsigned short vid) in batadv_softif_create_vlan() argument
582 vlan = batadv_softif_vlan_get(bat_priv, vid); in batadv_softif_create_vlan()
596 vlan->vid = vid; in batadv_softif_create_vlan()
622 bat_priv->soft_iface->dev_addr, vid, in batadv_softif_create_vlan()
643 vlan->vid, "vlan interface destroyed", false); in batadv_softif_destroy_vlan()
661 unsigned short vid) in batadv_interface_add_vid() argument
673 vid |= BATADV_VLAN_HAS_TAG; in batadv_interface_add_vid()
681 vlan = batadv_softif_vlan_get(bat_priv, vid); in batadv_interface_add_vid()
683 return batadv_softif_create_vlan(bat_priv, vid); in batadv_interface_add_vid()
701 bat_priv->soft_iface->dev_addr, vid, in batadv_interface_add_vid()
720 unsigned short vid) in batadv_interface_kill_vid() argument
731 vlan = batadv_softif_vlan_get(bat_priv, vid | BATADV_VLAN_HAS_TAG); in batadv_interface_kill_vid()