Home
last modified time | relevance | path

Searched refs:tvlv_len (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/batman-adv/
H A Dtvlv.c165 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()
H A Dbat_v_ogm.c150 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 …]
H A Dtranslation-table.c848 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local
893 return tvlv_len; in batadv_tt_prepare_tvlv_global_data()
925 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local
951 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() local
1006 if (!tvlv_len) in batadv_tt_tvlv_container_update()
3007 u16 tvlv_len; in batadv_send_other_tt_response() local
3102 tvlv_len); in batadv_send_other_tt_response()
3135 u16 tvlv_len; in batadv_send_my_tt_response() local
[all …]
H A Dbat_iv_ogm.c325 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()
H A Drouting.c1071 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()
/openbmc/linux/include/uapi/linux/
H A Dbatadv_packet.h220 __be16 tvlv_len; member
243 __be16 tvlv_len; member
543 __be16 tvlv_len; member