Home
last modified time | relevance | path

Searched refs:proto_hdr (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dconnection.h44 union net_proto_header *proto_hdr,
192 union net_proto_header *proto_hdr);
197 union net_proto_header *proto_hdr) in net_conn_input() argument
Dipv4.c248 union net_proto_header proto_hdr; in net_ipv4_input() local
400 proto_hdr.tcp = net_tcp_input(pkt, &tcp_access); in net_ipv4_input()
401 if (proto_hdr.tcp) { in net_ipv4_input()
406 proto_hdr.udp = net_udp_input(pkt, &udp_access); in net_ipv4_input()
407 if (proto_hdr.udp) { in net_ipv4_input()
443 verdict = net_conn_input(pkt, &ip, hdr->proto, &proto_hdr); in net_ipv4_input()
Dconnection.c640 union net_proto_header *proto_hdr) in net_conn_input() argument
653 src_port = proto_hdr->udp->src_port; in net_conn_input()
654 dst_port = proto_hdr->udp->dst_port; in net_conn_input()
656 if (proto_hdr->tcp == NULL) { in net_conn_input()
659 src_port = proto_hdr->tcp->src_port; in net_conn_input()
660 dst_port = proto_hdr->tcp->dst_port; in net_conn_input()
866 if (conn->cb(conn, mcast_pkt, ip_hdr, proto_hdr, conn->user_data) == in net_conn_input()
919 if (cb(best_match, pkt, ip_hdr, proto_hdr, user_data) in net_conn_input()
Dipv6.c485 union net_proto_header proto_hdr; in net_ipv6_input() local
767 proto_hdr.tcp = net_tcp_input(pkt, &tcp_access); in net_ipv6_input()
768 if (proto_hdr.tcp) { in net_ipv6_input()
775 proto_hdr.udp = net_udp_input(pkt, &udp_access); in net_ipv6_input()
776 if (proto_hdr.udp) { in net_ipv6_input()
818 verdict = net_conn_input(pkt, &ip, current_hdr, &proto_hdr); in net_ipv6_input()
Dnet_private.h290 union net_proto_header *proto_hdr,
Dnet_context.c2703 union net_proto_header *proto_hdr, in net_context_packet_received() argument
2735 context->recv_cb(context, pkt, ip_hdr, proto_hdr, 0, user_data); in net_context_packet_received()
2835 union net_proto_header *proto_hdr, in net_context_raw_packet_received() argument
2854 context->recv_cb(context, pkt, ip_hdr, proto_hdr, 0, user_data); in net_context_raw_packet_received()
/Zephyr-latest/subsys/net/lib/socks/
Dsocks.c22 union net_proto_header *proto_hdr, in socks5_method_rsp_cb() argument
46 union net_proto_header *proto_hdr, in socks5_cmd_rsp_cb() argument
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c921 union net_proto_header *proto_hdr) in test_fragment_rx_udp() argument
931 zassert_not_equal(proto_hdr->udp->chksum, 0, "Checksum is not set"); in test_fragment_rx_udp()
942 union net_proto_header *proto_hdr, in recv_cb_offload_disabled() argument
946 zassert_not_null(proto_hdr->udp, "UDP header missing"); in recv_cb_offload_disabled()
949 test_fragment_rx_udp(pkt, proto_hdr); in recv_cb_offload_disabled()
951 zassert_not_equal(proto_hdr->udp->chksum, 0, "Checksum is not set"); in recv_cb_offload_disabled()
970 union net_proto_header *proto_hdr, in recv_cb_offload_enabled() argument
974 zassert_not_null(proto_hdr->udp, "UDP header missing"); in recv_cb_offload_enabled()
977 test_fragment_rx_udp(pkt, proto_hdr); in recv_cb_offload_enabled()
979 zassert_equal(proto_hdr->udp->chksum, 0, "Checksum is set"); in recv_cb_offload_enabled()
/Zephyr-latest/tests/net/context/src/
Dmain.c496 union net_proto_header *proto_hdr, in recv_cb() argument
711 union net_proto_header *proto_hdr, in recv_cb_another() argument
778 union net_proto_header *proto_hdr, in recv_cb_timeout() argument
/Zephyr-latest/subsys/net/lib/shell/
Dudp.c22 union net_proto_header *proto_hdr, int status, in udp_rcvd() argument
Dtcp.c225 union net_proto_header *proto_hdr, in tcp_recv_cb() argument
/Zephyr-latest/tests/net/udp/src/
Dmain.c160 union net_proto_header *proto_hdr, in test_ok() argument
187 union net_proto_header *proto_hdr, in test_fail() argument
/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c359 union net_proto_header *proto_hdr, void *user_data) in udp_data_received() argument
436 union net_proto_header *proto_hdr, void *user_data) in tcp_data_received() argument
/Zephyr-latest/include/zephyr/net/
Dnet_context.h102 union net_proto_header *proto_hdr,
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_packet.c89 union net_proto_header *proto_hdr, in zpacket_received_cb() argument
Dsockets_can.c91 union net_proto_header *proto_hdr, in zcan_received_cb() argument
Dsockets_inet.c43 union net_proto_header *proto_hdr,
213 union net_proto_header *proto_hdr, in zsock_received_cb() argument
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket_offload.c41 union net_proto_header *proto_hdr, in __process_received() argument
/Zephyr-latest/tests/net/traffic_class/src/
Dmain.c695 union net_proto_header *proto_hdr, in recv_cb() argument
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c1766 union net_proto_header *proto_hdr, in recv_cb() argument
1773 ARG_UNUSED(proto_hdr); in recv_cb()
/Zephyr-latest/tests/net/tcp/src/
Dmain.c782 union net_proto_header *proto_hdr, in test_tcp_recv_cb() argument
2531 union net_proto_header *proto_hdr, in test_fin_ack_data_recv_cb() argument
/Zephyr-latest/tests/net/virtual/src/
Dmain.c932 union net_proto_header *proto_hdr, in recv_data() argument
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1486 union net_proto_header *proto_hdr, in udp_data_received() argument
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c1452 union net_proto_header *proto_hdr, in net_dhcpv4_input() argument
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c1790 union net_proto_header *proto_hdr, in dhcpv6_input() argument