diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/brcmphy.h | 6 | ||||
-rw-r--r-- | include/linux/ieee80211.h | 52 | ||||
-rw-r--r-- | include/linux/netfilter/nfnetlink_conntrack.h | 10 | ||||
-rw-r--r-- | include/linux/netfilter_bridge/ebt_ip6.h | 40 | ||||
-rw-r--r-- | include/linux/netfilter_bridge/ebt_log.h | 3 | ||||
-rw-r--r-- | include/linux/netfilter_ipv4.h | 1 | ||||
-rw-r--r-- | include/linux/netfilter_ipv6.h | 1 | ||||
-rw-r--r-- | include/linux/netlink.h | 2 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 1 | ||||
-rw-r--r-- | include/linux/tcp.h | 50 | ||||
-rw-r--r-- | include/linux/tipc_config.h | 10 | ||||
-rw-r--r-- | include/linux/wanrouter.h | 2 | ||||
-rw-r--r-- | include/linux/wireless.h | 2 |
13 files changed, 132 insertions, 48 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h new file mode 100644 index 000000000000..9b64b6d67873 --- /dev/null +++ b/include/linux/brcmphy.h | |||
@@ -0,0 +1,6 @@ | |||
1 | #define PHY_BRCM_WIRESPEED_ENABLE 0x00000001 | ||
2 | #define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000002 | ||
3 | #define PHY_BRCM_APD_CLK125_ENABLE 0x00000004 | ||
4 | #define PHY_BRCM_STD_IBND_DISABLE 0x00000008 | ||
5 | #define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00000010 | ||
6 | #define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00000020 | ||
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 0b5e03eae6d2..9300f37cd7e8 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -306,20 +306,32 @@ struct ieee80211_ht_addt_info { | |||
306 | #define IEEE80211_HT_CAP_SGI_40 0x0040 | 306 | #define IEEE80211_HT_CAP_SGI_40 0x0040 |
307 | #define IEEE80211_HT_CAP_DELAY_BA 0x0400 | 307 | #define IEEE80211_HT_CAP_DELAY_BA 0x0400 |
308 | #define IEEE80211_HT_CAP_MAX_AMSDU 0x0800 | 308 | #define IEEE80211_HT_CAP_MAX_AMSDU 0x0800 |
309 | /* 802.11n HT capability AMPDU settings */ | ||
309 | #define IEEE80211_HT_CAP_AMPDU_FACTOR 0x03 | 310 | #define IEEE80211_HT_CAP_AMPDU_FACTOR 0x03 |
310 | #define IEEE80211_HT_CAP_AMPDU_DENSITY 0x1C | 311 | #define IEEE80211_HT_CAP_AMPDU_DENSITY 0x1C |
312 | /* 802.11n HT capability MSC set */ | ||
313 | #define IEEE80211_SUPP_MCS_SET_UEQM 4 | ||
314 | #define IEEE80211_HT_CAP_MAX_STREAMS 4 | ||
315 | #define IEEE80211_SUPP_MCS_SET_LEN 10 | ||
316 | /* maximum streams the spec allows */ | ||
317 | #define IEEE80211_HT_CAP_MCS_TX_DEFINED 0x01 | ||
318 | #define IEEE80211_HT_CAP_MCS_TX_RX_DIFF 0x02 | ||
319 | #define IEEE80211_HT_CAP_MCS_TX_STREAMS 0x0C | ||
320 | #define IEEE80211_HT_CAP_MCS_TX_UEQM 0x10 | ||
311 | /* 802.11n HT IE masks */ | 321 | /* 802.11n HT IE masks */ |
312 | #define IEEE80211_HT_IE_CHA_SEC_OFFSET 0x03 | 322 | #define IEEE80211_HT_IE_CHA_SEC_OFFSET 0x03 |
323 | #define IEEE80211_HT_IE_CHA_SEC_ABOVE 0x01 | ||
324 | #define IEEE80211_HT_IE_CHA_SEC_BELOW 0x03 | ||
313 | #define IEEE80211_HT_IE_CHA_WIDTH 0x04 | 325 | #define IEEE80211_HT_IE_CHA_WIDTH 0x04 |
314 | #define IEEE80211_HT_IE_HT_PROTECTION 0x0003 | 326 | #define IEEE80211_HT_IE_HT_PROTECTION 0x0003 |
315 | #define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004 | 327 | #define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004 |
316 | #define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010 | 328 | #define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010 |
317 | 329 | ||
318 | /* MIMO Power Save Modes */ | 330 | /* MIMO Power Save Modes */ |
319 | #define WLAN_HT_CAP_MIMO_PS_STATIC 0 | 331 | #define WLAN_HT_CAP_MIMO_PS_STATIC 0 |
320 | #define WLAN_HT_CAP_MIMO_PS_DYNAMIC 1 | 332 | #define WLAN_HT_CAP_MIMO_PS_DYNAMIC 1 |
321 | #define WLAN_HT_CAP_MIMO_PS_INVALID 2 | 333 | #define WLAN_HT_CAP_MIMO_PS_INVALID 2 |
322 | #define WLAN_HT_CAP_MIMO_PS_DISABLED 3 | 334 | #define WLAN_HT_CAP_MIMO_PS_DISABLED 3 |
323 | 335 | ||
324 | /* Authentication algorithms */ | 336 | /* Authentication algorithms */ |
325 | #define WLAN_AUTH_OPEN 0 | 337 | #define WLAN_AUTH_OPEN 0 |
@@ -552,16 +564,17 @@ enum ieee80211_back_parties { | |||
552 | */ | 564 | */ |
553 | static inline u8 *ieee80211_get_SA(struct ieee80211_hdr *hdr) | 565 | static inline u8 *ieee80211_get_SA(struct ieee80211_hdr *hdr) |
554 | { | 566 | { |
555 | u8 *raw = (u8 *) hdr; | 567 | __le16 fc = hdr->frame_control; |
556 | u8 tofrom = (*(raw+1)) & 3; /* get the TODS and FROMDS bits */ | 568 | fc &= cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); |
557 | 569 | ||
558 | switch (tofrom) { | 570 | switch (fc) { |
559 | case 2: | 571 | case __constant_cpu_to_le16(IEEE80211_FCTL_FROMDS): |
560 | return hdr->addr3; | 572 | return hdr->addr3; |
561 | case 3: | 573 | case __constant_cpu_to_le16(IEEE80211_FCTL_TODS|IEEE80211_FCTL_FROMDS): |
562 | return hdr->addr4; | 574 | return hdr->addr4; |
575 | default: | ||
576 | return hdr->addr2; | ||
563 | } | 577 | } |
564 | return hdr->addr2; | ||
565 | } | 578 | } |
566 | 579 | ||
567 | /** | 580 | /** |
@@ -577,12 +590,13 @@ static inline u8 *ieee80211_get_SA(struct ieee80211_hdr *hdr) | |||
577 | */ | 590 | */ |
578 | static inline u8 *ieee80211_get_DA(struct ieee80211_hdr *hdr) | 591 | static inline u8 *ieee80211_get_DA(struct ieee80211_hdr *hdr) |
579 | { | 592 | { |
580 | u8 *raw = (u8 *) hdr; | 593 | __le16 fc = hdr->frame_control; |
581 | u8 to_ds = (*(raw+1)) & 1; /* get the TODS bit */ | 594 | fc &= cpu_to_le16(IEEE80211_FCTL_TODS); |
582 | 595 | ||
583 | if (to_ds) | 596 | if (fc) |
584 | return hdr->addr3; | 597 | return hdr->addr3; |
585 | return hdr->addr1; | 598 | else |
599 | return hdr->addr1; | ||
586 | } | 600 | } |
587 | 601 | ||
588 | /** | 602 | /** |
@@ -595,8 +609,8 @@ static inline u8 *ieee80211_get_DA(struct ieee80211_hdr *hdr) | |||
595 | */ | 609 | */ |
596 | static inline int ieee80211_get_morefrag(struct ieee80211_hdr *hdr) | 610 | static inline int ieee80211_get_morefrag(struct ieee80211_hdr *hdr) |
597 | { | 611 | { |
598 | return (le16_to_cpu(hdr->frame_control) & | 612 | __le16 fc = hdr->frame_control; |
599 | IEEE80211_FCTL_MOREFRAGS) != 0; | 613 | return !!(fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)); |
600 | } | 614 | } |
601 | 615 | ||
602 | #endif /* IEEE80211_H */ | 616 | #endif /* IEEE80211_H */ |
diff --git a/include/linux/netfilter/nfnetlink_conntrack.h b/include/linux/netfilter/nfnetlink_conntrack.h index 0a383ac083cb..759bc043dc65 100644 --- a/include/linux/netfilter/nfnetlink_conntrack.h +++ b/include/linux/netfilter/nfnetlink_conntrack.h | |||
@@ -81,6 +81,7 @@ enum ctattr_protoinfo { | |||
81 | CTA_PROTOINFO_UNSPEC, | 81 | CTA_PROTOINFO_UNSPEC, |
82 | CTA_PROTOINFO_TCP, | 82 | CTA_PROTOINFO_TCP, |
83 | CTA_PROTOINFO_DCCP, | 83 | CTA_PROTOINFO_DCCP, |
84 | CTA_PROTOINFO_SCTP, | ||
84 | __CTA_PROTOINFO_MAX | 85 | __CTA_PROTOINFO_MAX |
85 | }; | 86 | }; |
86 | #define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1) | 87 | #define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1) |
@@ -103,6 +104,15 @@ enum ctattr_protoinfo_dccp { | |||
103 | }; | 104 | }; |
104 | #define CTA_PROTOINFO_DCCP_MAX (__CTA_PROTOINFO_DCCP_MAX - 1) | 105 | #define CTA_PROTOINFO_DCCP_MAX (__CTA_PROTOINFO_DCCP_MAX - 1) |
105 | 106 | ||
107 | enum ctattr_protoinfo_sctp { | ||
108 | CTA_PROTOINFO_SCTP_UNSPEC, | ||
109 | CTA_PROTOINFO_SCTP_STATE, | ||
110 | CTA_PROTOINFO_SCTP_VTAG_ORIGINAL, | ||
111 | CTA_PROTOINFO_SCTP_VTAG_REPLY, | ||
112 | __CTA_PROTOINFO_SCTP_MAX | ||
113 | }; | ||
114 | #define CTA_PROTOINFO_SCTP_MAX (__CTA_PROTOINFO_SCTP_MAX - 1) | ||
115 | |||
106 | enum ctattr_counters { | 116 | enum ctattr_counters { |
107 | CTA_COUNTERS_UNSPEC, | 117 | CTA_COUNTERS_UNSPEC, |
108 | CTA_COUNTERS_PACKETS, /* old 64bit counters */ | 118 | CTA_COUNTERS_PACKETS, /* old 64bit counters */ |
diff --git a/include/linux/netfilter_bridge/ebt_ip6.h b/include/linux/netfilter_bridge/ebt_ip6.h new file mode 100644 index 000000000000..2273c3ae33ca --- /dev/null +++ b/include/linux/netfilter_bridge/ebt_ip6.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * ebt_ip6 | ||
3 | * | ||
4 | * Authors: | ||
5 | * Kuo-Lang Tseng <kuo-lang.tseng@intel.com> | ||
6 | * Manohar Castelino <manohar.r.castelino@intel.com> | ||
7 | * | ||
8 | * Jan 11, 2008 | ||
9 | * | ||
10 | */ | ||
11 | |||
12 | #ifndef __LINUX_BRIDGE_EBT_IP6_H | ||
13 | #define __LINUX_BRIDGE_EBT_IP6_H | ||
14 | |||
15 | #define EBT_IP6_SOURCE 0x01 | ||
16 | #define EBT_IP6_DEST 0x02 | ||
17 | #define EBT_IP6_TCLASS 0x04 | ||
18 | #define EBT_IP6_PROTO 0x08 | ||
19 | #define EBT_IP6_SPORT 0x10 | ||
20 | #define EBT_IP6_DPORT 0x20 | ||
21 | #define EBT_IP6_MASK (EBT_IP6_SOURCE | EBT_IP6_DEST | EBT_IP6_TCLASS |\ | ||
22 | EBT_IP6_PROTO | EBT_IP6_SPORT | EBT_IP6_DPORT) | ||
23 | #define EBT_IP6_MATCH "ip6" | ||
24 | |||
25 | /* the same values are used for the invflags */ | ||
26 | struct ebt_ip6_info | ||
27 | { | ||
28 | struct in6_addr saddr; | ||
29 | struct in6_addr daddr; | ||
30 | struct in6_addr smsk; | ||
31 | struct in6_addr dmsk; | ||
32 | uint8_t tclass; | ||
33 | uint8_t protocol; | ||
34 | uint8_t bitmask; | ||
35 | uint8_t invflags; | ||
36 | uint16_t sport[2]; | ||
37 | uint16_t dport[2]; | ||
38 | }; | ||
39 | |||
40 | #endif | ||
diff --git a/include/linux/netfilter_bridge/ebt_log.h b/include/linux/netfilter_bridge/ebt_log.h index 96e231ae7554..b76e653157e5 100644 --- a/include/linux/netfilter_bridge/ebt_log.h +++ b/include/linux/netfilter_bridge/ebt_log.h | |||
@@ -4,7 +4,8 @@ | |||
4 | #define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */ | 4 | #define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */ |
5 | #define EBT_LOG_ARP 0x02 | 5 | #define EBT_LOG_ARP 0x02 |
6 | #define EBT_LOG_NFLOG 0x04 | 6 | #define EBT_LOG_NFLOG 0x04 |
7 | #define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP) | 7 | #define EBT_LOG_IP6 0x08 |
8 | #define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6) | ||
8 | #define EBT_LOG_PREFIX_SIZE 30 | 9 | #define EBT_LOG_PREFIX_SIZE 30 |
9 | #define EBT_LOG_WATCHER "log" | 10 | #define EBT_LOG_WATCHER "log" |
10 | 11 | ||
diff --git a/include/linux/netfilter_ipv4.h b/include/linux/netfilter_ipv4.h index 650318b0c405..29c7727ff0e8 100644 --- a/include/linux/netfilter_ipv4.h +++ b/include/linux/netfilter_ipv4.h | |||
@@ -60,6 +60,7 @@ enum nf_ip_hook_priorities { | |||
60 | NF_IP_PRI_MANGLE = -150, | 60 | NF_IP_PRI_MANGLE = -150, |
61 | NF_IP_PRI_NAT_DST = -100, | 61 | NF_IP_PRI_NAT_DST = -100, |
62 | NF_IP_PRI_FILTER = 0, | 62 | NF_IP_PRI_FILTER = 0, |
63 | NF_IP_PRI_SECURITY = 50, | ||
63 | NF_IP_PRI_NAT_SRC = 100, | 64 | NF_IP_PRI_NAT_SRC = 100, |
64 | NF_IP_PRI_SELINUX_LAST = 225, | 65 | NF_IP_PRI_SELINUX_LAST = 225, |
65 | NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, | 66 | NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, |
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index 3475a65dae9b..fd50988b83ec 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h | |||
@@ -64,6 +64,7 @@ enum nf_ip6_hook_priorities { | |||
64 | NF_IP6_PRI_MANGLE = -150, | 64 | NF_IP6_PRI_MANGLE = -150, |
65 | NF_IP6_PRI_NAT_DST = -100, | 65 | NF_IP6_PRI_NAT_DST = -100, |
66 | NF_IP6_PRI_FILTER = 0, | 66 | NF_IP6_PRI_FILTER = 0, |
67 | NF_IP6_PRI_SECURITY = 50, | ||
67 | NF_IP6_PRI_NAT_SRC = 100, | 68 | NF_IP6_PRI_NAT_SRC = 100, |
68 | NF_IP6_PRI_SELINUX_LAST = 225, | 69 | NF_IP6_PRI_SELINUX_LAST = 225, |
69 | NF_IP6_PRI_LAST = INT_MAX, | 70 | NF_IP6_PRI_LAST = INT_MAX, |
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index bec1062a25a1..9ff1b54908f3 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -193,7 +193,7 @@ extern int netlink_unregister_notifier(struct notifier_block *nb); | |||
193 | 193 | ||
194 | /* finegrained unicast helpers: */ | 194 | /* finegrained unicast helpers: */ |
195 | struct sock *netlink_getsockbyfilp(struct file *filp); | 195 | struct sock *netlink_getsockbyfilp(struct file *filp); |
196 | int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock, | 196 | int netlink_attachskb(struct sock *sk, struct sk_buff *skb, |
197 | long *timeo, struct sock *ssk); | 197 | long *timeo, struct sock *ssk); |
198 | void netlink_detachskb(struct sock *sk, struct sk_buff *skb); | 198 | void netlink_detachskb(struct sock *sk, struct sk_buff *skb); |
199 | int netlink_sendskb(struct sock *sk, struct sk_buff *skb); | 199 | int netlink_sendskb(struct sock *sk, struct sk_buff *skb); |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 9b940e644179..1bbb346066dd 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -1980,6 +1980,7 @@ | |||
1980 | #define PCI_DEVICE_ID_TIGON3_5787M 0x1693 | 1980 | #define PCI_DEVICE_ID_TIGON3_5787M 0x1693 |
1981 | #define PCI_DEVICE_ID_TIGON3_5782 0x1696 | 1981 | #define PCI_DEVICE_ID_TIGON3_5782 0x1696 |
1982 | #define PCI_DEVICE_ID_TIGON3_5784 0x1698 | 1982 | #define PCI_DEVICE_ID_TIGON3_5784 0x1698 |
1983 | #define PCI_DEVICE_ID_TIGON3_5785 0x1699 | ||
1983 | #define PCI_DEVICE_ID_TIGON3_5786 0x169a | 1984 | #define PCI_DEVICE_ID_TIGON3_5786 0x169a |
1984 | #define PCI_DEVICE_ID_TIGON3_5787 0x169b | 1985 | #define PCI_DEVICE_ID_TIGON3_5787 0x169b |
1985 | #define PCI_DEVICE_ID_TIGON3_5788 0x169c | 1986 | #define PCI_DEVICE_ID_TIGON3_5788 0x169c |
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 18e62e3d406f..9881295f3857 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -296,10 +296,9 @@ struct tcp_sock { | |||
296 | u32 rcv_ssthresh; /* Current window clamp */ | 296 | u32 rcv_ssthresh; /* Current window clamp */ |
297 | 297 | ||
298 | u32 frto_highmark; /* snd_nxt when RTO occurred */ | 298 | u32 frto_highmark; /* snd_nxt when RTO occurred */ |
299 | u8 reordering; /* Packet reordering metric. */ | 299 | u16 advmss; /* Advertised MSS */ |
300 | u8 frto_counter; /* Number of new acks after RTO */ | 300 | u8 frto_counter; /* Number of new acks after RTO */ |
301 | u8 nonagle; /* Disable Nagle algorithm? */ | 301 | u8 nonagle; /* Disable Nagle algorithm? */ |
302 | u8 keepalive_probes; /* num of allowed keep alive probes */ | ||
303 | 302 | ||
304 | /* RTT measurement */ | 303 | /* RTT measurement */ |
305 | u32 srtt; /* smoothed round trip time << 3 */ | 304 | u32 srtt; /* smoothed round trip time << 3 */ |
@@ -310,6 +309,10 @@ struct tcp_sock { | |||
310 | 309 | ||
311 | u32 packets_out; /* Packets which are "in flight" */ | 310 | u32 packets_out; /* Packets which are "in flight" */ |
312 | u32 retrans_out; /* Retransmitted packets out */ | 311 | u32 retrans_out; /* Retransmitted packets out */ |
312 | |||
313 | u16 urg_data; /* Saved octet of OOB data and control flags */ | ||
314 | u8 urg_mode; /* In urgent mode */ | ||
315 | u8 ecn_flags; /* ECN status bits. */ | ||
313 | /* | 316 | /* |
314 | * Options received (usually on last packet, some only on SYN packets). | 317 | * Options received (usually on last packet, some only on SYN packets). |
315 | */ | 318 | */ |
@@ -325,13 +328,24 @@ struct tcp_sock { | |||
325 | u32 snd_cwnd_used; | 328 | u32 snd_cwnd_used; |
326 | u32 snd_cwnd_stamp; | 329 | u32 snd_cwnd_stamp; |
327 | 330 | ||
328 | struct sk_buff_head out_of_order_queue; /* Out of order segments go here */ | ||
329 | |||
330 | u32 rcv_wnd; /* Current receiver window */ | 331 | u32 rcv_wnd; /* Current receiver window */ |
331 | u32 write_seq; /* Tail(+1) of data held in tcp send buffer */ | 332 | u32 write_seq; /* Tail(+1) of data held in tcp send buffer */ |
332 | u32 pushed_seq; /* Last pushed seq, required to talk to windows */ | 333 | u32 pushed_seq; /* Last pushed seq, required to talk to windows */ |
334 | u32 lost_out; /* Lost packets */ | ||
335 | u32 sacked_out; /* SACK'd packets */ | ||
336 | u32 fackets_out; /* FACK'd packets */ | ||
337 | u32 tso_deferred; | ||
338 | u32 bytes_acked; /* Appropriate Byte Counting - RFC3465 */ | ||
333 | 339 | ||
334 | /* SACKs data */ | 340 | /* from STCP, retrans queue hinting */ |
341 | struct sk_buff* lost_skb_hint; | ||
342 | struct sk_buff *scoreboard_skb_hint; | ||
343 | struct sk_buff *retransmit_skb_hint; | ||
344 | struct sk_buff *forward_skb_hint; | ||
345 | |||
346 | struct sk_buff_head out_of_order_queue; /* Out of order segments go here */ | ||
347 | |||
348 | /* SACKs data, these 2 need to be together (see tcp_build_and_update_options) */ | ||
335 | struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */ | 349 | struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */ |
336 | struct tcp_sack_block selective_acks[4]; /* The SACKS themselves*/ | 350 | struct tcp_sack_block selective_acks[4]; /* The SACKS themselves*/ |
337 | 351 | ||
@@ -342,23 +356,14 @@ struct tcp_sock { | |||
342 | * sacked_out > 0) | 356 | * sacked_out > 0) |
343 | */ | 357 | */ |
344 | 358 | ||
345 | /* from STCP, retrans queue hinting */ | ||
346 | struct sk_buff* lost_skb_hint; | ||
347 | |||
348 | struct sk_buff *scoreboard_skb_hint; | ||
349 | struct sk_buff *retransmit_skb_hint; | ||
350 | struct sk_buff *forward_skb_hint; | ||
351 | |||
352 | int lost_cnt_hint; | 359 | int lost_cnt_hint; |
353 | int retransmit_cnt_hint; | 360 | int retransmit_cnt_hint; |
354 | 361 | ||
355 | u32 lost_retrans_low; /* Sent seq after any rxmit (lowest) */ | 362 | u32 lost_retrans_low; /* Sent seq after any rxmit (lowest) */ |
356 | 363 | ||
357 | u16 advmss; /* Advertised MSS */ | 364 | u8 reordering; /* Packet reordering metric. */ |
365 | u8 keepalive_probes; /* num of allowed keep alive probes */ | ||
358 | u32 prior_ssthresh; /* ssthresh saved at recovery start */ | 366 | u32 prior_ssthresh; /* ssthresh saved at recovery start */ |
359 | u32 lost_out; /* Lost packets */ | ||
360 | u32 sacked_out; /* SACK'd packets */ | ||
361 | u32 fackets_out; /* FACK'd packets */ | ||
362 | u32 high_seq; /* snd_nxt at onset of congestion */ | 367 | u32 high_seq; /* snd_nxt at onset of congestion */ |
363 | 368 | ||
364 | u32 retrans_stamp; /* Timestamp of the last retransmit, | 369 | u32 retrans_stamp; /* Timestamp of the last retransmit, |
@@ -366,25 +371,18 @@ struct tcp_sock { | |||
366 | * the first SYN. */ | 371 | * the first SYN. */ |
367 | u32 undo_marker; /* tracking retrans started here. */ | 372 | u32 undo_marker; /* tracking retrans started here. */ |
368 | int undo_retrans; /* number of undoable retransmissions. */ | 373 | int undo_retrans; /* number of undoable retransmissions. */ |
374 | u32 total_retrans; /* Total retransmits for entire connection */ | ||
375 | |||
369 | u32 urg_seq; /* Seq of received urgent pointer */ | 376 | u32 urg_seq; /* Seq of received urgent pointer */ |
370 | u16 urg_data; /* Saved octet of OOB data and control flags */ | ||
371 | u8 urg_mode; /* In urgent mode */ | ||
372 | u8 ecn_flags; /* ECN status bits. */ | ||
373 | u32 snd_up; /* Urgent pointer */ | 377 | u32 snd_up; /* Urgent pointer */ |
374 | 378 | ||
375 | u32 total_retrans; /* Total retransmits for entire connection */ | ||
376 | u32 bytes_acked; /* Appropriate Byte Counting - RFC3465 */ | ||
377 | |||
378 | unsigned int keepalive_time; /* time before keep alive takes place */ | 379 | unsigned int keepalive_time; /* time before keep alive takes place */ |
379 | unsigned int keepalive_intvl; /* time interval between keep alive probes */ | 380 | unsigned int keepalive_intvl; /* time interval between keep alive probes */ |
380 | int linger2; | ||
381 | 381 | ||
382 | struct tcp_deferred_accept_info defer_tcp_accept; | 382 | struct tcp_deferred_accept_info defer_tcp_accept; |
383 | 383 | ||
384 | unsigned long last_synq_overflow; | 384 | unsigned long last_synq_overflow; |
385 | 385 | ||
386 | u32 tso_deferred; | ||
387 | |||
388 | /* Receiver side RTT estimation */ | 386 | /* Receiver side RTT estimation */ |
389 | struct { | 387 | struct { |
390 | u32 rtt; | 388 | u32 rtt; |
@@ -412,6 +410,8 @@ struct tcp_sock { | |||
412 | /* TCP MD5 Signagure Option information */ | 410 | /* TCP MD5 Signagure Option information */ |
413 | struct tcp_md5sig_info *md5sig_info; | 411 | struct tcp_md5sig_info *md5sig_info; |
414 | #endif | 412 | #endif |
413 | |||
414 | int linger2; | ||
415 | }; | 415 | }; |
416 | 416 | ||
417 | static inline struct tcp_sock *tcp_sk(const struct sock *sk) | 417 | static inline struct tcp_sock *tcp_sk(const struct sock *sk) |
diff --git a/include/linux/tipc_config.h b/include/linux/tipc_config.h index b0c916d1f375..2bc6fa4adeb5 100644 --- a/include/linux/tipc_config.h +++ b/include/linux/tipc_config.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * include/linux/tipc_config.h: Include file for TIPC configuration interface | 2 | * include/linux/tipc_config.h: Include file for TIPC configuration interface |
3 | * | 3 | * |
4 | * Copyright (c) 2003-2006, Ericsson AB | 4 | * Copyright (c) 2003-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005-2007, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -136,6 +136,14 @@ | |||
136 | #define TIPC_CMD_SET_NETID 0x800B /* tx unsigned, rx none */ | 136 | #define TIPC_CMD_SET_NETID 0x800B /* tx unsigned, rx none */ |
137 | 137 | ||
138 | /* | 138 | /* |
139 | * Reserved commands: | ||
140 | * May not be issued by any process. | ||
141 | * Used internally by TIPC. | ||
142 | */ | ||
143 | |||
144 | #define TIPC_CMD_NOT_NET_ADMIN 0xC001 /* tx none, rx none */ | ||
145 | |||
146 | /* | ||
139 | * TLV types defined for TIPC | 147 | * TLV types defined for TIPC |
140 | */ | 148 | */ |
141 | 149 | ||
diff --git a/include/linux/wanrouter.h b/include/linux/wanrouter.h index 3add87465b1f..e0aa39612eba 100644 --- a/include/linux/wanrouter.h +++ b/include/linux/wanrouter.h | |||
@@ -522,7 +522,7 @@ extern int wanrouter_proc_init(void); | |||
522 | extern void wanrouter_proc_cleanup(void); | 522 | extern void wanrouter_proc_cleanup(void); |
523 | extern int wanrouter_proc_add(struct wan_device *wandev); | 523 | extern int wanrouter_proc_add(struct wan_device *wandev); |
524 | extern int wanrouter_proc_delete(struct wan_device *wandev); | 524 | extern int wanrouter_proc_delete(struct wan_device *wandev); |
525 | extern int wanrouter_ioctl( struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); | 525 | extern long wanrouter_ioctl(struct file *file, unsigned int cmd, unsigned long arg); |
526 | 526 | ||
527 | /* Public Data */ | 527 | /* Public Data */ |
528 | /* list of registered devices */ | 528 | /* list of registered devices */ |
diff --git a/include/linux/wireless.h b/include/linux/wireless.h index 0a9b5b41ed67..4a95a0e5eeca 100644 --- a/include/linux/wireless.h +++ b/include/linux/wireless.h | |||
@@ -611,6 +611,7 @@ | |||
611 | #define IW_ENCODE_ALG_WEP 1 | 611 | #define IW_ENCODE_ALG_WEP 1 |
612 | #define IW_ENCODE_ALG_TKIP 2 | 612 | #define IW_ENCODE_ALG_TKIP 2 |
613 | #define IW_ENCODE_ALG_CCMP 3 | 613 | #define IW_ENCODE_ALG_CCMP 3 |
614 | #define IW_ENCODE_ALG_PMK 4 | ||
614 | /* struct iw_encode_ext ->ext_flags */ | 615 | /* struct iw_encode_ext ->ext_flags */ |
615 | #define IW_ENCODE_EXT_TX_SEQ_VALID 0x00000001 | 616 | #define IW_ENCODE_EXT_TX_SEQ_VALID 0x00000001 |
616 | #define IW_ENCODE_EXT_RX_SEQ_VALID 0x00000002 | 617 | #define IW_ENCODE_EXT_RX_SEQ_VALID 0x00000002 |
@@ -630,6 +631,7 @@ | |||
630 | #define IW_ENC_CAPA_WPA2 0x00000002 | 631 | #define IW_ENC_CAPA_WPA2 0x00000002 |
631 | #define IW_ENC_CAPA_CIPHER_TKIP 0x00000004 | 632 | #define IW_ENC_CAPA_CIPHER_TKIP 0x00000004 |
632 | #define IW_ENC_CAPA_CIPHER_CCMP 0x00000008 | 633 | #define IW_ENC_CAPA_CIPHER_CCMP 0x00000008 |
634 | #define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010 | ||
633 | 635 | ||
634 | /* Event capability macros - in (struct iw_range *)->event_capa | 636 | /* Event capability macros - in (struct iw_range *)->event_capa |
635 | * Because we have more than 32 possible events, we use an array of | 637 | * Because we have more than 32 possible events, we use an array of |