Searched refs:icmp_packet (Results 1 – 4 of 4) sorted by relevance
/net/batman-adv/ |
D | routing.c | 261 struct batadv_icmp_packet *icmp_packet; in batadv_recv_icmp_ttl_exceeded() local 264 icmp_packet = (struct batadv_icmp_packet *)skb->data; in batadv_recv_icmp_ttl_exceeded() 267 if (icmp_packet->msg_type != BATADV_ECHO_REQUEST) { in batadv_recv_icmp_ttl_exceeded() 269 icmp_packet->orig, icmp_packet->dst); in batadv_recv_icmp_ttl_exceeded() 278 orig_node = batadv_orig_hash_find(bat_priv, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded() 286 icmp_packet = (struct batadv_icmp_packet *)skb->data; in batadv_recv_icmp_ttl_exceeded() 288 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded() 289 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded() 290 icmp_packet->msg_type = BATADV_TTL_EXCEEDED; in batadv_recv_icmp_ttl_exceeded() 291 icmp_packet->ttl = BATADV_TTL; in batadv_recv_icmp_ttl_exceeded()
|
D | icmp_socket.c | 139 error = copy_to_user(buf, &socket_packet->icmp_packet, packet_len); in batadv_socket_read() 335 if (len > sizeof(socket_packet->icmp_packet)) in batadv_socket_add_packet() 336 len = sizeof(socket_packet->icmp_packet); in batadv_socket_add_packet() 339 memcpy(&socket_packet->icmp_packet, icmph, len); in batadv_socket_add_packet()
|
D | types.h | 855 uint8_t icmp_packet[BATADV_ICMP_MAX_PACKET_SIZE]; member
|
/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 90 static int icmp_packet(struct nf_conn *ct, in icmp_packet() function 405 .packet = icmp_packet,
|