Searched refs:unicast_tvlv_packet (Results 1 – 2 of 2) sorted by relevance
594 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_tvlv_unicast_send() local600 ssize_t hdr_len = sizeof(*unicast_tvlv_packet); in batadv_tvlv_unicast_send()614 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send()615 unicast_tvlv_packet = (struct batadv_unicast_tvlv_packet *)tvlv_buff; in batadv_tvlv_unicast_send()616 unicast_tvlv_packet->packet_type = BATADV_UNICAST_TVLV; in batadv_tvlv_unicast_send()617 unicast_tvlv_packet->version = BATADV_COMPAT_VERSION; in batadv_tvlv_unicast_send()618 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()619 unicast_tvlv_packet->reserved = 0; in batadv_tvlv_unicast_send()620 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()621 unicast_tvlv_packet->align = 0; in batadv_tvlv_unicast_send()[all …]
1051 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_recv_unicast_tvlv() local1054 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()1077 unicast_tvlv_packet->src, in batadv_recv_unicast_tvlv()1078 unicast_tvlv_packet->dst, in batadv_recv_unicast_tvlv()