Home
last modified time | relevance | path

Searched refs:net_pkt_set_family (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dpacket_socket.c40 net_pkt_set_family(pkt, AF_PACKET); in net_packet_socket_input()
44 net_pkt_set_family(pkt, orig_family); in net_packet_socket_input()
Dipv4_acd.c88 net_pkt_set_family(pkt, AF_INET); in ipv4_acd_prepare_arp()
Dipv4.c340 net_pkt_set_family(pkt, PF_INET); in net_ipv4_input()
Dipv6.c579 net_pkt_set_family(pkt, PF_INET6); in net_ipv6_input()
Dnet_pkt.c1671 net_pkt_set_family(pkt, family);
2059 net_pkt_set_family(clone_pkt, net_pkt_family(pkt));
Dnet_context.c2162 net_pkt_set_family(pkt, family); in context_alloc_pkt()
2573 net_pkt_set_family(pkt, AF_INET6); in context_sendto()
2576 net_pkt_set_family(pkt, AF_INET); in context_sendto()
/Zephyr-latest/subsys/net/l2/canbus/
Dcanbus_raw.c26 net_pkt_set_family(pkt, AF_CAN); in canbus_recv()
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1735 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1771 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1814 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1857 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1898 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1935 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
1985 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
2049 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
2094 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
2145 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
[all …]
/Zephyr-latest/samples/net/promiscuous_mode/src/
Dmain.c76 net_pkt_set_family(pkt, AF_INET6); in print_info()
84 net_pkt_set_family(pkt, AF_INET); in print_info()
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c425 net_pkt_set_family(pkt, AF_INET); in ZTEST()
452 net_pkt_set_family(pkts[i], AF_INET); in ZTEST()
477 net_pkt_set_family(pkt, AF_INET); in ZTEST()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c194 net_pkt_set_family(pkt, AF_INET6); in interface_send()
247 net_pkt_set_family(pkt, AF_INET); in interface_send()
308 net_pkt_set_family(pkt, AF_INET6); in interface_recv()
311 net_pkt_set_family(pkt, AF_INET); in interface_recv()
/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c628 net_pkt_set_family(pkt, AF_INET); in ZTEST()
697 net_pkt_set_family(pkt, AF_INET); in ZTEST()
751 net_pkt_set_family(pkt, AF_INET); in ZTEST()
841 net_pkt_set_family(pkt, AF_INET); in ZTEST()
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c162 net_pkt_set_family(pkt, AF_INET6); in create_pkt()
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet.c317 net_pkt_set_family(pkt, AF_INET); in ethernet_recv()
321 net_pkt_set_family(pkt, AF_INET6); in ethernet_recv()
723 net_pkt_set_family(pkt, AF_INET); in ethernet_send()
763 net_pkt_set_family(pkt, AF_INET); in ethernet_send()
Dbridge.c385 net_pkt_set_family(send_pkt, AF_UNSPEC); in bridge_iface_process()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c639 net_pkt_set_family(ip, ctx->local.sa_family); in capture_send()
680 net_pkt_set_family(pkt, ctx->local.sa_family); in capture_send()
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c817 net_pkt_set_family(pkt, AF_INET6); in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h418 static inline void net_pkt_set_family(struct net_pkt *pkt, uint8_t family) in net_pkt_set_family() function