harmonize headers with upcoming 2.6.25
Add stuff from early 2.6.25 merge. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
This commit is contained in:
parent
9932abb498
commit
efc0ea56c8
|
|
@ -0,0 +1,32 @@
|
||||||
|
/*
|
||||||
|
* if_addrlabel.h - netlink interface for address labels
|
||||||
|
*
|
||||||
|
* Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __LINUX_IF_ADDRLABEL_H
|
||||||
|
#define __LINUX_IF_ADDRLABEL_H
|
||||||
|
|
||||||
|
struct ifaddrlblmsg
|
||||||
|
{
|
||||||
|
__u8 ifal_family; /* Address family */
|
||||||
|
__u8 __ifal_reserved; /* Reserved */
|
||||||
|
__u8 ifal_prefixlen; /* Prefix length */
|
||||||
|
__u8 ifal_flags; /* Flags */
|
||||||
|
__u32 ifal_index; /* Link index */
|
||||||
|
__u32 ifal_seq; /* sequence number */
|
||||||
|
};
|
||||||
|
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
IFAL_ADDRESS = 1,
|
||||||
|
IFAL_LABEL = 2,
|
||||||
|
__IFAL_MAX
|
||||||
|
};
|
||||||
|
|
||||||
|
#define IFAL_MAX (__IFAL_MAX - 1)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -99,7 +99,7 @@ typedef __s64 int64_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* this is a special 64bit data type that is 8-byte aligned */
|
/* this is a special 64bit data type that is 8-byte aligned */
|
||||||
#define aligned_u64 unsigned long long __attribute__((aligned(8)))
|
#define aligned_u64 __u64 __attribute__((aligned(8)))
|
||||||
#define aligned_be64 __be64 __attribute__((aligned(8)))
|
#define aligned_be64 __be64 __attribute__((aligned(8)))
|
||||||
#define aligned_le64 __le64 __attribute__((aligned(8)))
|
#define aligned_le64 __le64 __attribute__((aligned(8)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,13 @@ struct xfrm_algo {
|
||||||
char alg_key[0];
|
char alg_key[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct xfrm_algo_aead {
|
||||||
|
char alg_name[64];
|
||||||
|
int alg_key_len; /* in bits */
|
||||||
|
int alg_icv_len; /* in bits */
|
||||||
|
char alg_key[0];
|
||||||
|
};
|
||||||
|
|
||||||
struct xfrm_stats {
|
struct xfrm_stats {
|
||||||
__u32 replay_window;
|
__u32 replay_window;
|
||||||
__u32 replay;
|
__u32 replay;
|
||||||
|
|
@ -270,6 +277,7 @@ enum xfrm_attr_type_t {
|
||||||
XFRMA_LASTUSED,
|
XFRMA_LASTUSED,
|
||||||
XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */
|
XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */
|
||||||
XFRMA_MIGRATE,
|
XFRMA_MIGRATE,
|
||||||
|
XFRMA_ALG_AEAD, /* struct xfrm_algo_aead */
|
||||||
__XFRMA_MAX
|
__XFRMA_MAX
|
||||||
|
|
||||||
#define XFRMA_MAX (__XFRMA_MAX - 1)
|
#define XFRMA_MAX (__XFRMA_MAX - 1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue