Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
All three conflicts were cases of simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
6abdd5f593
468 changed files with 5383 additions and 2124 deletions
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include <linux/atmapi.h>
|
||||
#include <linux/atmioc.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
#define ZATM_GETPOOL _IOW('a',ATMIOC_SARPRV+1,struct atmif_sioc)
|
||||
/* get pool statistics */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
#define _UAPI__LINUX_IF_PPPOL2TP_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <linux/in.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
/* Structure used to connect() the socket to a particular tunnel UDP
|
||||
* socket over IPv4.
|
||||
|
|
|
|||
|
|
@ -21,8 +21,11 @@
|
|||
#include <asm/byteorder.h>
|
||||
|
||||
#include <linux/socket.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/if_pppol2tp.h>
|
||||
#include <linux/in.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
/* For user-space programs to pick up these definitions
|
||||
* which they wouldn't get otherwise without defining __KERNEL__
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
#define _UAPI_IF_TUNNEL_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/in6.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
#ifndef _IPX_H_
|
||||
#define _IPX_H_
|
||||
#include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */
|
||||
#include <linux/types.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/socket.h>
|
||||
#define IPX_NODE_LEN 6
|
||||
#define IPX_MTU 576
|
||||
|
||||
#if __UAPI_DEF_SOCKADDR_IPX
|
||||
struct sockaddr_ipx {
|
||||
__kernel_sa_family_t sipx_family;
|
||||
__be16 sipx_port;
|
||||
|
|
@ -14,6 +16,7 @@ struct sockaddr_ipx {
|
|||
__u8 sipx_type;
|
||||
unsigned char sipx_zero; /* 16 byte fill */
|
||||
};
|
||||
#endif /* __UAPI_DEF_SOCKADDR_IPX */
|
||||
|
||||
/*
|
||||
* So we can fit the extra info for SIOCSIFADDR into the address nicely
|
||||
|
|
@ -23,12 +26,15 @@ struct sockaddr_ipx {
|
|||
#define IPX_DLTITF 0
|
||||
#define IPX_CRTITF 1
|
||||
|
||||
#if __UAPI_DEF_IPX_ROUTE_DEFINITION
|
||||
struct ipx_route_definition {
|
||||
__be32 ipx_network;
|
||||
__be32 ipx_router_network;
|
||||
unsigned char ipx_router_node[IPX_NODE_LEN];
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_ROUTE_DEFINITION */
|
||||
|
||||
#if __UAPI_DEF_IPX_INTERFACE_DEFINITION
|
||||
struct ipx_interface_definition {
|
||||
__be32 ipx_network;
|
||||
unsigned char ipx_device[16];
|
||||
|
|
@ -45,16 +51,20 @@ struct ipx_interface_definition {
|
|||
#define IPX_INTERNAL 2
|
||||
unsigned char ipx_node[IPX_NODE_LEN];
|
||||
};
|
||||
|
||||
#endif /* __UAPI_DEF_IPX_INTERFACE_DEFINITION */
|
||||
|
||||
#if __UAPI_DEF_IPX_CONFIG_DATA
|
||||
struct ipx_config_data {
|
||||
unsigned char ipxcfg_auto_select_primary;
|
||||
unsigned char ipxcfg_auto_create_interfaces;
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_CONFIG_DATA */
|
||||
|
||||
/*
|
||||
* OLD Route Definition for backward compatibility.
|
||||
*/
|
||||
|
||||
#if __UAPI_DEF_IPX_ROUTE_DEF
|
||||
struct ipx_route_def {
|
||||
__be32 ipx_network;
|
||||
__be32 ipx_router_network;
|
||||
|
|
@ -67,6 +77,7 @@ struct ipx_route_def {
|
|||
#define IPX_RT_BLUEBOOK 2
|
||||
#define IPX_RT_ROUTED 1
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_ROUTE_DEF */
|
||||
|
||||
#define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
|
||||
#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
|
||||
|
|
|
|||
|
|
@ -139,6 +139,25 @@
|
|||
|
||||
#endif /* _NETINET_IN_H */
|
||||
|
||||
/* Coordinate with glibc netipx/ipx.h header. */
|
||||
#if defined(__NETIPX_IPX_H)
|
||||
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 0
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 0
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 0
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 0
|
||||
|
||||
#else /* defined(__NETIPX_IPX_H) */
|
||||
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 1
|
||||
|
||||
#endif /* defined(__NETIPX_IPX_H) */
|
||||
|
||||
/* Definitions for xattr.h */
|
||||
#if defined(_SYS_XATTR_H)
|
||||
#define __UAPI_DEF_XATTR 0
|
||||
|
|
@ -179,6 +198,13 @@
|
|||
#define __UAPI_DEF_IN6_PKTINFO 1
|
||||
#define __UAPI_DEF_IP6_MTUINFO 1
|
||||
|
||||
/* Definitions for ipx.h */
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 1
|
||||
|
||||
/* Definitions for xattr.h */
|
||||
#define __UAPI_DEF_XATTR 1
|
||||
|
||||
|
|
|
|||
|
|
@ -583,7 +583,7 @@ enum ovs_userspace_attr {
|
|||
#define OVS_USERSPACE_ATTR_MAX (__OVS_USERSPACE_ATTR_MAX - 1)
|
||||
|
||||
struct ovs_action_trunc {
|
||||
uint32_t max_len; /* Max packet size in bytes. */
|
||||
__u32 max_len; /* Max packet size in bytes. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -632,8 +632,8 @@ enum ovs_hash_alg {
|
|||
* @hash_basis: basis used for computing hash.
|
||||
*/
|
||||
struct ovs_action_hash {
|
||||
uint32_t hash_alg; /* One of ovs_hash_alg. */
|
||||
uint32_t hash_basis;
|
||||
__u32 hash_alg; /* One of ovs_hash_alg. */
|
||||
__u32 hash_basis;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue