Lines Matching refs:frame_buf
784 struct net_buf *frame_buf; in test_dgram_packet_reception() local
825 frame_buf = net_pkt_get_frag(pkt, IEEE802154_MTU, K_FOREVER); in test_dgram_packet_reception()
826 if (!frame_buf) { in test_dgram_packet_reception()
835 net_buf_add(frame_buf, ll_hdr_len); in test_dgram_packet_reception()
836 net_buf_add_mem(frame_buf, payload, sizeof(payload)); in test_dgram_packet_reception()
837 net_buf_add(frame_buf, authtag_len); in test_dgram_packet_reception()
852 net_pkt_lladdr_src(pkt), frame_buf, ll_hdr_len); in test_dgram_packet_reception()
865 net_pkt_frag_add(pkt, frame_buf); in test_dgram_packet_reception()
988 struct net_buf *frame_buf; in test_raw_packet_reception() local
1009 frame_buf = net_pkt_get_frag(pkt, sizeof(raw_payload), K_FOREVER); in test_raw_packet_reception()
1010 if (!frame_buf) { in test_raw_packet_reception()
1015 net_buf_add_mem(frame_buf, raw_payload, sizeof(raw_payload)); in test_raw_packet_reception()
1016 net_pkt_frag_add(pkt, frame_buf); in test_raw_packet_reception()