Searched refs:NET_ICMPH_LEN (Results 1 – 8 of 8) sorted by relevance
202 NET_IPV4H_LEN - NET_ICMPH_LEN; in verify_echo_reply()213 if (memcmp(buf, icmpv4_echo_req + NET_IPV4H_LEN + NET_ICMPH_LEN, in verify_echo_reply()266 NET_IPV4H_LEN - NET_ICMPH_LEN - opts_len; in verify_echo_reply_with_opts()278 NET_IPV4H_LEN + NET_ICMPH_LEN + opts_len, in verify_echo_reply_with_opts()
648 #define NET_ICMPH_LEN 4 /* Size of ICMP header */ macro651 #define NET_ICMPV6H_LEN NET_ICMPH_LEN /* Size of ICMPv6 header */654 #define NET_IPV6ICMPH_LEN (NET_IPV6H_LEN + NET_ICMPH_LEN) /* ICMPv6 + IPv6 */658 #define NET_ICMPV4H_LEN NET_ICMPH_LEN /* Size of ICMPv4 header */661 #define NET_IPV4ICMPH_LEN (NET_IPV4H_LEN + NET_ICMPH_LEN) /* ICMPv4 + IPv4 */
93 NET_ICMPH_LEN, in handle_ipv6_echo_reply()170 NET_ICMPH_LEN, in handle_ipv4_echo_reply()
118 net_pkt_ipv6_ext_len(pkt) - NET_ICMPH_LEN; in icmpv6_handle_echo_request()
440 net_pkt_ipv4_opts_len(pkt) - NET_ICMPH_LEN; in icmpv4_handle_echo_request()
91 #define MAX_NEXT_PROTO_LEN NET_ICMPH_LEN1145 hdr_len += NET_ICMPH_LEN;
78 NET_ICMPH_LEN; in send_icmp_echo_reply()
507 len = NET_ICMPH_LEN + remaining; in create_pkt()