Searched refs:tvlv_len (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/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() 488 tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_tvlv_ogm_receive() 600 unsigned int tvlv_len; in batadv_tvlv_unicast_send() local 607 tvlv_len = sizeof(*tvlv_hdr) + tvlv_value_len; in batadv_tvlv_unicast_send() 609 skb = netdev_alloc_skb_ip_align(NULL, ETH_HLEN + hdr_len + tvlv_len); in batadv_tvlv_unicast_send() 615 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send() 621 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()
|
D | bat_v_ogm.c | 148 return BATADV_OGM2_HLEN + ntohs(ogm_packet->tvlv_len); in batadv_v_ogm_len() 267 u16 tvlv_len = 0; in batadv_v_ogm_send_softif() local 281 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, &ogm_buff, in batadv_v_ogm_send_softif() 298 ogm_packet->tvlv_len = htons(tvlv_len); in batadv_v_ogm_send_softif() 530 u16 tvlv_len; in batadv_v_ogm_forward() local 562 tvlv_len = ntohs(ogm_received->tvlv_len); in batadv_v_ogm_forward() 564 packet_len = BATADV_OGM2_HLEN + tvlv_len; in batadv_v_ogm_forward() 815 ntohs(ogm2->tvlv_len)); in batadv_v_ogm_process_per_outif() 848 next_buff_pos += ntohs(ogm2_packet->tvlv_len); in batadv_v_ogm_aggr_packet() 883 ogm_packet->version, ntohs(ogm_packet->tvlv_len)); in batadv_v_ogm_process() [all …]
|
D | translation-table.c | 854 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local 872 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data() 873 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data() 875 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_global_data() 899 return tvlv_len; in batadv_tt_prepare_tvlv_global_data() 931 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local 952 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data() 953 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data() 955 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_local_data() 957 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data() [all …]
|
D | bat_iv_ogm.c | 327 next_buff_pos += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_aggr_packet() 382 buff_pos += ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_send_to_if() 693 u16 tvlv_len; in batadv_iv_ogm_forward() local 713 tvlv_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_iv_ogm_forward() 732 BATADV_OGM_HLEN + tvlv_len, in batadv_iv_ogm_forward() 790 u16 tvlv_len = 0; in batadv_iv_ogm_schedule_buff() local 815 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff() 821 batadv_ogm_packet->tvlv_len = htons(tvlv_len); in batadv_iv_ogm_schedule_buff() 1768 ogm_offset += ntohs(ogm_packet->tvlv_len); in batadv_iv_ogm_receive()
|
D | routing.c | 1092 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | batadv_packet.h | 95 __be16 tvlv_len; member 105 __be16 tvlv_len; member 237 __be16 tvlv_len; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | batadv_packet.h | 218 __be16 tvlv_len; member 241 __be16 tvlv_len; member 541 __be16 tvlv_len; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | batadv_packet.h | 107 __be16 tvlv_len; member 117 __be16 tvlv_len; member 245 __be16 tvlv_len; member
|