Home
last modified time | relevance | path

Searched refs:net_pkt_write_be32 (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c297 if (net_pkt_write_be32(pkt, xid)) { in prepare_dhcp_offer()
338 if (net_pkt_write_be32(pkt, xid)) { in prepare_dhcp_ack()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c303 ret = net_pkt_write_be32(pkt, ia_na->iaid); in dhcpv6_add_option_ia_na()
308 ret = net_pkt_write_be32(pkt, ia_na->t1); in dhcpv6_add_option_ia_na()
313 ret = net_pkt_write_be32(pkt, ia_na->t2); in dhcpv6_add_option_ia_na()
333 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.preferred_lifetime); in dhcpv6_add_option_ia_na()
338 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.valid_lifetime); in dhcpv6_add_option_ia_na()
363 ret = net_pkt_write_be32(pkt, ia_pd->iaid); in dhcpv6_add_option_ia_pd()
368 ret = net_pkt_write_be32(pkt, ia_pd->t1); in dhcpv6_add_option_ia_pd()
373 ret = net_pkt_write_be32(pkt, ia_pd->t2); in dhcpv6_add_option_ia_pd()
388 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.preferred_lifetime); in dhcpv6_add_option_ia_pd()
393 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.valid_lifetime); in dhcpv6_add_option_ia_pd()
/Zephyr-latest/subsys/net/ip/
Digmp.c209 if (net_pkt_write_be32(pkt, router_alert)) { in igmp_v2_create_packet()
235 if (net_pkt_write_be32(pkt, router_alert)) { in igmp_v3_create_packet()
Dicmpv4.c308 if (net_pkt_write_be32(reply, htons(k_uptime_get_32()))) { in icmpv4_update_time_stamp()
324 if (net_pkt_write_be32(reply, htons(k_uptime_get_32()))) { in icmpv4_update_time_stamp()
Dicmpv6.c300 err = net_pkt_write_be32(pkt, param); in net_icmpv6_send_error()
/Zephyr-latest/subsys/net/l2/ppp/
Dfsm.c503 ret = net_pkt_write_be32(pkt, ctx->lcp.magic); in ppp_send_pkt()
511 ret = net_pkt_write_be32(pkt, in ppp_send_pkt()
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c301 ret = net_pkt_write_be32(pkt, 0); in ZTEST()
396 ret = net_pkt_write_be32(pkt, 0); in ZTEST()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c220 net_pkt_write_be32(pkt, test_ctx.lease_time); in client_prepare_test_msg()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt.rst225 net_pkt_write_be32(pkt, &bar);
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2425 static inline int net_pkt_write_be32(struct net_pkt *pkt, uint32_t data) in net_pkt_write_be32() function