Searched refs:icmp_hdr (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | icmpv6.c | 75 struct net_icmp_hdr *icmp_hdr; in net_icmpv6_finalize() local 77 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_finalize() 78 if (!icmp_hdr) { in net_icmpv6_finalize() 82 icmp_hdr->chksum = net_calc_chksum_icmpv6(pkt); in net_icmpv6_finalize() 91 struct net_icmp_hdr *icmp_hdr; in net_icmpv6_create() local 93 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_create() 94 if (!icmp_hdr) { in net_icmpv6_create() 98 icmp_hdr->type = icmp_type; in net_icmpv6_create() 99 icmp_hdr->code = icmp_code; in net_icmpv6_create() 100 icmp_hdr->chksum = 0U; in net_icmpv6_create() [all …]
|
D | icmpv4.c | 37 struct net_icmp_hdr *icmp_hdr; in icmpv4_create() local 39 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in icmpv4_create() 40 if (!icmp_hdr) { in icmpv4_create() 44 icmp_hdr->type = icmp_type; in icmpv4_create() 45 icmp_hdr->code = icmp_code; in icmpv4_create() 46 icmp_hdr->chksum = 0U; in icmpv4_create() 55 struct net_icmp_hdr *icmp_hdr; in net_icmpv4_finalize() local 63 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in net_icmpv4_finalize() 64 if (!icmp_hdr) { in net_icmpv4_finalize() 68 icmp_hdr->chksum = net_calc_chksum_icmpv4(pkt); in net_icmpv4_finalize() [all …]
|
D | icmpv4.h | 38 struct net_icmp_hdr *icmp_hdr);
|
D | ipv6_mld.c | 301 struct net_icmp_hdr *icmp_hdr) in handle_mld_query() argument 330 ip_hdr->hop_limit != 1U || icmp_hdr->code != 0U) { in handle_mld_query()
|
D | icmpv6.h | 148 struct net_icmp_hdr *icmp_hdr);
|
D | ipv6_nbr.c | 1147 struct net_icmp_hdr *icmp_hdr) in handle_ns_input() argument 1181 (net_ipv6_is_addr_mcast(&ns_hdr->tgt) && icmp_hdr->code != 0U)) { in handle_ns_input() 1715 struct net_icmp_hdr *icmp_hdr) in handle_na_input() argument 1745 (icmp_hdr->code != 0U)) { in handle_na_input() 2269 struct net_icmp_hdr *icmp_hdr) in handle_ra_input() argument 2298 icmp_hdr->code != 0U) { in handle_ra_input()
|
D | net_shell.c | 3850 struct net_icmp_hdr *icmp_hdr); 3865 struct net_icmp_hdr *icmp_hdr) in handle_ipv6_echo_reply() argument 3985 struct net_icmp_hdr *icmp_hdr); 4000 struct net_icmp_hdr *icmp_hdr) in handle_ipv4_echo_reply() argument
|
/Zephyr-Core-2.7.6/tests/net/icmpv4/src/ |
D | main.c | 119 struct net_icmp_hdr *icmp_hdr) in handle_reply_msg() argument 175 struct net_icmp_hdr icmp_hdr; in verify_echo_reply() local 189 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply() 194 if (icmp_hdr.code != 0 || icmp_hdr.type != 0) { in verify_echo_reply() 226 struct net_icmp_hdr icmp_hdr; in verify_echo_reply_with_opts() local 253 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply_with_opts() 258 if (icmp_hdr.code != 0 || icmp_hdr.type != 0) { in verify_echo_reply_with_opts()
|
/Zephyr-Core-2.7.6/tests/net/icmpv6/src/ |
D | main.c | 62 struct net_icmp_hdr *icmp_hdr) in handle_test_msg() argument
|
/Zephyr-Core-2.7.6/subsys/net/l2/canbus/ |
D | 6locan.c | 1229 static void rewrite_icmp_hdr(struct net_pkt *pkt, struct net_icmp_hdr *icmp_hdr) in rewrite_icmp_hdr() argument 1235 ret = net_icmpv6_create(pkt, icmp_hdr->type, icmp_hdr->code); in rewrite_icmp_hdr() 1257 struct net_icmp_hdr *icmp_hdr; in extend_llao() local 1272 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in extend_llao() 1273 if (!icmp_hdr) { in extend_llao() 1278 switch (icmp_hdr->type) { in extend_llao() 1316 (icmp_hdr->type == NET_ICMPV6_NA && in extend_llao() 1346 rewrite_icmp_hdr(pkt, icmp_hdr); in extend_llao()
|
/Zephyr-Core-2.7.6/tests/net/6lo/src/ |
D | main.c | 326 struct net_icmp_hdr *icmp_hdr = net_pkt_get_data(pkt, &icmp_access); in compare_icmp_hdr() local 329 if (!icmp_hdr) { in compare_icmp_hdr() 336 res = memcmp((uint8_t *)icmp_hdr, (uint8_t *)&data->nh.icmp, in compare_icmp_hdr()
|
/Zephyr-Core-2.7.6/tests/net/mld/src/ |
D | main.c | 446 struct net_icmp_hdr *icmp_hdr) in handle_mld_query() argument
|