Lines Matching refs:tt_vlan

850 	struct batadv_tvlv_tt_vlan_data *tt_vlan;  in batadv_tt_prepare_tvlv_global_data()  local
861 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
880 tt_vlan = (struct batadv_tvlv_tt_vlan_data *)(*tt_data + 1); in batadv_tt_prepare_tvlv_global_data()
882 tt_vlan->vid = htons(vlan->vid); in batadv_tt_prepare_tvlv_global_data()
883 tt_vlan->crc = htonl(vlan->tt.crc); in batadv_tt_prepare_tvlv_global_data()
884 tt_vlan->reserved = 0; in batadv_tt_prepare_tvlv_global_data()
886 tt_vlan++; in batadv_tt_prepare_tvlv_global_data()
921 struct batadv_tvlv_tt_vlan_data *tt_vlan; in batadv_tt_prepare_tvlv_local_data() local
941 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
960 tt_vlan = (struct batadv_tvlv_tt_vlan_data *)(*tt_data + 1); in batadv_tt_prepare_tvlv_local_data()
966 tt_vlan->vid = htons(vlan->vid); in batadv_tt_prepare_tvlv_local_data()
967 tt_vlan->crc = htonl(vlan->tt.crc); in batadv_tt_prepare_tvlv_local_data()
968 tt_vlan->reserved = 0; in batadv_tt_prepare_tvlv_local_data()
970 tt_vlan++; in batadv_tt_prepare_tvlv_local_data()
2810 struct batadv_tvlv_tt_vlan_data *tt_vlan, in batadv_tt_global_check_crc() argument
2820 tt_vlan_tmp = tt_vlan + i; in batadv_tt_global_check_crc()
2915 struct batadv_tvlv_tt_vlan_data *tt_vlan, in batadv_send_tt_request() argument
2950 tt_vlan_req->vid = tt_vlan->vid; in batadv_send_tt_request()
2951 tt_vlan_req->crc = tt_vlan->crc; in batadv_send_tt_request()
2954 tt_vlan++; in batadv_send_tt_request()
3005 struct batadv_tvlv_tt_vlan_data *tt_vlan; in batadv_send_other_tt_response() local
3028 tt_vlan = (struct batadv_tvlv_tt_vlan_data *)(tt_data + 1); in batadv_send_other_tt_response()
3031 !batadv_tt_global_check_crc(req_dst_orig_node, tt_vlan, in batadv_send_other_tt_response()
3784 struct batadv_tvlv_tt_vlan_data *tt_vlan; in batadv_tt_update_orig() local
3788 tt_vlan = (struct batadv_tvlv_tt_vlan_data *)tt_buff; in batadv_tt_update_orig()
3828 if (!batadv_tt_global_check_crc(orig_node, tt_vlan, in batadv_tt_update_orig()
3836 !batadv_tt_global_check_crc(orig_node, tt_vlan, in batadv_tt_update_orig()
3844 tt_vlan, tt_num_vlan, in batadv_tt_update_orig()
3989 struct batadv_tvlv_tt_vlan_data *tt_vlan; in batadv_tt_tvlv_ogm_handler_v1() local
4002 if (tvlv_value_len < sizeof(*tt_vlan) * num_vlan) in batadv_tt_tvlv_ogm_handler_v1()
4005 tt_vlan = (struct batadv_tvlv_tt_vlan_data *)(tt_data + 1); in batadv_tt_tvlv_ogm_handler_v1()
4006 tt_change = (struct batadv_tvlv_tt_change *)(tt_vlan + num_vlan); in batadv_tt_tvlv_ogm_handler_v1()
4007 tvlv_value_len -= sizeof(*tt_vlan) * num_vlan; in batadv_tt_tvlv_ogm_handler_v1()
4011 batadv_tt_update_orig(bat_priv, orig, tt_vlan, num_vlan, tt_change, in batadv_tt_tvlv_ogm_handler_v1()