Lines Matching refs:change_offset
848 u16 change_offset; in batadv_tt_prepare_tvlv_global_data() local
860 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_global_data()
861 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
868 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
889 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_global_data()
928 int change_offset; in batadv_tt_prepare_tvlv_local_data() local
940 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_local_data()
941 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
948 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data()
973 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_local_data()
3374 u16 change_offset; in batadv_handle_tt_response() local
3387 change_offset = sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_handle_tt_response()
3388 change_offset *= ntohs(tt_data->num_vlan); in batadv_handle_tt_response()
3389 change_offset += sizeof(*tt_data); in batadv_handle_tt_response()
3390 tvlv_ptr += change_offset; in batadv_handle_tt_response()