Lines Matching refs:net_pkt_iface
492 net_pkt_iface(pkt), \
493 net_if_get_by_iface(net_pkt_iface(pkt))); \
510 net_pkt_iface(pkt), \
511 net_if_get_by_iface(net_pkt_iface(pkt))); \
831 mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv6_prepare_for_send()
836 ret = net_ipv6_send_fragmented_pkt(net_pkt_iface(pkt), in net_ipv6_prepare_for_send()
873 net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_POINTOPOINT) || in net_ipv6_prepare_for_send()
874 net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in net_ipv6_prepare_for_send()
915 iface = net_pkt_iface(pkt); in net_ipv6_prepare_for_send()
988 ret = net_ipv6_send_ns(net_pkt_iface(pkt), pkt, in net_ipv6_prepare_for_send()
996 ret, net_pkt_iface(pkt), in net_ipv6_prepare_for_send()
997 net_if_get_by_iface(net_pkt_iface(pkt))); in net_ipv6_prepare_for_send()
1001 pkt, pkt->buffer, net_pkt_iface(pkt), in net_ipv6_prepare_for_send()
1002 net_if_get_by_iface(net_pkt_iface(pkt))); in net_ipv6_prepare_for_send()
1010 net_pkt_iface(pkt), net_if_get_by_iface(net_pkt_iface(pkt))); in net_ipv6_prepare_for_send()
1172 net_stats_update_icmp_sent(net_pkt_iface(pkt)); in net_ipv6_send_na()
1196 net_pkt_iface(pkt), in ns_routing_info()
1197 net_if_get_by_iface(net_pkt_iface(pkt))); in ns_routing_info()
1202 net_pkt_iface(pkt), in ns_routing_info()
1203 net_if_get_by_iface(net_pkt_iface(pkt))); in ns_routing_info()
1232 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_ns_input()
1245 net_stats_update_ipv6_nd_recv(net_pkt_iface(pkt)); in handle_ns_input()
1311 net_pkt_iface(pkt), (struct in6_addr *)ns_hdr->tgt); in handle_ns_input()
1336 net_pkt_iface(pkt), in handle_ns_input()
1342 net_pkt_iface(pkt), in handle_ns_input()
1344 net_pkt_iface(pkt))); in handle_ns_input()
1382 net_pkt_iface(pkt), in handle_ns_input()
1383 net_if_get_by_iface(net_pkt_iface(pkt))); in handle_ns_input()
1385 dad_failed(net_pkt_iface(pkt), in handle_ns_input()
1395 net_pkt_iface(pkt), in handle_ns_input()
1431 net_pkt_iface(pkt), in handle_ns_input()
1449 if (!net_ipv6_nbr_add(net_pkt_iface(pkt), in handle_ns_input()
1457 if (!net_ipv6_send_na(net_pkt_iface(pkt), na_src, in handle_ns_input()
1467 net_stats_update_ipv6_nd_drop(net_pkt_iface(pkt)); in handle_ns_input()
1475 net_stats_update_ipv6_nd_drop(net_pkt_iface(pkt)); in handle_ns_input()
1664 nbr = nbr_lookup(&net_neighbor.table, net_pkt_iface(pkt), in handle_na_neighbor()
1668 net_pkt_iface(pkt), net_if_get_by_iface(net_pkt_iface(pkt)), in handle_na_neighbor()
1700 if (net_nbr_link(nbr, net_pkt_iface(pkt), &nbr_lladdr)) { in handle_na_neighbor()
1746 net_ipv6_nbr_set_reachable_timer(net_pkt_iface(pkt), in handle_na_neighbor()
1790 net_ipv6_nbr_set_reachable_timer(net_pkt_iface(pkt), in handle_na_neighbor()
1851 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_na_input()
1864 net_stats_update_ipv6_nd_recv(net_pkt_iface(pkt)); in handle_na_input()
1919 ifaddr = net_if_ipv6_addr_lookup_by_iface(net_pkt_iface(pkt), in handle_na_input()
1923 net_pkt_iface(pkt), in handle_na_input()
1924 net_if_get_by_iface(net_pkt_iface(pkt)), in handle_na_input()
1929 dad_failed(net_pkt_iface(pkt), in handle_na_input()
1943 net_stats_update_ipv6_nd_drop(net_pkt_iface(pkt)); in handle_na_input()
1949 net_stats_update_ipv6_nd_drop(net_pkt_iface(pkt)); in handle_na_input()
2087 net_stats_update_icmp_sent(net_pkt_iface(pkt)); in net_ipv6_send_ns()
2159 net_stats_update_icmp_sent(net_pkt_iface(pkt)); in net_ipv6_send_rs()
2187 return net_ipv6_nbr_add(net_pkt_iface(pkt), in handle_ra_neighbor()
2198 prefix = net_if_ipv6_prefix_lookup(net_pkt_iface(pkt), in handle_prefix_onlink()
2206 prefix = net_if_ipv6_prefix_add(net_pkt_iface(pkt), in handle_prefix_onlink()
2212 net_pkt_iface(pkt), in handle_prefix_onlink()
2213 net_if_get_by_iface(net_pkt_iface(pkt)), in handle_prefix_onlink()
2222 net_pkt_iface(pkt), in handle_prefix_onlink()
2223 net_if_get_by_iface(net_pkt_iface(pkt))); in handle_prefix_onlink()
2232 net_pkt_iface(pkt), in handle_prefix_onlink()
2233 net_if_get_by_iface(net_pkt_iface(pkt)), in handle_prefix_onlink()
2237 net_if_ipv6_prefix_rm(net_pkt_iface(pkt), in handle_prefix_onlink()
2244 net_pkt_iface(pkt), in handle_prefix_onlink()
2245 net_if_get_by_iface(net_pkt_iface(pkt)), in handle_prefix_onlink()
2254 net_pkt_iface(pkt), in handle_prefix_onlink()
2255 net_if_get_by_iface(net_pkt_iface(pkt)), in handle_prefix_onlink()
2276 struct net_if *iface = net_pkt_iface(pkt); in handle_prefix_autonomous()
2418 net_6lo_set_context(net_pkt_iface(pkt), context); in handle_ra_6co()
2558 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_ra_input()
2570 net_stats_update_ipv6_nd_recv(net_pkt_iface(pkt)); in handle_ra_input()
2589 net_if_ipv6_set_hop_limit(net_pkt_iface(pkt), in handle_ra_input()
2592 net_if_ipv6_get_hop_limit(net_pkt_iface(pkt))); in handle_ra_input()
2596 (net_if_ipv6_get_reachable_time(net_pkt_iface(pkt)) != in handle_ra_input()
2598 net_if_ipv6_set_base_reachable_time(net_pkt_iface(pkt), in handle_ra_input()
2601 net_pkt_iface(pkt)->config.ip.ipv6); in handle_ra_input()
2605 net_if_ipv6_set_retrans_timer(net_pkt_iface(pkt), in handle_ra_input()
2618 nbr = net_ipv6_nbr_add(net_pkt_iface(pkt), (struct in6_addr *)NET_IPV6_HDR(pkt)->src, NULL, in handle_ra_input()
2647 net_if_set_mtu(net_pkt_iface(pkt), mtu); in handle_ra_input()
2721 router = net_if_ipv6_router_lookup(net_pkt_iface(pkt), in handle_ra_input()
2738 net_if_ipv6_router_add(net_pkt_iface(pkt), in handle_ra_input()
2758 net_if_stop_rs(net_pkt_iface(pkt)); in handle_ra_input()
2763 net_stats_update_ipv6_nd_drop(net_pkt_iface(pkt)); in handle_ra_input()
2798 net_stats_update_ipv6_pmtu_recv(net_pkt_iface(pkt)); in handle_ptb_input()
2847 net_stats_update_ipv6_pmtu_drop(net_pkt_iface(pkt)); in handle_ptb_input()
2855 net_stats_update_ipv6_pmtu_drop(net_pkt_iface(pkt)); in handle_ptb_input()