/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | canbus_socket.c | 23 __ASSERT_NO_MSG(net_pkt_family(pkt) == AF_CAN); in net_canbus_socket_input()
|
D | udp.c | 43 enum net_if_checksum_type type = net_pkt_family(pkt) == AF_INET6 ? in net_udp_finalize() 154 enum net_if_checksum_type type = net_pkt_family(pkt) == AF_INET6 ? in net_udp_input() 175 net_pkt_family(pkt) == AF_INET) { in net_udp_input()
|
D | packet_socket.c | 38 orig_family = net_pkt_family(pkt); in net_packet_socket_input()
|
D | connection.c | 491 if (addr->sa_family != net_pkt_family(pkt)) { in conn_addr_cmp() 496 net_pkt_family(pkt) == AF_INET6 && in conn_addr_cmp() 516 net_pkt_family(pkt) == AF_INET && in conn_addr_cmp() 543 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in conn_send_icmp_error() 643 uint8_t pkt_family = net_pkt_family(pkt); in net_conn_input() 680 " family %d", net_proto2str(net_pkt_family(pkt), proto), pkt, in net_conn_input() 681 ntohs(src_port), ntohs(dst_port), net_pkt_family(pkt)); in net_conn_input()
|
D | net_core.c | 121 uint8_t family = net_pkt_family(pkt); in process_data() 227 family = net_pkt_family(pkt); in check_ip() 420 switch (net_pkt_family(pkt)) { in net_send_data()
|
D | tp.c | 360 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in udp_finalize_pkt() 364 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in udp_finalize_pkt() 373 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in ip_header_add() 383 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in ip_header_add()
|
D | tcp.c | 185 switch (net_pkt_family(pkt)) { in tcp_endpoint_set() 235 NET_ERR("Unknown address family: %hu", net_pkt_family(pkt)); in tcp_endpoint_set() 364 (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6 && \ 1336 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in tcp_finalize_pkt() 1340 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in tcp_finalize_pkt() 1381 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in ip_header_add() 1387 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in ip_header_add() 1448 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in is_destination_local() 1457 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in is_destination_local() 1489 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in net_tcp_reply_rst() [all …]
|
D | utils.c | 660 net_pkt_family(pkt) == AF_INET) { in net_calc_chksum() 668 net_pkt_family(pkt) == AF_INET6) { in net_calc_chksum() 674 NET_DBG("Unknown protocol family %d", net_pkt_family(pkt)); in net_calc_chksum()
|
D | net_pkt.c | 951 sa_family_t family = net_pkt_family(pkt); 1060 hdr_len = pkt_estimate_headers_length(pkt, net_pkt_family(pkt), proto); 1146 if (!size && proto == 0 && net_pkt_family(pkt) == AF_UNSPEC) { 1161 net_pkt_family(pkt), 1863 net_pkt_set_family(clone_pkt, net_pkt_family(pkt)); 1903 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { 1908 net_pkt_family(pkt) == AF_INET6) {
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_6lo.c | 42 if (net_pkt_family(pkt) != AF_INET6) { in ieee802154_6lo_encode_pkt()
|
D | ieee802154.c | 490 if (IS_ENABLED(CONFIG_NET_SOCKETS_PACKET) && net_pkt_family(pkt) == AF_PACKET) { in ieee802154_send()
|
/Zephyr-Core-3.7.0/tests/net/tcp/src/ |
D | main.c | 397 if (net_pkt_family(pkt) == AF_INET) { in is_icmp_pkt() 447 handle_client_test(net_pkt_family(pkt), &th); in tester_send() 452 handle_server_test(net_pkt_family(pkt), &th); in tester_send() 458 handle_client_fin_wait_2_test(net_pkt_family(pkt), &th); in tester_send() 461 handle_client_closing_test(net_pkt_family(pkt), &th); in tester_send() 467 handle_data_fin1_test(net_pkt_family(pkt), &th); in tester_send() 470 handle_data_during_fin1_test(net_pkt_family(pkt), &th); in tester_send() 473 handle_syn_rst_ack(net_pkt_family(pkt), &th); in tester_send() 476 handle_server_rst_on_closed_port(net_pkt_family(pkt), &th); in tester_send() 479 handle_server_rst_on_listening_port(net_pkt_family(pkt), &th); in tester_send() [all …]
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | loopback.c | 127 if (net_pkt_family(pkt) == AF_INET6) { in loopback_send()
|
D | canbus.c | 107 if (net_pkt_family(pkt) != AF_CAN) { in net_canbus_send()
|
D | ppp.c | 830 if (net_pkt_family(pkt) == AF_INET) { in ppp_send() 832 } else if (net_pkt_family(pkt) == AF_INET6) { in ppp_send()
|
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/ipip/ |
D | ipip.c | 146 if (net_pkt_family(pkt) == AF_INET) { in interface_send() 149 } else if (net_pkt_family(pkt) == AF_INET6) { in interface_send() 340 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in interface_recv() 380 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in interface_recv()
|
/Zephyr-Core-3.7.0/subsys/modem/ |
D | modem_ppp.c | 39 if (net_pkt_family(pkt) == AF_INET) { in modem_ppp_ppp_protocol() 43 if (net_pkt_family(pkt) == AF_INET6) { in modem_ppp_ppp_protocol() 465 if ((net_pkt_is_ppp(pkt) == false) && (net_pkt_family(pkt) != AF_INET) && in modem_ppp_ppp_api_send() 466 (net_pkt_family(pkt) != AF_INET6)) { in modem_ppp_ppp_api_send()
|
/Zephyr-Core-3.7.0/subsys/net/pkt_filter/ |
D | base.c | 157 struct npf_rule_list *rules = get_ip_rules(net_pkt_family(pkt)); in net_pkt_filter_ip_recv_ok() 276 uint8_t pkt_family = net_pkt_family(pkt); in npf_ip_src_addr_match()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/ |
D | ethernet.c | 132 if (net_pkt_family(pkt) == AF_INET) { in ethernet_update_length() 437 if (net_pkt_family(pkt) == AF_INET && in ethernet_fill_in_dst_on_ipv4_mcast() 497 if (net_pkt_family(pkt) == AF_INET6 && in ethernet_fill_in_dst_on_ipv6_mcast() 637 net_pkt_family(pkt) == AF_INET) { in ethernet_send() 659 net_pkt_family(pkt) == AF_INET6) { in ethernet_send() 662 net_pkt_family(pkt) == AF_PACKET) { in ethernet_send()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | wncm14a2a.c | 437 if (net_pkt_family(pkt) == AF_INET6) { in pkt_setup_ip_data() 451 if (net_pkt_family(pkt) == AF_INET) { in pkt_setup_ip_data() 1664 if (net_pkt_family(pkt) == AF_INET6) { in offload_send() 1669 if (net_pkt_family(pkt) == AF_INET) { in offload_send()
|
D | hl7800.c | 1584 if (net_pkt_family(pkt) == AF_INET6) { in pkt_setup_ip_data() 1600 if (net_pkt_family(pkt) == AF_INET) { in pkt_setup_ip_data() 6140 if (net_pkt_family(pkt) == AF_INET6) { in offload_send() 6145 if (net_pkt_family(pkt) == AF_INET) { in offload_send()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | sockets.c | 1105 addr->sa_family = net_pkt_family(pkt); in sock_get_pkt_src_addr() 1108 net_pkt_family(pkt) == AF_INET) { in sock_get_pkt_src_addr() 1131 net_pkt_family(pkt) == AF_INET6) { in sock_get_pkt_src_addr() 1197 if (net_pkt_family(pkt) == AF_INET) { in net_pkt_remote_addr_is_unspecified() 1199 } else if (net_pkt_family(pkt) == AF_INET6) { in net_pkt_remote_addr_is_unspecified() 1219 net_pkt_family(pkt) == AF_INET) { in sock_get_offload_pkt_src_addr() 1227 net_pkt_family(pkt) == AF_INET6) { in sock_get_offload_pkt_src_addr() 1373 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in add_pktinfo() 1399 if (IS_ENABLED(CONFIG_NET_IPV6) && net_pkt_family(pkt) == AF_INET6) { in add_pktinfo()
|
/Zephyr-Core-3.7.0/tests/net/checksum_offload/src/ |
D | main.c | 203 if (net_pkt_family(pkt) == AF_INET6) { in test_receiving() 955 if (net_pkt_family(pkt) == AF_INET) { in recv_cb_offload_disabled() 981 if (net_pkt_family(pkt) == AF_INET) { in recv_cb_offload_enabled()
|
/Zephyr-Core-3.7.0/tests/net/context/src/ |
D | main.c | 1024 if (net_pkt_family(pkt) == AF_INET6) { in tester_send()
|
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/ |
D | main.c | 848 zassert_equal(net_pkt_family(cloned_pkt), AF_INET6, in ZTEST()
|