Home
last modified time | relevance | path

Searched refs:net_icmp_ctx (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/net/
Dicmp.h35 struct net_icmp_ctx;
49 typedef int (*net_icmp_handler_t)(struct net_icmp_ctx *ctx,
71 typedef int (*net_icmp_offload_ping_handler_t)(struct net_icmp_ctx *ctx,
80 struct net_icmp_ctx { struct
161 int net_icmp_init_ctx(struct net_icmp_ctx *ctx, uint8_t type, uint8_t code,
170 int net_icmp_cleanup_ctx(struct net_icmp_ctx *ctx);
185 int net_icmp_send_echo_request(struct net_icmp_ctx *ctx,
/Zephyr-Core-3.5.0/subsys/net/ip/
Dicmp.c53 int net_icmp_init_ctx(struct net_icmp_ctx *ctx, uint8_t type, uint8_t code, in net_icmp_init_ctx()
60 memset(ctx, 0, sizeof(struct net_icmp_ctx)); in net_icmp_init_ctx()
100 int net_icmp_cleanup_ctx(struct net_icmp_ctx *ctx) in net_icmp_cleanup_ctx()
114 memset(ctx, 0, sizeof(struct net_icmp_ctx)); in net_icmp_cleanup_ctx()
120 static int send_icmpv4_echo_request(struct net_icmp_ctx *ctx, in send_icmpv4_echo_request()
224 static int send_icmpv4_echo_request(struct net_icmp_ctx *ctx, in send_icmpv4_echo_request()
240 static int send_icmpv6_echo_request(struct net_icmp_ctx *ctx, in send_icmpv6_echo_request()
342 static int send_icmpv6_echo_request(struct net_icmp_ctx *ctx, in send_icmpv6_echo_request()
405 int net_icmp_send_echo_request(struct net_icmp_ctx *ctx, in net_icmp_send_echo_request()
471 struct net_icmp_ctx *ctx; in icmp_call_handlers()
Dipv6_mld.c312 static int handle_mld_query(struct net_icmp_ctx *ctx, in handle_mld_query()
369 static struct net_icmp_ctx ctx; in net_ipv6_mld_init()
Dicmpv6.c97 static int icmpv6_handle_echo_request(struct net_icmp_ctx *ctx, in icmpv6_handle_echo_request()
376 static struct net_icmp_ctx ctx; in net_icmpv6_init()
Dicmpv4.c412 static int icmpv4_handle_echo_request(struct net_icmp_ctx *ctx, in icmpv4_handle_echo_request()
651 static struct net_icmp_ctx ctx; in net_icmpv4_init()
Dipv6_nbr.c1135 static int handle_ns_input(struct net_icmp_ctx *ctx, in handle_ns_input()
1718 static int handle_na_input(struct net_icmp_ctx *ctx, in handle_na_input()
2390 static int handle_ra_input(struct net_icmp_ctx *ctx, in handle_ra_input()
2620 static struct net_icmp_ctx ns_ctx;
2621 static struct net_icmp_ctx na_ctx;
2625 static struct net_icmp_ctx ra_ctx;
Dnet_shell.c4310 struct net_icmp_ctx icmp;
4332 static int handle_ipv6_echo_reply(struct net_icmp_ctx *ctx, in handle_ipv6_echo_reply()
4394 static int handle_ipv6_echo_reply(struct net_icmp_ctx *ctx, in handle_ipv6_echo_reply()
4412 static int handle_ipv4_echo_reply(struct net_icmp_ctx *ctx, in handle_ipv4_echo_reply()
4468 static int handle_ipv4_echo_reply(struct net_icmp_ctx *ctx, in handle_ipv4_echo_reply()
/Zephyr-Core-3.5.0/tests/net/icmpv6/src/
Dmain.c125 static int handle_test_msg(struct net_icmp_ctx *ctx, in handle_test_msg()
179 struct net_icmp_ctx ctx1; in ZTEST()
180 struct net_icmp_ctx ctx2; in ZTEST()
/Zephyr-Core-3.5.0/tests/net/icmp/src/
Dmain.c322 static int offload_ping_handler(struct net_icmp_ctx *ctx, in offload_ping_handler()
424 static int icmp_handler(struct net_icmp_ctx *ctx, in icmp_handler()
459 struct net_icmp_ctx ctx; in ZTEST()
502 struct net_icmp_ctx ctx; in ZTEST()
547 struct net_icmp_ctx ctx; in ZTEST()
586 struct net_icmp_ctx ctx; in ZTEST()
/Zephyr-Core-3.5.0/tests/net/icmpv4/src/
Dmain.c119 static int handle_reply_msg(struct net_icmp_ctx *ctx, in handle_reply_msg()
463 static struct net_icmp_ctx ctx; in icmpv4_send_echo_rep()
/Zephyr-Core-3.5.0/tests/net/mld/src/
Dmain.c432 static int handle_mld_query(struct net_icmp_ctx *ctx, in handle_mld_query()
453 struct net_icmp_ctx ctx; in test_catch_query()
/Zephyr-Core-3.5.0/subsys/net/lib/zperf/
Dzperf_shell.c539 static int ping_handler(struct net_icmp_ctx *ctx, in ping_handler()
563 struct net_icmp_ctx ctx; in send_ping()
/Zephyr-Core-3.5.0/tests/net/ipv6_fragment/src/
Dmain.c2220 static int handle_ipv6_echo_reply(struct net_icmp_ctx *ctx, in handle_ipv6_echo_reply()
2300 struct net_icmp_ctx ctx; in ZTEST()