Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/net/dhcpv4/client/src/
Dmain.c382 if (net_pkt_read_u8(pkt, &type)) { in parse_dhcp_message()
391 if (net_pkt_read_u8(pkt, &msg->type)) { in parse_dhcp_message()
398 if (net_pkt_read_u8(pkt, &length)) { in parse_dhcp_message()
/Zephyr-Core-3.7.0/tests/net/ipv6_fragment/src/
Dmain.c1788 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1794 net_pkt_read_u8(pkt, &last_hdr); in ZTEST()
1831 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1837 net_pkt_read_u8(pkt, &last_hdr); in ZTEST()
1874 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1880 net_pkt_read_u8(pkt, &last_hdr); in ZTEST()
1953 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1959 net_pkt_read_u8(pkt, &last_hdr); in ZTEST()
2278 net_pkt_read_u8(pkt, &data); in handle_ipv6_echo_reply()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dipv6.c205 if (net_pkt_read_u8(pkt, &val)) { in ipv6_handle_ext_hdr_options()
228 if (net_pkt_read_u8(pkt, &opt_type)) { in ipv6_handle_ext_hdr_options()
233 if (net_pkt_read_u8(pkt, &opt_len)) { in ipv6_handle_ext_hdr_options()
666 if (net_pkt_read_u8(pkt, &nexthdr)) { in net_ipv6_input()
Dipv6_fragment.c77 if (net_pkt_read_u8(pkt, &next_nexthdr)) { in net_ipv6_find_last_ext_hdr()
88 if (net_pkt_read_u8(pkt, &val)) { in net_ipv6_find_last_ext_hdr()
709 net_pkt_read_u8(pkt, &next_hdr)) { in net_ipv6_send_fragmented_pkt()
Dipv4.c170 if (net_pkt_read_u8(pkt, &opt_type)) { in net_ipv4_parse_hdr_options()
178 if (net_pkt_read_u8(pkt, &opt_len)) { in net_ipv4_parse_hdr_options()
/Zephyr-Core-3.7.0/subsys/net/l2/ppp/
Dfsm.c953 ret = net_pkt_read_u8(pkt, &code); in fsm_recv_code_rej()
958 ret = net_pkt_read_u8(pkt, &id); in fsm_recv_code_rej()
1035 ret = net_pkt_read_u8(pkt, &code); in ppp_fsm_input()
1042 ret = net_pkt_read_u8(pkt, &id); in ppp_fsm_input()
1172 ret = net_pkt_read_u8(pkt, &code); in ppp_send_proto_rej()
1177 ret = net_pkt_read_u8(pkt, &id); in ppp_send_proto_rej()
Doptions.c40 ret = net_pkt_read_u8(pkt, &opt_type); in ppp_parse_options()
47 ret = net_pkt_read_u8(pkt, &opt_len); in ppp_parse_options()
/Zephyr-Core-3.7.0/tests/net/dhcpv4/server/src/
Dmain.c418 if (net_pkt_read_u8(pkt, &type) < 0) { in verify_no_option()
422 if (net_pkt_read_u8(pkt, &len) < 0) { in verify_no_option()
447 if (net_pkt_read_u8(pkt, &type) < 0) { in verify_option()
451 if (net_pkt_read_u8(pkt, &len) < 0) { in verify_option()
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/
Ddhcpv4.c901 while (!net_pkt_read_u8(pkt, &type)) { in dhcpv4_parse_option_vendor()
913 if (net_pkt_read_u8(pkt, &len)) { in dhcpv4_parse_option_vendor()
975 while (!net_pkt_read_u8(pkt, &type)) { in dhcpv4_parse_options()
981 if (net_pkt_read_u8(pkt, &length)) { in dhcpv4_parse_options()
1279 if (net_pkt_read_u8(pkt, &val)) { in dhcpv4_parse_options()
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Dudp.c31 if (net_pkt_read_u8(pkt, &byte) < 0) { in udp_rcvd()
/Zephyr-Core-3.7.0/tests/net/icmpv4/src/
Dmain.c238 ret = net_pkt_read_u8(pkt, &vhl); in verify_echo_reply_with_opts()
/Zephyr-Core-3.7.0/tests/net/virtual/src/
Dmain.c135 ret = net_pkt_read_u8(pkt, &outer); in eth_tx()
143 ret = net_pkt_read_u8(pkt, &inner); in eth_tx()
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/ipip/
Dipip.c300 if (net_pkt_read_u8(pkt, &iptype)) { in interface_recv()
/Zephyr-Core-3.7.0/subsys/modem/
Dmodem_ppp.c125 (void)net_pkt_read_u8(ppp->tx_pkt, &byte); in modem_ppp_wrap_net_pkt_byte()
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv6/
Ddhcpv6.c800 if (net_pkt_read_u8(pkt, preference) < 0) { in dhcpv6_parse_option_preference()
1024 ret = net_pkt_read_u8(pkt, &iaprefix->prefix_len); in dhcpv6_parse_option_iaprefix()
1812 if (net_pkt_read_u8(pkt, &msg_type) < 0) { in dhcpv6_input()
/Zephyr-Core-3.7.0/drivers/ethernet/
Ddsa_ksz8xxx.c934 net_pkt_read_u8(pkt, &pnum); in dsa_ksz8xxx_get_iface()
/Zephyr-Core-3.7.0/tests/net/dhcpv6/src/
Dmain.c263 ret = net_pkt_read_u8(pkt, &type); in verify_dhcpv6_header()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dnet_pkt.h2245 static inline int net_pkt_read_u8(struct net_pkt *pkt, uint8_t *data) in net_pkt_read_u8() function