Searched refs:icmp_packet (Results 1 – 1 of 1) sorted by relevance
283 struct batadv_icmp_packet *icmp_packet; in batadv_recv_icmp_ttl_exceeded() local286 icmp_packet = (struct batadv_icmp_packet *)skb->data; in batadv_recv_icmp_ttl_exceeded()289 if (icmp_packet->msg_type != BATADV_ECHO_REQUEST) { in batadv_recv_icmp_ttl_exceeded()291 icmp_packet->orig, icmp_packet->dst); in batadv_recv_icmp_ttl_exceeded()300 orig_node = batadv_orig_hash_find(bat_priv, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()308 icmp_packet = (struct batadv_icmp_packet *)skb->data; in batadv_recv_icmp_ttl_exceeded()310 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()311 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded()312 icmp_packet->msg_type = BATADV_TTL_EXCEEDED; in batadv_recv_icmp_ttl_exceeded()313 icmp_packet->ttl = BATADV_TTL; in batadv_recv_icmp_ttl_exceeded()