Commit 5da04589 authored by David Woodhouse's avatar David Woodhouse

Use __uXX types in <linux/divert.h> for struct divert_blk et al.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 5ee882f1
...@@ -27,10 +27,10 @@ struct divert_blk ...@@ -27,10 +27,10 @@ struct divert_blk
{ {
int divert; /* are we active */ int divert; /* are we active */
unsigned int protos; /* protocols */ unsigned int protos; /* protocols */
u16 tcp_dst[MAX_DIVERT_PORTS]; /* specific tcp dst ports to divert */ __u16 tcp_dst[MAX_DIVERT_PORTS]; /* specific tcp dst ports to divert */
u16 tcp_src[MAX_DIVERT_PORTS]; /* specific tcp src ports to divert */ __u16 tcp_src[MAX_DIVERT_PORTS]; /* specific tcp src ports to divert */
u16 udp_dst[MAX_DIVERT_PORTS]; /* specific udp dst ports to divert */ __u16 udp_dst[MAX_DIVERT_PORTS]; /* specific udp dst ports to divert */
u16 udp_src[MAX_DIVERT_PORTS]; /* specific udp src ports to divert */ __u16 udp_src[MAX_DIVERT_PORTS]; /* specific udp src ports to divert */
}; };
/* /*
...@@ -40,12 +40,12 @@ struct divert_blk ...@@ -40,12 +40,12 @@ struct divert_blk
typedef union _divert_cf_arg typedef union _divert_cf_arg
{ {
s16 int16; __s16 int16;
u16 uint16; __u16 uint16;
s32 int32; __s32 int32;
u32 uint32; __u32 uint32;
s64 int64; __s64 int64;
u64 uint64; __u64 uint64;
void __user *ptr; void __user *ptr;
} divert_cf_arg; } divert_cf_arg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment