diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
commit | 32216b8d5dc5a6f0e3185b0d959e4db855ce7ac5 (patch) | |
tree | f1288270505e5bf5c6fed90e6dc8e59f2ab0a4dd /src/socket.h | |
parent | d8331fc7dcacd721a1d1ef85336faa99f19b3e82 (diff) |
global: move to consistent use of uN instead of uintN_t for kernel code
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 f0d4277..fb4c578 100644 --- a/src/socket.h +++ b/src/socket.h @@ -13,8 +13,8 @@ struct endpoint; 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, uint8_t ds); -int socket_send_skb_to_peer(struct wireguard_peer *peer, struct sk_buff *skb, uint8_t ds); +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 wireguard_device *wg, struct sk_buff *in_skb, void *out_buffer, size_t len); int socket_endpoint_from_skb(struct endpoint *endpoint, struct sk_buff *skb); |