Searched refs:tvlv_len (Results 1 – 6 of 6) sorted by relevance
165 u16 tvlv_len = 0; in batadv_tvlv_container_list_size() local170 tvlv_len += sizeof(struct batadv_tvlv_hdr); in batadv_tvlv_container_list_size()171 tvlv_len += ntohs(tvlv->tvlv_hdr.len); in batadv_tvlv_container_list_size()174 return tvlv_len; in batadv_tvlv_container_list_size()507 tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_tvlv_ogm_receive()626 unsigned int tvlv_len; in batadv_tvlv_unicast_send() local633 tvlv_len = sizeof(*tvlv_hdr) + tvlv_value_len; in batadv_tvlv_unicast_send()635 skb = netdev_alloc_skb_ip_align(NULL, ETH_HLEN + hdr_len + tvlv_len); in batadv_tvlv_unicast_send()641 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send()647 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()
150 return BATADV_OGM2_HLEN + ntohs(ogm_packet->tvlv_len); in batadv_v_ogm_len()269 u16 tvlv_len = 0; in batadv_v_ogm_send_softif() local283 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, &ogm_buff, in batadv_v_ogm_send_softif()300 ogm_packet->tvlv_len = htons(tvlv_len); in batadv_v_ogm_send_softif()532 u16 tvlv_len; in batadv_v_ogm_forward() local564 tvlv_len = ntohs(ogm_received->tvlv_len); in batadv_v_ogm_forward()566 packet_len = BATADV_OGM2_HLEN + tvlv_len; in batadv_v_ogm_forward()807 ntohs(ogm2->tvlv_len)); in batadv_v_ogm_process_per_outif()840 next_buff_pos += ntohs(ogm2_packet->tvlv_len); in batadv_v_ogm_aggr_packet()875 ogm_packet->version, ntohs(ogm_packet->tvlv_len)); in batadv_v_ogm_process()[all …]
848 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local893 return tvlv_len; in batadv_tt_prepare_tvlv_global_data()925 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local951 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data()977 return tvlv_len; in batadv_tt_prepare_tvlv_local_data()993 u16 tvlv_len; in batadv_tt_tvlv_container_update() local1006 if (!tvlv_len) in batadv_tt_tvlv_container_update()3007 u16 tvlv_len; in batadv_send_other_tt_response() local3102 tvlv_len); in batadv_send_other_tt_response()3135 u16 tvlv_len; in batadv_send_my_tt_response() local[all …]
325 next_buff_pos += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_aggr_packet()380 buff_pos += ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_send_to_if()690 u16 tvlv_len; in batadv_iv_ogm_forward() local710 tvlv_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_forward()729 BATADV_OGM_HLEN + tvlv_len, in batadv_iv_ogm_forward()787 u16 tvlv_len = 0; in batadv_iv_ogm_schedule_buff() local812 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff()818 batadv_ogm_packet->tvlv_len = htons(tvlv_len); in batadv_iv_ogm_schedule_buff()1754 ogm_offset += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_receive()
1071 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()
220 __be16 tvlv_len; member243 __be16 tvlv_len; member543 __be16 tvlv_len; member