Home
last modified time | relevance | path

Searched refs:net_ipv6_nbr_data (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/net/lib/shell/
Dnbr.c72 state_str = net_ipv6_nbr_state2str(net_ipv6_nbr_data(nbr)->state); in nbr_cb()
83 remaining = net_ipv6_nbr_data(nbr)->reachable + in nbr_cb()
84 net_ipv6_nbr_data(nbr)->reachable_timeout - in nbr_cb()
90 net_ipv6_nbr_data(nbr)->link_metric, in nbr_cb()
92 net_ipv6_nbr_data(nbr)->ns_count, in nbr_cb()
93 net_ipv6_nbr_data(nbr)->is_router, in nbr_cb()
107 net_sprint_ipv6_addr(&net_ipv6_nbr_data(nbr)->addr)); in nbr_cb()
148 "%s", net_sprint_ipv6_addr(&net_ipv6_nbr_data(nbr)->addr)); in nbr_address_cb()
/Zephyr-latest/subsys/net/ip/
Dipv6_nbr.c92 sizeof(struct net_ipv6_nbr_data),
137 static inline struct net_nbr *get_nbr_from_data(struct net_ipv6_nbr_data *data) in get_nbr_from_data()
155 if (new_state == net_ipv6_nbr_data(nbr)->state || in ipv6_nbr_set_state()
156 net_ipv6_nbr_data(nbr)->state == NET_IPV6_NBR_STATE_STATIC) { in ipv6_nbr_set_state()
161 net_ipv6_nbr_state2str(net_ipv6_nbr_data(nbr)->state), in ipv6_nbr_set_state()
164 net_ipv6_nbr_data(nbr)->state = new_state; in ipv6_nbr_set_state()
166 if (net_ipv6_nbr_data(nbr)->state == NET_IPV6_NBR_STATE_STALE) { in ipv6_nbr_set_state()
168 net_ipv6_nbr_data(nbr)->stale_counter = stale_counter++; in ipv6_nbr_set_state()
174 struct net_ipv6_nbr_data *data = NULL; in ipv6_nbr_set_state()
185 data = net_ipv6_nbr_data(nbr); in ipv6_nbr_set_state()
[all …]
Dipv6.h86 struct net_ipv6_nbr_data { struct
122 static inline struct net_ipv6_nbr_data *net_ipv6_nbr_data(struct net_nbr *nbr) in net_ipv6_nbr_data() argument
124 return (struct net_ipv6_nbr_data *)nbr->data; in net_ipv6_nbr_data()
Droute.c665 struct net_ipv6_nbr_data *ipv6_nbr_data; in net_route_get_nexthop()
676 ipv6_nbr_data = net_ipv6_nbr_data(nexthop_route->nbr); in net_route_get_nexthop()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c803 zassert_equal(net_ipv6_nbr_data(nbr)->state, NET_IPV6_NBR_STATE_REACHABLE, in ZTEST()
2163 net_ipv6_nbr_data(nbr)->state = NET_IPV6_NBR_STATE_STALE; in ZTEST()
2166 zassert_equal(net_ipv6_nbr_data(nbr)->state, NET_IPV6_NBR_STATE_REACHABLE); in ZTEST()
2169 net_ipv6_nbr_data(nbr)->state = NET_IPV6_NBR_STATE_PROBE; in ZTEST()
2173 zassert_equal(net_ipv6_nbr_data(nbr)->state, NET_IPV6_NBR_STATE_PROBE); in ZTEST()
2176 zassert_equal(net_ipv6_nbr_data(nbr)->state, NET_IPV6_NBR_STATE_REACHABLE); in ZTEST()