Lines Matching refs:vid

72 	hash = jhash(&claim->vid, sizeof(claim->vid), hash);  in batadv_choose_claim()
90 hash = jhash(&claim->vid, sizeof(claim->vid), hash); in batadv_choose_backbone_gw()
113 if (gw1->vid != gw2->vid) in batadv_compare_backbone_gw()
137 if (cl1->vid != cl2->vid) in batadv_compare_claim()
252 unsigned short vid) in batadv_backbone_hash_find() argument
264 search_entry.vid = vid; in batadv_backbone_hash_find()
334 unsigned short vid, int claimtype) in batadv_bla_send_claim() argument
385 batadv_print_vid(vid)); in batadv_bla_send_claim()
394 batadv_print_vid(vid)); in batadv_bla_send_claim()
403 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
415 batadv_print_vid(vid)); in batadv_bla_send_claim()
422 batadv_print_vid(vid)); in batadv_bla_send_claim()
427 if (vid & BATADV_VLAN_HAS_TAG) { in batadv_bla_send_claim()
429 vid & VLAN_VID_MASK); in batadv_bla_send_claim()
465 batadv_print_vid(backbone_gw->vid)); in batadv_bla_loopdetect_report()
467 batadv_print_vid(backbone_gw->vid)); in batadv_bla_loopdetect_report()
487 unsigned short vid, bool own_backbone) in batadv_bla_get_backbone_gw() argument
493 entry = batadv_backbone_hash_find(bat_priv, orig, vid); in batadv_bla_get_backbone_gw()
500 orig, batadv_print_vid(vid)); in batadv_bla_get_backbone_gw()
506 entry->vid = vid; in batadv_bla_get_backbone_gw()
532 batadv_tt_global_del_orig(bat_priv, orig_node, vid, in batadv_bla_get_backbone_gw()
561 unsigned short vid) in batadv_bla_update_own_backbone_gw() argument
567 vid, true); in batadv_bla_update_own_backbone_gw()
586 unsigned short vid) in batadv_bla_answer_request() argument
600 vid); in batadv_bla_answer_request()
614 batadv_bla_send_claim(bat_priv, claim->addr, claim->vid, in batadv_bla_answer_request()
643 backbone_gw->vid, BATADV_CLAIM_TYPE_REQUEST); in batadv_bla_send_request()
669 batadv_bla_send_claim(bat_priv, mac, backbone_gw->vid, in batadv_bla_send_announce()
681 const u8 *mac, const unsigned short vid, in batadv_bla_add_claim() argument
691 search_claim.vid = vid; in batadv_bla_add_claim()
702 claim->vid = vid; in batadv_bla_add_claim()
710 __func__, mac, batadv_print_vid(vid)); in batadv_bla_add_claim()
731 __func__, mac, batadv_print_vid(vid), in batadv_bla_add_claim()
790 const u8 *mac, const unsigned short vid) in batadv_bla_del_claim() argument
797 search_claim.vid = vid; in batadv_bla_del_claim()
803 mac, batadv_print_vid(vid)); in batadv_bla_del_claim()
831 u8 *backbone_addr, unsigned short vid) in batadv_handle_announce() argument
839 backbone_gw = batadv_bla_get_backbone_gw(bat_priv, backbone_addr, vid, in batadv_handle_announce()
851 __func__, batadv_print_vid(vid), backbone_gw->orig, crc); in batadv_handle_announce()
861 batadv_print_vid(backbone_gw->vid), in batadv_handle_announce()
892 unsigned short vid) in batadv_handle_request() argument
906 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
908 batadv_bla_answer_request(bat_priv, primary_if, vid); in batadv_handle_request()
925 unsigned short vid) in batadv_handle_unclaim() argument
932 batadv_bla_send_claim(bat_priv, claim_addr, vid, in batadv_handle_unclaim()
935 backbone_gw = batadv_backbone_hash_find(bat_priv, backbone_addr, vid); in batadv_handle_unclaim()
943 claim_addr, batadv_print_vid(vid), backbone_gw->orig); in batadv_handle_unclaim()
945 batadv_bla_del_claim(bat_priv, claim_addr, vid); in batadv_handle_unclaim()
963 unsigned short vid) in batadv_handle_claim() argument
969 backbone_gw = batadv_bla_get_backbone_gw(bat_priv, backbone_addr, vid, in batadv_handle_claim()
976 batadv_bla_add_claim(bat_priv, claim_addr, vid, backbone_gw); in batadv_handle_claim()
978 batadv_bla_send_claim(bat_priv, claim_addr, vid, in batadv_handle_claim()
1080 unsigned short vid; in batadv_bla_process_claim() local
1086 vid = batadv_get_vid(skb, 0); in batadv_bla_process_claim()
1091 if (vid & BATADV_VLAN_HAS_TAG) { in batadv_bla_process_claim()
1163 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1170 batadv_bla_update_own_backbone_gw(bat_priv, primary_if, vid); in batadv_bla_process_claim()
1176 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1181 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1187 vid)) in batadv_bla_process_claim()
1192 vid)) in batadv_bla_process_claim()
1199 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1303 claim->addr, claim->vid); in batadv_bla_purge_claims()
1307 claim->addr, claim->vid); in batadv_bla_purge_claims()
1386 backbone_gw->vid); in batadv_bla_send_loopdetect()
1388 backbone_gw->vid, BATADV_CLAIM_TYPE_LOOPDETECT); in batadv_bla_send_loopdetect()
1661 unsigned short vid) in batadv_bla_is_backbone_gw_orig() argument
1680 backbone_gw->vid == vid) { in batadv_bla_is_backbone_gw_orig()
1704 unsigned short vid; in batadv_bla_is_backbone_gw() local
1713 vid = batadv_get_vid(skb, hdr_size); in batadv_bla_is_backbone_gw()
1717 orig_node->orig, vid); in batadv_bla_is_backbone_gw()
1768 unsigned short vid) in batadv_bla_loopdetect_check() argument
1792 vid, true); in batadv_bla_loopdetect_check()
1824 unsigned short vid, bool is_bcast) in batadv_bla_rx() argument
1842 if (batadv_bla_loopdetect_check(bat_priv, skb, primary_if, vid)) in batadv_bla_rx()
1851 search_claim.vid = vid; in batadv_bla_rx()
1863 ethhdr->h_source, vid) ? in batadv_bla_rx()
1867 ethhdr->h_source, vid); in batadv_bla_rx()
1899 ethhdr->h_source, vid); in batadv_bla_rx()
1903 batadv_bla_update_own_backbone_gw(bat_priv, primary_if, vid); in batadv_bla_rx()
1937 unsigned short vid) in batadv_bla_tx() argument
1964 search_claim.vid = vid; in batadv_bla_tx()
1991 ethhdr->h_source, vid); in batadv_bla_tx()
2013 batadv_bla_update_own_backbone_gw(bat_priv, primary_if, vid); in batadv_bla_tx()
2073 claim->addr, batadv_print_vid(claim->vid), in batadv_bla_claim_table_seq_print_text()
2136 nla_put_u16(msg, BATADV_ATTR_BLA_VID, claim->vid) || in batadv_bla_claim_dump_entry()
2313 batadv_print_vid(backbone_gw->vid), secs, in batadv_bla_backbone_table_seq_print_text()
2375 nla_put_u16(msg, BATADV_ATTR_BLA_VID, backbone_gw->vid) || in batadv_bla_backbone_dump_entry()
2511 u8 *addr, unsigned short vid) in batadv_bla_check_claim() argument
2527 search_claim.vid = vid; in batadv_bla_check_claim()