Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e8a4e377
Commit
e8a4e377
authored
Feb 22, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfrm: Mark flowi arg const in key extraction helpers.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
86fce3ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/net/xfrm.h
include/net/xfrm.h
+6
-6
No files found.
include/net/xfrm.h
View file @
e8a4e377
...
...
@@ -790,7 +790,7 @@ static __inline__ int addr_match(void *token1, void *token2, int prefixlen)
}
static
__inline__
__be16
xfrm_flowi_sport
(
struct
flowi
*
fl
)
__be16
xfrm_flowi_sport
(
const
struct
flowi
*
fl
)
{
__be16
port
;
switch
(
fl
->
proto
)
{
...
...
@@ -817,7 +817,7 @@ __be16 xfrm_flowi_sport(struct flowi *fl)
}
static
__inline__
__be16
xfrm_flowi_dport
(
struct
flowi
*
fl
)
__be16
xfrm_flowi_dport
(
const
struct
flowi
*
fl
)
{
__be16
port
;
switch
(
fl
->
proto
)
{
...
...
@@ -1127,7 +1127,7 @@ static inline int xfrm6_policy_check_reverse(struct sock *sk, int dir,
#endif
static
__inline__
xfrm_address_t
*
xfrm_flowi_daddr
(
struct
flowi
*
fl
,
unsigned
short
family
)
xfrm_address_t
*
xfrm_flowi_daddr
(
const
struct
flowi
*
fl
,
unsigned
short
family
)
{
switch
(
family
){
case
AF_INET
:
...
...
@@ -1139,7 +1139,7 @@ xfrm_address_t *xfrm_flowi_daddr(struct flowi *fl, unsigned short family)
}
static
__inline__
xfrm_address_t
*
xfrm_flowi_saddr
(
struct
flowi
*
fl
,
unsigned
short
family
)
xfrm_address_t
*
xfrm_flowi_saddr
(
const
struct
flowi
*
fl
,
unsigned
short
family
)
{
switch
(
family
){
case
AF_INET
:
...
...
@@ -1151,7 +1151,7 @@ xfrm_address_t *xfrm_flowi_saddr(struct flowi *fl, unsigned short family)
}
static
__inline__
void
xfrm_flowi_addr_get
(
struct
flowi
*
fl
,
void
xfrm_flowi_addr_get
(
const
struct
flowi
*
fl
,
xfrm_address_t
*
saddr
,
xfrm_address_t
*
daddr
,
unsigned
short
family
)
{
...
...
@@ -1204,7 +1204,7 @@ xfrm_state_addr_check(struct xfrm_state *x,
}
static
__inline__
int
xfrm_state_addr_flow_check
(
struct
xfrm_state
*
x
,
struct
flowi
*
fl
,
xfrm_state_addr_flow_check
(
struct
xfrm_state
*
x
,
const
struct
flowi
*
fl
,
unsigned
short
family
)
{
switch
(
family
)
{
...
...
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