X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=udpstream.h;h=ede738edb45d075eec53a50a7945786301cc336f;hp=3424b984955ded48e1f17c620b60d429b4efa8ac;hb=6544fa0ec3f3a501bcb89ea977756911bd7f3ebd;hpb=7b3d494100ef1063578b1ef76818baee4ab53ada diff --git a/udpstream.h b/udpstream.h index 3424b98..ede738e 100644 --- a/udpstream.h +++ b/udpstream.h @@ -7,6 +7,7 @@ // that there is no state (UDP itself is, of course, stateless). #include +#include #include #include #include @@ -15,8 +16,7 @@ class MarkPool; class UDPStream { public: - // can be NULL. Does not take ownership of the mark pool. - UDPStream(const sockaddr_in6 &dst, MarkPool *mark_pool); + UDPStream(const sockaddr_in6 &dst, uint32_t pacing_rate, int ttl, int multicast_iface_index); ~UDPStream(); void send(const char *data, size_t bytes); @@ -26,8 +26,6 @@ private: sockaddr_in6 dst; int sock; - MarkPool *mark_pool; - int fwmark; }; #endif // !defined(_UDPSTREAM_H)