Home
last modified time | relevance | path

Searched refs:hop_limit (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/net/6lo/src/
Dmain.c558 .ipv6.hop_limit = 0xff,
580 .ipv6.hop_limit = 0xff,
602 .ipv6.hop_limit = 0xff,
624 .ipv6.hop_limit = 0xff,
646 .ipv6.hop_limit = 0xff,
668 .ipv6.hop_limit = 0xff,
690 .ipv6.hop_limit = 0xff,
707 .ipv6.hop_limit = 0xff,
727 .ipv6.hop_limit = 0xff,
747 .ipv6.hop_limit = 0xff,
[all …]
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/
Dmain.c311 .ipv6.hop_limit = 0xff,
328 .ipv6.hop_limit = 0xff,
345 .ipv6.hop_limit = 0xff,
362 .ipv6.hop_limit = 0xff,
379 .ipv6.hop_limit = 0xff,
396 .ipv6.hop_limit = 0xff,
413 .ipv6.hop_limit = 0xff,
430 .ipv6.hop_limit = 0xff,
448 .ipv6.hop_limit = 0xff,
/Zephyr-latest/subsys/net/ip/
Dipv6.c87 ipv6_hdr->hop_limit = net_pkt_ipv6_hop_limit(pkt); in net_ipv6_create()
88 if (ipv6_hdr->hop_limit == 0U) { in net_ipv6_create()
91 ipv6_hdr->hop_limit = in net_ipv6_create()
94 ipv6_hdr->hop_limit = in net_ipv6_create()
99 ipv6_hdr->hop_limit = in net_ipv6_create()
102 ipv6_hdr->hop_limit = in net_ipv6_create()
429 net_ipv6_is_ll_addr((struct in6_addr *)hdr->src) || hdr->hop_limit <= 1) { in ipv6_forward_mcast_packet()
578 net_pkt_set_ipv6_hop_limit(pkt, NET_IPV6_HDR(pkt)->hop_limit); in net_ipv6_input()
D6lo.c327 switch (ipv6->hop_limit) { in compress_hoplimit()
341 inline_ptr -= sizeof(ipv6->hop_limit); in compress_hoplimit()
342 *inline_ptr = ipv6->hop_limit; in compress_hoplimit()
905 ipv6->hop_limit = *cursor; in uncompress_hoplimit()
910 ipv6->hop_limit = 1U; in uncompress_hoplimit()
914 ipv6->hop_limit = 64U; in uncompress_hoplimit()
918 ipv6->hop_limit = 255U; in uncompress_hoplimit()
Dipv6_mld.c440 ip_hdr->hop_limit != 1U || icmp_hdr->code != 0U) { in handle_mld_query()
Dnet_core.c220 if (NET_IPV6_HDR(pkt)->hop_limit == 0) { in check_ip()
Dnet_if.c2953 void net_if_ipv6_set_mcast_hop_limit(struct net_if *iface, uint8_t hop_limit) in net_if_ipv6_set_mcast_hop_limit() argument
2965 iface->config.ip.ipv6->mcast_hop_limit = hop_limit; in net_if_ipv6_set_mcast_hop_limit()
2984 ret = iface->config.ip.ipv6->hop_limit; in net_if_ipv6_get_hop_limit()
2991 void net_if_ipv6_set_hop_limit(struct net_if *iface, uint8_t hop_limit) in net_if_ipv6_set_hop_limit() argument
3003 iface->config.ip.ipv6->hop_limit = hop_limit; in net_if_ipv6_set_hop_limit()
3321 ipv6_addresses[i].ipv6.hop_limit = CONFIG_NET_INITIAL_HOP_LIMIT; in iface_ipv6_init()
Dipv6_nbr.c1250 (ip_hdr->hop_limit != NET_IPV6_ND_HOP_LIMIT)) && in handle_ns_input()
1870 (ip_hdr->hop_limit != NET_IPV6_ND_HOP_LIMIT) || in handle_na_input()
2576 (ip_hdr->hop_limit != NET_IPV6_ND_HOP_LIMIT) || in handle_ra_input()
Droute.c826 hdr->hop_limit--; in net_route_mcast_forward_packet()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h865 uint8_t hop_limit) in net_context_set_ipv6_hop_limit() argument
867 context->ipv6_hop_limit = hop_limit; in net_context_set_ipv6_hop_limit()
895 uint8_t hop_limit) in net_context_set_ipv6_mcast_hop_limit() argument
897 context->ipv6_mcast_hop_limit = hop_limit; in net_context_set_ipv6_mcast_hop_limit()
Dnet_if.h366 uint8_t hop_limit; member
1880 void net_if_ipv6_set_hop_limit(struct net_if *iface, uint8_t hop_limit);
1883 uint8_t hop_limit) in net_if_ipv6_set_hop_limit() argument
1886 ARG_UNUSED(hop_limit); in net_if_ipv6_set_hop_limit()
1898 uint8_t hop_limit) in net_ipv6_set_hop_limit() argument
1900 net_if_ipv6_set_hop_limit(iface, hop_limit); in net_ipv6_set_hop_limit()
1931 void net_if_ipv6_set_mcast_hop_limit(struct net_if *iface, uint8_t hop_limit);
1934 uint8_t hop_limit) in net_if_ipv6_set_mcast_hop_limit() argument
1937 ARG_UNUSED(hop_limit); in net_if_ipv6_set_mcast_hop_limit()
Dnet_pkt.h703 uint8_t hop_limit) in net_pkt_set_ipv6_hop_limit() argument
705 pkt->ipv6_hop_limit = hop_limit; in net_pkt_set_ipv6_hop_limit()
771 uint8_t hop_limit) in net_pkt_set_ipv6_hop_limit() argument
774 ARG_UNUSED(hop_limit); in net_pkt_set_ipv6_hop_limit()
Dnet_ip.h555 uint8_t hop_limit; member
/Zephyr-latest/subsys/net/lib/dns/
Dresolve.c91 int hop_limit);
1055 int hop_limit) in dns_write() argument
1094 if (hop_limit > 0) { in dns_write()
1098 hop_limit); in dns_write()
1101 hop_limit); in dns_write()
1351 uint8_t hop_limit; in dns_resolve_name() local
1499 hop_limit = 0U; in dns_resolve_name()
1521 hop_limit = 1U; in dns_resolve_name()
1527 dns_qname, hop_limit); in dns_resolve_name()
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1513 zassert_equal(hdr->hop_limit, ipv6_udp[offsetof(struct net_ipv6_hdr, hop_limit)], in udp_data_received()
2251 zassert_equal(hdr->hop_limit, ipv6_reass_frag1[offsetof(struct net_ipv6_hdr, hop_limit)], in handle_ipv6_echo_reply()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c97 ip_hdr->hop_limit, in handle_ipv6_echo_reply()
Diface.c440 ipv6->hop_limit); in iface_cb()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c370 hdr->hop_limit--; in interface_recv()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2033 zassert_equal(ipv6->hop_limit, expected_ttl, in test_check_ttl()
2035 ipv6->hop_limit, expected_ttl); in test_check_ttl()
2037 zassert_equal(ipv6->hop_limit, expected_mcast_ttl, in test_check_ttl()
2039 ipv6->hop_limit, expected_mcast_ttl); in test_check_ttl()
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c53 uint8_t hop_limit; member
/Zephyr-latest/doc/releases/
Drelease-notes-1.12.rst792 * :github:`8182` - Problem with obtaining hop_limit from a received packet