Home
last modified time | relevance | path

Searched refs:icmp_hdr (Results 1 – 10 of 10) sorted by relevance

/subsys/net/ip/
A Dicmpv6.c64 struct net_icmp_hdr *icmp_hdr; in net_icmpv6_finalize() local
67 if (!icmp_hdr) { in net_icmpv6_finalize()
71 icmp_hdr->chksum = 0U; in net_icmpv6_finalize()
88 if (!icmp_hdr) { in net_icmpv6_create()
92 icmp_hdr->type = icmp_type; in net_icmpv6_create()
93 icmp_hdr->code = icmp_code; in net_icmpv6_create()
94 icmp_hdr->chksum = 0U; in net_icmpv6_create()
112 ARG_UNUSED(icmp_hdr); in icmpv6_handle_echo_request()
222 if (!icmp_hdr || icmp_hdr->type < 128) { in net_icmpv6_send_error()
355 if (!icmp_hdr) { in net_icmpv6_input()
[all …]
A Dicmpv4.c37 struct net_icmp_hdr *icmp_hdr; in net_icmpv4_create() local
40 if (!icmp_hdr) { in net_icmpv4_create()
44 icmp_hdr->type = icmp_type; in net_icmpv4_create()
45 icmp_hdr->code = icmp_code; in net_icmpv4_create()
46 icmp_hdr->chksum = 0U; in net_icmpv4_create()
55 struct net_icmp_hdr *icmp_hdr; in net_icmpv4_finalize() local
64 if (!icmp_hdr) { in net_icmpv4_finalize()
68 icmp_hdr->chksum = 0U; in net_icmpv4_finalize()
538 if (!icmp_hdr || icmp_hdr->code < 8) { in net_icmpv4_send_error()
620 if (!icmp_hdr) { in net_icmpv4_input()
[all …]
A Dicmp.c506 struct net_icmp_hdr *icmp_hdr) in icmp_call_handlers() argument
514 if (ctx->type == icmp_hdr->type && in icmp_call_handlers()
515 (ctx->code == icmp_hdr->code || ctx->code == 0U)) { in icmp_call_handlers()
523 ret = ctx->handler(ctx, pkt, ip_hdr, icmp_hdr, ctx->user_data); in icmp_call_handlers()
539 struct net_icmp_hdr *icmp_hdr) in net_icmp_call_ipv4_handlers() argument
546 return icmp_call_handlers(pkt, &ip_hdr, icmp_hdr); in net_icmp_call_ipv4_handlers()
551 struct net_icmp_hdr *icmp_hdr) in net_icmp_call_ipv6_handlers() argument
558 return icmp_call_handlers(pkt, &ip_hdr, icmp_hdr); in net_icmp_call_ipv6_handlers()
A Dnet_private.h70 struct net_icmp_hdr *icmp_hdr);
73 struct net_icmp_hdr *icmp_hdr);
A Dipv6_mld.c412 struct net_icmp_hdr *icmp_hdr, in handle_mld_query() argument
450 ip_hdr->hop_limit != 1U || icmp_hdr->code != 0U) { in handle_mld_query()
A Dipv6_nbr.c1263 struct net_icmp_hdr *icmp_hdr, in handle_ns_input() argument
1308 icmp_hdr->code != 0U)) { in handle_ns_input()
1882 struct net_icmp_hdr *icmp_hdr, in handle_na_input() argument
1922 (icmp_hdr->code != 0U)) { in handle_na_input()
2606 struct net_icmp_hdr *icmp_hdr, in handle_ra_input() argument
2646 icmp_hdr->code != 0U) { in handle_ra_input()
2851 struct net_icmp_hdr *icmp_hdr, in handle_ptb_input() argument
/subsys/net/lib/shell/
A Dping.c51 struct net_icmp_hdr *icmp_hdr, in handle_ipv6_echo_reply() argument
113 struct net_icmp_hdr *icmp_hdr, in handle_ipv6_echo_reply() argument
119 ARG_UNUSED(icmp_hdr); in handle_ipv6_echo_reply()
131 struct net_icmp_hdr *icmp_hdr, in handle_ipv4_echo_reply() argument
187 struct net_icmp_hdr *icmp_hdr, in handle_ipv4_echo_reply() argument
193 ARG_UNUSED(icmp_hdr); in handle_ipv4_echo_reply()
/subsys/net/l2/openthread/
A Dopenthread_border_router.c97 struct net_icmp_ip_hdr *hdr, struct net_icmp_hdr *icmp_hdr, in handle_ra_input() argument
/subsys/net/lib/zperf/
A Dzperf_shell.c765 struct net_icmp_hdr *icmp_hdr, in ping_handler() argument
773 ARG_UNUSED(icmp_hdr); in ping_handler()
/subsys/net/lib/dhcpv4/
A Ddhcpv4_server.c800 struct net_icmp_hdr *icmp_hdr, in echo_reply_handler() argument
811 ARG_UNUSED(icmp_hdr); in echo_reply_handler()

Completed in 35 milliseconds