Lines Matching refs:change_offset
847 u16 change_offset; in batadv_tt_prepare_tvlv_global_data() local
859 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_global_data()
860 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
867 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
888 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_global_data()
927 int change_offset; in batadv_tt_prepare_tvlv_local_data() local
939 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_local_data()
940 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
947 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data()
972 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_local_data()
3373 u16 change_offset; in batadv_handle_tt_response() local
3386 change_offset = sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_handle_tt_response()
3387 change_offset *= ntohs(tt_data->num_vlan); in batadv_handle_tt_response()
3388 change_offset += sizeof(*tt_data); in batadv_handle_tt_response()
3389 tvlv_ptr += change_offset; in batadv_handle_tt_response()