git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] pid.h cleanup
[safe/jmp/linux-2.6]
/
include
/
linux
/
xfrm.h
diff --git
a/include/linux/xfrm.h
b/include/linux/xfrm.h
index
14ecd19
..
430afd0
100644
(file)
--- a/
include/linux/xfrm.h
+++ b/
include/linux/xfrm.h
@@
-12,8
+12,8
@@
*/
typedef union
{
*/
typedef union
{
- __
u32
a4;
- __
u32
a6[4];
+ __
be32
a4;
+ __
be32
a6[4];
} xfrm_address_t;
/* Ident of a specific xfrm_state. It is used on input to lookup
} xfrm_address_t;
/* Ident of a specific xfrm_state. It is used on input to lookup
@@
-23,7
+23,7
@@
typedef union
struct xfrm_id
{
xfrm_address_t daddr;
struct xfrm_id
{
xfrm_address_t daddr;
- __
u32
spi;
+ __
be32
spi;
__u8 proto;
};
__u8 proto;
};
@@
-49,10
+49,10
@@
struct xfrm_selector
{
xfrm_address_t daddr;
xfrm_address_t saddr;
{
xfrm_address_t daddr;
xfrm_address_t saddr;
- __
u16
dport;
- __
u16
dport_mask;
- __
u16
sport;
- __
u16
sport_mask;
+ __
be16
dport;
+ __
be16
dport_mask;
+ __
be16
sport;
+ __
be16
sport_mask;
__u16 family;
__u8 prefixlen_d;
__u8 prefixlen_s;
__u16 family;
__u8 prefixlen_d;
__u8 prefixlen_s;
@@
-281,7
+281,7
@@
struct xfrm_usersa_info {
struct xfrm_usersa_id {
xfrm_address_t daddr;
struct xfrm_usersa_id {
xfrm_address_t daddr;
- __
u32
spi;
+ __
be32
spi;
__u16 family;
__u8 proto;
};
__u16 family;
__u8 proto;
};