Searched refs:current_pkt (Results 1 – 3 of 3) sorted by relevance
24 extern struct net_pkt *current_pkt;149 zassert_not_null(current_pkt); in test_scan_shell_cmd()151 if (!ieee802154_validate_frame(net_pkt_data(current_pkt), net_pkt_get_len(current_pkt), in test_scan_shell_cmd()161 net_pkt_frag_unref(current_pkt->frags); in test_scan_shell_cmd()162 current_pkt->frags = NULL; in test_scan_shell_cmd()191 zassert_not_null(current_pkt); in test_associate_shell_cmd()192 assoc_req = current_pkt->frags; in test_associate_shell_cmd()204 net_pkt_frag_unref(current_pkt->frags); in test_associate_shell_cmd()205 current_pkt->frags = NULL; in test_associate_shell_cmd()347 zassert_not_null(current_pkt); in ZTEST()[all …]
167 extern struct net_pkt *current_pkt;493 if (!current_pkt->frags) { in test_ns_sending()498 pkt_hexdump(net_pkt_data(current_pkt), net_pkt_get_len(current_pkt)); in test_ns_sending()501 if (net_pkt_get_len(current_pkt) != t->length || in test_ns_sending()502 memcmp(net_pkt_data(current_pkt), t->pkt, t->length)) { in test_ns_sending()508 if (!ieee802154_validate_frame(net_pkt_data(current_pkt), in test_ns_sending()509 net_pkt_get_len(current_pkt), &mpdu)) { in test_ns_sending()517 net_pkt_frag_unref(current_pkt->frags); in test_ns_sending()518 current_pkt->frags = NULL; in test_ns_sending()732 if (!current_pkt->frags) { in test_dgram_packet_sending()[all …]
22 struct net_pkt *current_pkt; variable63 net_pkt_frag_add(current_pkt, new_frag); in insert_frag()74 if (!current_pkt) { in fake_tx()