Searched refs:tvlv_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/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() 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() local 633 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()
|
D | bat_v_ogm.c | 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() local 283 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() local 564 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 …]
|
D | translation-table.c | 848 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local 866 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data() 867 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data() 869 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_global_data() 893 return tvlv_len; in batadv_tt_prepare_tvlv_global_data() 925 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local 946 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data() 947 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data() 949 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_local_data() 951 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data() [all …]
|
D | bat_iv_ogm.c | 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() local 710 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() local 812 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()
|
D | routing.c | 1071 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()
|
/linux-6.6.21/include/uapi/linux/ |
D | batadv_packet.h | 220 __be16 tvlv_len; member 243 __be16 tvlv_len; member 543 __be16 tvlv_len; member
|