Lines Matching refs:change_offset
859 u16 change_offset; in batadv_tt_prepare_tvlv_global_data() local
871 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_global_data()
872 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
879 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
899 tt_change_ptr = (u8 *)*tt_data + change_offset; in batadv_tt_prepare_tvlv_global_data()
938 int change_offset; in batadv_tt_prepare_tvlv_local_data() local
950 change_offset = sizeof(**tt_data); in batadv_tt_prepare_tvlv_local_data()
951 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
958 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()
3604 u16 change_offset; in batadv_handle_tt_response() local
3617 change_offset = sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_handle_tt_response()
3618 change_offset *= ntohs(tt_data->num_vlan); in batadv_handle_tt_response()
3619 change_offset += sizeof(*tt_data); in batadv_handle_tt_response()
3620 tvlv_ptr += change_offset; in batadv_handle_tt_response()