X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=udpstream.h;h=ebc8ebc9b070822d74b0ba6ef759f5ec2cc80bdf;hb=e58011d0b12b490acaf7b65f7462a119ca8d6410;hp=3424b984955ded48e1f17c620b60d429b4efa8ac;hpb=adbeb2f8972672ed1059509662d006df47762228;p=cubemap diff --git a/udpstream.h b/udpstream.h index 3424b98..ebc8ebc 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); ~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)