Home
last modified time | relevance | path

Searched refs:unicast_tvlv_packet (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/batman-adv/
Dtvlv.c621 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_tvlv_unicast_send() local
627 ssize_t hdr_len = sizeof(*unicast_tvlv_packet); in batadv_tvlv_unicast_send()
641 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send()
642 unicast_tvlv_packet = (struct batadv_unicast_tvlv_packet *)tvlv_buff; in batadv_tvlv_unicast_send()
643 unicast_tvlv_packet->packet_type = BATADV_UNICAST_TVLV; in batadv_tvlv_unicast_send()
644 unicast_tvlv_packet->version = BATADV_COMPAT_VERSION; in batadv_tvlv_unicast_send()
645 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()
646 unicast_tvlv_packet->reserved = 0; in batadv_tvlv_unicast_send()
647 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()
648 unicast_tvlv_packet->align = 0; in batadv_tvlv_unicast_send()
[all …]
Drouting.c1051 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_recv_unicast_tvlv() local
1054 int hdr_size = sizeof(*unicast_tvlv_packet); in batadv_recv_unicast_tvlv()
1068 unicast_tvlv_packet = (struct batadv_unicast_tvlv_packet *)skb->data; in batadv_recv_unicast_tvlv()
1071 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()