diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 6 | ||||
| -rw-r--r-- | include/linux/ipv6.h | 1 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 2 | ||||
| -rw-r--r-- | include/net/cfg80211.h | 2 | ||||
| -rw-r--r-- | include/net/inet_connection_sock.h | 1 | ||||
| -rw-r--r-- | include/net/inet_sock.h | 9 | ||||
| -rw-r--r-- | include/net/sock.h | 2 | ||||
| -rw-r--r-- | include/net/xfrm.h | 4 |
8 files changed, 18 insertions, 9 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index 3c80885fa829..d323a4b4143c 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -89,6 +89,12 @@ | |||
| 89 | #define BCMA_CC_CHIPST_4313_OTP_PRESENT 2 | 89 | #define BCMA_CC_CHIPST_4313_OTP_PRESENT 2 |
| 90 | #define BCMA_CC_CHIPST_4331_SPROM_PRESENT 2 | 90 | #define BCMA_CC_CHIPST_4331_SPROM_PRESENT 2 |
| 91 | #define BCMA_CC_CHIPST_4331_OTP_PRESENT 4 | 91 | #define BCMA_CC_CHIPST_4331_OTP_PRESENT 4 |
| 92 | #define BCMA_CC_CHIPST_43228_ILP_DIV_EN 0x00000001 | ||
| 93 | #define BCMA_CC_CHIPST_43228_OTP_PRESENT 0x00000002 | ||
| 94 | #define BCMA_CC_CHIPST_43228_SERDES_REFCLK_PADSEL 0x00000004 | ||
| 95 | #define BCMA_CC_CHIPST_43228_SDIO_MODE 0x00000008 | ||
| 96 | #define BCMA_CC_CHIPST_43228_SDIO_OTP_PRESENT 0x00000010 | ||
| 97 | #define BCMA_CC_CHIPST_43228_SDIO_RESET 0x00000020 | ||
| 92 | #define BCMA_CC_CHIPST_4706_PKG_OPTION BIT(0) /* 0: full-featured package 1: low-cost package */ | 98 | #define BCMA_CC_CHIPST_4706_PKG_OPTION BIT(0) /* 0: full-featured package 1: low-cost package */ |
| 93 | #define BCMA_CC_CHIPST_4706_SFLASH_PRESENT BIT(1) /* 0: parallel, 1: serial flash is present */ | 99 | #define BCMA_CC_CHIPST_4706_SFLASH_PRESENT BIT(1) /* 0: parallel, 1: serial flash is present */ |
| 94 | #define BCMA_CC_CHIPST_4706_SFLASH_TYPE BIT(2) /* 0: 8b-p/ST-s flash, 1: 16b-p/Atmal-s flash */ | 100 | #define BCMA_CC_CHIPST_4706_SFLASH_TYPE BIT(2) /* 0: 8b-p/ST-s flash, 1: 16b-p/Atmal-s flash */ |
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 379e433e15e0..879db26ec401 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
| @@ -369,6 +369,7 @@ struct ipv6_pinfo { | |||
| 369 | __u8 rcv_tclass; | 369 | __u8 rcv_tclass; |
| 370 | 370 | ||
| 371 | __u32 dst_cookie; | 371 | __u32 dst_cookie; |
| 372 | __u32 rx_dst_cookie; | ||
| 372 | 373 | ||
| 373 | struct ipv6_mc_socklist __rcu *ipv6_mc_list; | 374 | struct ipv6_mc_socklist __rcu *ipv6_mc_list; |
| 374 | struct ipv6_ac_socklist *ipv6_ac_list; | 375 | struct ipv6_ac_socklist *ipv6_ac_list; |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index eb06e58bed0b..a9db4f33407f 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1300,6 +1300,8 @@ struct net_device { | |||
| 1300 | /* for setting kernel sock attribute on TCP connection setup */ | 1300 | /* for setting kernel sock attribute on TCP connection setup */ |
| 1301 | #define GSO_MAX_SIZE 65536 | 1301 | #define GSO_MAX_SIZE 65536 |
| 1302 | unsigned int gso_max_size; | 1302 | unsigned int gso_max_size; |
| 1303 | #define GSO_MAX_SEGS 65535 | ||
| 1304 | u16 gso_max_segs; | ||
| 1303 | 1305 | ||
| 1304 | #ifdef CONFIG_DCB | 1306 | #ifdef CONFIG_DCB |
| 1305 | /* Data Center Bridging netlink ops */ | 1307 | /* Data Center Bridging netlink ops */ |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 493fa0c79005..3d254e10ff30 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -96,6 +96,7 @@ enum ieee80211_band { | |||
| 96 | * is not permitted. | 96 | * is not permitted. |
| 97 | * @IEEE80211_CHAN_NO_HT40MINUS: extension channel below this channel | 97 | * @IEEE80211_CHAN_NO_HT40MINUS: extension channel below this channel |
| 98 | * is not permitted. | 98 | * is not permitted. |
| 99 | * @IEEE80211_CHAN_NO_OFDM: OFDM is not allowed on this channel. | ||
| 99 | */ | 100 | */ |
| 100 | enum ieee80211_channel_flags { | 101 | enum ieee80211_channel_flags { |
| 101 | IEEE80211_CHAN_DISABLED = 1<<0, | 102 | IEEE80211_CHAN_DISABLED = 1<<0, |
| @@ -104,6 +105,7 @@ enum ieee80211_channel_flags { | |||
| 104 | IEEE80211_CHAN_RADAR = 1<<3, | 105 | IEEE80211_CHAN_RADAR = 1<<3, |
| 105 | IEEE80211_CHAN_NO_HT40PLUS = 1<<4, | 106 | IEEE80211_CHAN_NO_HT40PLUS = 1<<4, |
| 106 | IEEE80211_CHAN_NO_HT40MINUS = 1<<5, | 107 | IEEE80211_CHAN_NO_HT40MINUS = 1<<5, |
| 108 | IEEE80211_CHAN_NO_OFDM = 1<<6, | ||
| 107 | }; | 109 | }; |
| 108 | 110 | ||
| 109 | #define IEEE80211_CHAN_NO_HT40 \ | 111 | #define IEEE80211_CHAN_NO_HT40 \ |
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 5ee66f517b4f..ba1d3615acbb 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
| @@ -39,6 +39,7 @@ struct inet_connection_sock_af_ops { | |||
| 39 | int (*queue_xmit)(struct sk_buff *skb, struct flowi *fl); | 39 | int (*queue_xmit)(struct sk_buff *skb, struct flowi *fl); |
| 40 | void (*send_check)(struct sock *sk, struct sk_buff *skb); | 40 | void (*send_check)(struct sock *sk, struct sk_buff *skb); |
| 41 | int (*rebuild_header)(struct sock *sk); | 41 | int (*rebuild_header)(struct sock *sk); |
| 42 | void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb); | ||
| 42 | int (*conn_request)(struct sock *sk, struct sk_buff *skb); | 43 | int (*conn_request)(struct sock *sk, struct sk_buff *skb); |
| 43 | struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb, | 44 | struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb, |
| 44 | struct request_sock *req, | 45 | struct request_sock *req, |
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index 83b567fe1941..613cfa401672 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h | |||
| @@ -249,13 +249,4 @@ static inline __u8 inet_sk_flowi_flags(const struct sock *sk) | |||
| 249 | return flags; | 249 | return flags; |
| 250 | } | 250 | } |
| 251 | 251 | ||
| 252 | static inline void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb) | ||
| 253 | { | ||
| 254 | struct dst_entry *dst = skb_dst(skb); | ||
| 255 | |||
| 256 | dst_hold(dst); | ||
| 257 | sk->sk_rx_dst = dst; | ||
| 258 | inet_sk(sk)->rx_dst_ifindex = skb->skb_iif; | ||
| 259 | } | ||
| 260 | |||
| 261 | #endif /* _INET_SOCK_H */ | 252 | #endif /* _INET_SOCK_H */ |
diff --git a/include/net/sock.h b/include/net/sock.h index b3730239bf18..72132aef53fc 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
| @@ -218,6 +218,7 @@ struct cg_proto; | |||
| 218 | * @sk_route_nocaps: forbidden route capabilities (e.g NETIF_F_GSO_MASK) | 218 | * @sk_route_nocaps: forbidden route capabilities (e.g NETIF_F_GSO_MASK) |
| 219 | * @sk_gso_type: GSO type (e.g. %SKB_GSO_TCPV4) | 219 | * @sk_gso_type: GSO type (e.g. %SKB_GSO_TCPV4) |
| 220 | * @sk_gso_max_size: Maximum GSO segment size to build | 220 | * @sk_gso_max_size: Maximum GSO segment size to build |
| 221 | * @sk_gso_max_segs: Maximum number of GSO segments | ||
| 221 | * @sk_lingertime: %SO_LINGER l_linger setting | 222 | * @sk_lingertime: %SO_LINGER l_linger setting |
| 222 | * @sk_backlog: always used with the per-socket spinlock held | 223 | * @sk_backlog: always used with the per-socket spinlock held |
| 223 | * @sk_callback_lock: used with the callbacks in the end of this struct | 224 | * @sk_callback_lock: used with the callbacks in the end of this struct |
| @@ -338,6 +339,7 @@ struct sock { | |||
| 338 | netdev_features_t sk_route_nocaps; | 339 | netdev_features_t sk_route_nocaps; |
| 339 | int sk_gso_type; | 340 | int sk_gso_type; |
| 340 | unsigned int sk_gso_max_size; | 341 | unsigned int sk_gso_max_size; |
| 342 | u16 sk_gso_max_segs; | ||
| 341 | int sk_rcvlowat; | 343 | int sk_rcvlowat; |
| 342 | unsigned long sk_lingertime; | 344 | unsigned long sk_lingertime; |
| 343 | struct sk_buff_head sk_error_queue; | 345 | struct sk_buff_head sk_error_queue; |
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index d9509eb29b80..62b619e82a90 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
| @@ -213,6 +213,9 @@ struct xfrm_state { | |||
| 213 | struct xfrm_lifetime_cur curlft; | 213 | struct xfrm_lifetime_cur curlft; |
| 214 | struct tasklet_hrtimer mtimer; | 214 | struct tasklet_hrtimer mtimer; |
| 215 | 215 | ||
| 216 | /* used to fix curlft->add_time when changing date */ | ||
| 217 | long saved_tmo; | ||
| 218 | |||
| 216 | /* Last used time */ | 219 | /* Last used time */ |
| 217 | unsigned long lastused; | 220 | unsigned long lastused; |
| 218 | 221 | ||
| @@ -238,6 +241,7 @@ static inline struct net *xs_net(struct xfrm_state *x) | |||
| 238 | 241 | ||
| 239 | /* xflags - make enum if more show up */ | 242 | /* xflags - make enum if more show up */ |
| 240 | #define XFRM_TIME_DEFER 1 | 243 | #define XFRM_TIME_DEFER 1 |
| 244 | #define XFRM_SOFT_EXPIRE 2 | ||
| 241 | 245 | ||
| 242 | enum { | 246 | enum { |
| 243 | XFRM_STATE_VOID, | 247 | XFRM_STATE_VOID, |
