mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
soccr.h: use uint32_t instead of __u32
As uint32_t already has occupied the header, use it for all 32-bit unsigns. That will allow to drop additional include <linux/types.h>. Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
af6e70b2b9
commit
2a37b50765
1 changed files with 17 additions and 17 deletions
|
|
@ -72,24 +72,24 @@ union libsoccr_addr {
|
|||
* socket and given back into the library in two steps (see below).
|
||||
*/
|
||||
struct libsoccr_sk_data {
|
||||
__u32 state;
|
||||
__u32 inq_len;
|
||||
__u32 inq_seq;
|
||||
__u32 outq_len;
|
||||
__u32 outq_seq;
|
||||
__u32 unsq_len;
|
||||
__u32 opt_mask;
|
||||
__u32 mss_clamp;
|
||||
__u32 snd_wscale;
|
||||
__u32 rcv_wscale;
|
||||
__u32 timestamp;
|
||||
uint32_t state;
|
||||
uint32_t inq_len;
|
||||
uint32_t inq_seq;
|
||||
uint32_t outq_len;
|
||||
uint32_t outq_seq;
|
||||
uint32_t unsq_len;
|
||||
uint32_t opt_mask;
|
||||
uint32_t mss_clamp;
|
||||
uint32_t snd_wscale;
|
||||
uint32_t rcv_wscale;
|
||||
uint32_t timestamp;
|
||||
|
||||
__u32 flags; /* SOCCR_FLAGS_... below */
|
||||
__u32 snd_wl1;
|
||||
__u32 snd_wnd;
|
||||
__u32 max_window;
|
||||
__u32 rcv_wnd;
|
||||
__u32 rcv_wup;
|
||||
uint32_t flags; /* SOCCR_FLAGS_... below */
|
||||
uint32_t snd_wl1;
|
||||
uint32_t snd_wnd;
|
||||
uint32_t max_window;
|
||||
uint32_t rcv_wnd;
|
||||
uint32_t rcv_wup;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue