Searched refs:icmp_packet_rr (Results 1 – 2 of 2) sorted by relevance
171 struct batadv_icmp_packet_rr *icmp_packet_rr; in batadv_socket_write() local245 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()
359 struct batadv_icmp_packet_rr *icmp_packet_rr; in batadv_recv_icmp_packet() local398 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()