26#include <unordered_map>
30#include <seastar/core/shared_ptr.hh>
31#include <seastar/net/api.hh>
32#include <seastar/net/const.hh>
33#include <seastar/net/net.hh>
34#include <seastar/util/modules.hh>
46 template<
typename Adjuster>
47 auto adjust_endianness(Adjuster a) {
48 return a(src_port, dst_port, len, cksum);
57 future<> wait_for_send_buffer(
size_t len) {
return _user_queue_space.
wait(len); }
58 void complete_send(
size_t len) { _user_queue_space.
signal(len); }
future wait(size_t nr=1) noexcept
Definition: semaphore.hh:299
void signal(size_t nr=1) noexcept
Definition: semaphore.hh:396
A representation of a possibly not-yet-computed value.
Definition: future.hh:1240
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
Definition: unaligned.hh:58