diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-29 20:49:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-29 22:37:44 +0200 |
commit | be7efbeb3c9ae7719832d3cc145e4b2cb1c72b6a (patch) | |
tree | be174620b999679e5093bc4bf6b442973aa0c141 /src/socket.h | |
parent | 18acc219f623de2b7248de851390d76372d55616 (diff) |
send: properly encapsulate ECN
We're not leaking the DSCP, but we do deal with ECN.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.h b/src/socket.h index 327246f..2fe1bbf 100644 --- a/src/socket.h +++ b/src/socket.h @@ -14,8 +14,8 @@ struct wireguard_device; int socket_init(struct wireguard_device *wg); void socket_uninit(struct wireguard_device *wg); -int socket_send_buffer_to_peer(struct wireguard_peer *peer, void *data, size_t len, u8 dscp); -int socket_send_skb_to_peer(struct wireguard_peer *peer, struct sk_buff *skb, u8 dscp); +int socket_send_buffer_to_peer(struct wireguard_peer *peer, void *data, size_t len, u8 ds); +int socket_send_skb_to_peer(struct wireguard_peer *peer, struct sk_buff *skb, u8 ds); int socket_send_buffer_as_reply_to_skb(struct sk_buff *in_skb, void *out_buffer, size_t len, struct wireguard_device *wg); int socket_addr_from_skb(struct sockaddr_storage *sockaddr, struct sk_buff *skb); |