Searched refs:unicast_tvlv_packet (Results 1 – 2 of 2) sorted by relevance
589 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_tvlv_unicast_send() local595 ssize_t hdr_len = sizeof(*unicast_tvlv_packet); in batadv_tvlv_unicast_send()609 tvlv_buff = skb_put(skb, sizeof(*unicast_tvlv_packet) + tvlv_len); in batadv_tvlv_unicast_send()610 unicast_tvlv_packet = (struct batadv_unicast_tvlv_packet *)tvlv_buff; in batadv_tvlv_unicast_send()611 unicast_tvlv_packet->packet_type = BATADV_UNICAST_TVLV; in batadv_tvlv_unicast_send()612 unicast_tvlv_packet->version = BATADV_COMPAT_VERSION; in batadv_tvlv_unicast_send()613 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()614 unicast_tvlv_packet->reserved = 0; in batadv_tvlv_unicast_send()615 unicast_tvlv_packet->tvlv_len = htons(tvlv_len); in batadv_tvlv_unicast_send()616 unicast_tvlv_packet->align = 0; in batadv_tvlv_unicast_send()[all …]
1072 struct batadv_unicast_tvlv_packet *unicast_tvlv_packet; in batadv_recv_unicast_tvlv() local1075 int hdr_size = sizeof(*unicast_tvlv_packet); in batadv_recv_unicast_tvlv()1089 unicast_tvlv_packet = (struct batadv_unicast_tvlv_packet *)skb->data; in batadv_recv_unicast_tvlv()1092 tvlv_buff_len = ntohs(unicast_tvlv_packet->tvlv_len); in batadv_recv_unicast_tvlv()1098 unicast_tvlv_packet->src, in batadv_recv_unicast_tvlv()1099 unicast_tvlv_packet->dst, in batadv_recv_unicast_tvlv()