Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dicmp_socket.c171 struct batadv_icmp_packet_rr *icmp_packet_rr; in batadv_socket_write() local
245 icmp_packet_rr = (struct batadv_icmp_packet_rr *)icmp_header; in batadv_socket_write()
246 if (packet_len == sizeof(*icmp_packet_rr)) { in batadv_socket_write()
248 ether_addr_copy(icmp_packet_rr->rr[0], addr); in batadv_socket_write()
Drouting.c359 struct batadv_icmp_packet_rr *icmp_packet_rr; in batadv_recv_icmp_packet() local
398 icmp_packet_rr = (struct batadv_icmp_packet_rr *)icmph; in batadv_recv_icmp_packet()
399 if (icmp_packet_rr->rr_cur >= BATADV_RR_LEN) in batadv_recv_icmp_packet()
402 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet()
404 icmp_packet_rr->rr_cur++; in batadv_recv_icmp_packet()