Searched refs:icmp_header (Results 1 – 1 of 1) sorted by relevance
172 struct batadv_icmp_header *icmp_header; in batadv_socket_write() local204 icmp_header = skb_put(skb, packet_len); in batadv_socket_write()206 if (copy_from_user(icmp_header, buff, packet_len)) { in batadv_socket_write()211 if (icmp_header->packet_type != BATADV_ICMP) { in batadv_socket_write()218 switch (icmp_header->msg_type) { in batadv_socket_write()230 orig_node = batadv_orig_hash_find(bat_priv, icmp_header->dst); in batadv_socket_write()245 icmp_packet_rr = (struct batadv_icmp_packet_rr *)icmp_header; in batadv_socket_write()259 icmp_header->uid = socket_client->index; in batadv_socket_write()261 if (icmp_header->version != BATADV_COMPAT_VERSION) { in batadv_socket_write()262 icmp_header->msg_type = BATADV_PARAMETER_PROBLEM; in batadv_socket_write()[all …]