Searched refs:tvlv_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/net/batman-adv/ |
D | tvlv.c | 165 u16 tvlv_len = 0; in batadv_tvlv_container_list_size() local 170 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() 487 tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_tvlv_ogm_receive() 599 unsigned int tvlv_len; in batadv_tvlv_unicast_send() local 606 tvlv_len = sizeof(*tvlv_hdr) + tvlv_value_len; in batadv_tvlv_unicast_send() 608 skb = netdev_alloc_skb_ip_align(NULL, ETH_HLEN + hdr_len + tvlv_len); in batadv_tvlv_unicast_send() 614 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send() 620 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()
|
D | bat_v_ogm.c | 149 return BATADV_OGM2_HLEN + ntohs(ogm_packet->tvlv_len); in batadv_v_ogm_len() 268 u16 tvlv_len = 0; in batadv_v_ogm_send_softif() local 282 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, &ogm_buff, in batadv_v_ogm_send_softif() 299 ogm_packet->tvlv_len = htons(tvlv_len); in batadv_v_ogm_send_softif() 531 u16 tvlv_len; in batadv_v_ogm_forward() local 563 tvlv_len = ntohs(ogm_received->tvlv_len); in batadv_v_ogm_forward() 565 packet_len = BATADV_OGM2_HLEN + tvlv_len; in batadv_v_ogm_forward() 806 ntohs(ogm2->tvlv_len)); in batadv_v_ogm_process_per_outif() 839 next_buff_pos += ntohs(ogm2_packet->tvlv_len); in batadv_v_ogm_aggr_packet() 874 ogm_packet->version, ntohs(ogm_packet->tvlv_len)); in batadv_v_ogm_process() [all …]
|
D | translation-table.c | 849 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local 867 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data() 868 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data() 870 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_global_data() 894 return tvlv_len; in batadv_tt_prepare_tvlv_global_data() 926 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local 947 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data() 948 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data() 950 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_local_data() 952 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data() [all …]
|
D | bat_iv_ogm.c | 326 next_buff_pos += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_aggr_packet() 381 buff_pos += ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_send_to_if() 691 u16 tvlv_len; in batadv_iv_ogm_forward() local 711 tvlv_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_forward() 730 BATADV_OGM_HLEN + tvlv_len, in batadv_iv_ogm_forward() 788 u16 tvlv_len = 0; in batadv_iv_ogm_schedule_buff() local 813 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff() 819 batadv_ogm_packet->tvlv_len = htons(tvlv_len); in batadv_iv_ogm_schedule_buff() 1755 ogm_offset += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_receive()
|
D | routing.c | 1071 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()
|
/linux-6.1.9/include/uapi/linux/ |
D | batadv_packet.h | 218 __be16 tvlv_len; member 241 __be16 tvlv_len; member 541 __be16 tvlv_len; member
|