Home
last modified time | relevance | path

Searched refs:net_udp_create (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dudp_internal.h43 int net_udp_create(struct net_pkt *pkt, uint16_t src_port, uint16_t dst_port);
45 static inline int net_udp_create(struct net_pkt *pkt,
Dudp.c20 int net_udp_create(struct net_pkt *pkt, uint16_t src_port, uint16_t dst_port) in net_udp_create() function
Dtp.c441 ret = net_udp_create(pkt, htons(4242), htons(4242)); in _tp_output()
Dnet_context.c2105 ret = net_udp_create(pkt, in context_setup_udp_packet()
/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c288 net_udp_create(pkt, htons(SERVER_PORT), htons(CLIENT_PORT))) { in prepare_dhcp_offer()
329 net_udp_create(pkt, htons(SERVER_PORT), htons(CLIENT_PORT))) { in prepare_dhcp_ack()
/Zephyr-latest/tests/net/udp/src/
Dmain.c247 net_udp_create(pkt, htons(src_port), htons(dst_port))) { in send_ipv6_udp_msg()
311 if (net_udp_create(pkt, htons(src_port), htons(dst_port))) { in send_ipv6_udp_long_msg()
364 net_udp_create(pkt, htons(src_port), htons(dst_port))) { in send_ipv4_udp_msg()
/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c310 res = net_udp_create(pkt, htons(src_port), htons(remote_port)); in setup_ipv6_udp()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c666 (void)net_udp_create(ip, net_sin(&ctx->local)->sin_port, in capture_send()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c162 zassert_ok(net_udp_create(pkt, htons(DHCPV4_CLIENT_PORT), in client_prepare_test_msg()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c1028 ret = net_udp_create(inner, htons(src_port), htons(dst_port)); in test_virtual_recv_data_from_tunnel()
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c470 if (net_udp_create(pkt, dst_port, src_port)) { in pkt_setup_ip_data()
Dhl7800.c1617 if (net_udp_create(pkt, dst_port, src_port)) { in pkt_setup_ip_data()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c154 net_udp_create(pkt, htons(DHCPV6_SERVER_PORT), in test_dhcpv6_create_message()
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c296 net_udp_create(pkt, htons(DHCPV4_CLIENT_PORT), in dhcpv4_create_message()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c1623 if (net_udp_create(pkt, htons(local_port), htons(remote_port))) { in setup_ipv6_udp()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c593 net_udp_create(pkt, htons(DHCPV6_CLIENT_PORT), in dhcpv6_create_message()
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1576 * :github:`33646` - Expose net_ipv4_create, net_ipv6_create, and net_udp_create in standard header