20#include <seastar/net/packet.hh>
21#include <seastar/core/iostream.hh>
36 if (_cur_frag != _p.nr_frags()) {
37 auto& f = _p.fragments()[_cur_frag++];
38 return make_ready_future<temporary_buffer<char>>(
40 make_deleter(
deleter(), [p = _p.share()] ()
mutable {})));
Definition: iostream.hh:61
Definition: iostream.hh:69
Definition: deleter.hh:52
A representation of a possibly not-yet-computed value.
Definition: future.hh:1240
Definition: packet-data-source.hh:27
Seastar API namespace.
Definition: abort_on_ebadf.hh:26