Lines Matching refs:change_offset
857 u16 change_offset; in batadv_tt_prepare_tvlv_global_data() local
869 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_global_data()
870 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
877 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
898 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_global_data()
937 int change_offset; in batadv_tt_prepare_tvlv_local_data() local
949 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_local_data()
950 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
957 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data()
982 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_local_data()
3613 u16 change_offset; in batadv_handle_tt_response() local
3626 change_offset = sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_handle_tt_response()
3627 change_offset *= ntohs(tt_data->num_vlan); in batadv_handle_tt_response()
3628 change_offset += sizeof(*tt_data); in batadv_handle_tt_response()
3629 tvlv_ptr += change_offset; in batadv_handle_tt_response()