Home
last modified time | relevance | path

Searched refs:net_pkt_read_be16 (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c324 net_pkt_read_be16(recv_pkt, &offset); in sender_iface()
331 net_pkt_read_be16(recv_pkt, &buf_port_src); in sender_iface()
332 net_pkt_read_be16(recv_pkt, &buf_port_dst); in sender_iface()
410 net_pkt_read_be16(pkt, &udp_src_port); in udp_data_received()
411 net_pkt_read_be16(pkt, &udp_dst_port); in udp_data_received()
412 net_pkt_read_be16(pkt, &udp_len); in udp_data_received()
413 net_pkt_read_be16(pkt, &udp_checksum); in udp_data_received()
491 net_pkt_read_be16(pkt, &tcp_src_port); in tcp_data_received()
492 net_pkt_read_be16(pkt, &tcp_dst_port); in tcp_data_received()
495 net_pkt_read_be16(pkt, &tcp_flags); in tcp_data_received()
[all …]
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c989 net_pkt_read_be16(recv_pkt, &buf_port_src); in test_pkt_loopback()
990 net_pkt_read_be16(recv_pkt, &buf_port_dst); in test_pkt_loopback()
1184 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1224 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1264 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1317 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1363 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1416 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
1462 net_pkt_read_be16(pkt, &frag_offset)) { in verify_fragment()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c819 ret = net_pkt_read_be16(pkt, status); in dhcpv6_parse_option_status_code()
877 ret = net_pkt_read_be16(pkt, &code); in dhcpv6_parse_option_iaaddr()
882 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaaddr()
960 ret = net_pkt_read_be16(pkt, &code); in dhcpv6_parse_option_ia_na()
965 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_na()
1053 ret = net_pkt_read_be16(pkt, &code); in dhcpv6_parse_option_iaprefix()
1058 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaprefix()
1136 ret = net_pkt_read_be16(pkt, &code); in dhcpv6_parse_option_ia_pd()
1141 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_pd()
1188 while (net_pkt_read_be16(pkt, &code) == 0) { in dhcpv6_find_option()
[all …]
/Zephyr-latest/tests/net/ppp/driver/src/
Dmain.c336 net_pkt_read_be16(pkt, &addr_and_ctrl); in ppp_verify_fcs()
407 net_pkt_read_be16(pkt, &addr_and_ctrl); in ppp_calc_fcs()
/Zephyr-latest/samples/net/lldp/src/
Dmain.c154 if (net_pkt_read_be16(pkt, &type_length)) { in parse_lldp()
/Zephyr-latest/tests/net/mld/src/
Dmain.c653 zassert_ok(net_pkt_read_be16(pkt, &res_bytes), "Failed to read reserved bytes"); in expect_exclude_mcast_report()
656 zassert_ok(net_pkt_read_be16(pkt, &records_count), "Failed to read addr count"); in expect_exclude_mcast_report()
839 zassert_ok(net_pkt_read_be16(pkt, &res_bytes), "Failed to read reserved bytes"); in handle_mld_report()
842 zassert_ok(net_pkt_read_be16(pkt, &info->records_count), "Failed to read addr count"); in handle_mld_report()
/Zephyr-latest/subsys/net/l2/ppp/
Dlcp.c78 ret = net_pkt_read_be16(pkt, &data->auth_proto); in lcp_auth_proto_parse()
Dppp_l2.c83 ret = net_pkt_read_be16(pkt, &protocol); in process_ppp_msg()
Dfsm.c1049 ret = net_pkt_read_be16(pkt, &length); in ppp_fsm_input()
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c280 net_pkt_read_be16(pkt, &value16); in ZTEST()
293 ret = net_pkt_read_be16(pkt, &value16); in ZTEST()
/Zephyr-latest/subsys/net/ip/
Dipv6_fragment.c490 net_pkt_read_be16(pkt, &flag) || in net_ipv6_handle_fragment_hdr()
Dnet_pkt.c1901 int net_pkt_read_be16(struct net_pkt *pkt, uint16_t *data) function
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c322 ret = net_pkt_read_be16(pkt, &elapsed_time); in verify_dhcpv6_elapsed_time()
419 ret = net_pkt_read_be16(pkt, &oro); in verify_dhcpv6_oro_sol_max_rt()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2332 int net_pkt_read_be16(struct net_pkt *pkt, uint16_t *data);