Home
last modified time | relevance | path

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

/linux/net/batman-adv/
H A Drouting.c660 struct batadv_unicast_packet *unicast_packet; in batadv_route_unicast_packet() local
665 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
668 if (unicast_packet->ttl < 2) { in batadv_route_unicast_packet()
670 ethhdr->h_source, unicast_packet->dest); in batadv_route_unicast_packet()
675 orig_node = batadv_orig_hash_find(bat_priv, unicast_packet->dest); in batadv_route_unicast_packet()
685 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
686 unicast_packet->ttl--; in batadv_route_unicast_packet()
688 switch (unicast_packet->packet_type) { in batadv_route_unicast_packet()
743 struct batadv_unicast_packet *unicast_packet, in batadv_reroute_unicast_packet() argument
764 if (batadv_compare_eth(orig_node->orig, unicast_packet->dest)) in batadv_reroute_unicast_packet()
[all …]
H A Dsend.c224 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_push_fill_unicast() local
230 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_push_fill_unicast()
231 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_send_skb_push_fill_unicast()
233 unicast_packet->packet_type = BATADV_UNICAST; in batadv_send_skb_push_fill_unicast()
235 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast()
237 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
239 unicast_packet->ttvn = ttvn; in batadv_send_skb_push_fill_unicast()
324 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_unicast() local
353 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_unicast()
361 unicast_packet->ttvn = unicast_packet->ttvn - 1; in batadv_send_skb_unicast()