Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
5da04589
Commit
5da04589
authored
May 04, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use __uXX types in <linux/divert.h> for struct divert_blk et al.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
5ee882f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
include/linux/divert.h
include/linux/divert.h
+10
-10
No files found.
include/linux/divert.h
View file @
5da04589
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment