diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
commit | 0191b625ca5a46206d2fb862bb08f36f2fcb3b31 (patch) | |
tree | 454d1842b1833d976da62abcbd5c47521ebe9bd7 /net/dccp/dccp.h | |
parent | 54a696bd07c14d3b1192d03ce7269bc59b45209a (diff) | |
parent | eb56092fc168bf5af199d47af50c0d84a96db898 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1429 commits)
net: Allow dependancies of FDDI & Tokenring to be modular.
igb: Fix build warning when DCA is disabled.
net: Fix warning fallout from recent NAPI interface changes.
gro: Fix potential use after free
sfc: If AN is enabled, always read speed/duplex from the AN advertising bits
sfc: When disabling the NIC, close the device rather than unregistering it
sfc: SFT9001: Add cable diagnostics
sfc: Add support for multiple PHY self-tests
sfc: Merge top-level functions for self-tests
sfc: Clean up PHY mode management in loopback self-test
sfc: Fix unreliable link detection in some loopback modes
sfc: Generate unique names for per-NIC workqueues
802.3ad: use standard ethhdr instead of ad_header
802.3ad: generalize out mac address initializer
802.3ad: initialize ports LACPDU from const initializer
802.3ad: remove typedef around ad_system
802.3ad: turn ports is_individual into a bool
802.3ad: turn ports is_enabled into a bool
802.3ad: make ntt bool
ixgbe: Fix set_ringparam in ixgbe to use the same memory pools.
...
Fixed trivial IPv4/6 address printing conflicts in fs/cifs/connect.c due
to the conversion to %pI (in this networking merge) and the addition of
doing IPv6 addresses (from the earlier merge of CIFS).
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index b4bc6e095a0e..0bc4c9a02e19 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -49,7 +49,7 @@ extern int dccp_debug; | |||
49 | 49 | ||
50 | extern struct inet_hashinfo dccp_hashinfo; | 50 | extern struct inet_hashinfo dccp_hashinfo; |
51 | 51 | ||
52 | extern atomic_t dccp_orphan_count; | 52 | extern struct percpu_counter dccp_orphan_count; |
53 | 53 | ||
54 | extern void dccp_time_wait(struct sock *sk, int state, int timeo); | 54 | extern void dccp_time_wait(struct sock *sk, int state, int timeo); |
55 | 55 | ||
@@ -98,9 +98,6 @@ extern int sysctl_dccp_retries2; | |||
98 | extern int sysctl_dccp_feat_sequence_window; | 98 | extern int sysctl_dccp_feat_sequence_window; |
99 | extern int sysctl_dccp_feat_rx_ccid; | 99 | extern int sysctl_dccp_feat_rx_ccid; |
100 | extern int sysctl_dccp_feat_tx_ccid; | 100 | extern int sysctl_dccp_feat_tx_ccid; |
101 | extern int sysctl_dccp_feat_ack_ratio; | ||
102 | extern int sysctl_dccp_feat_send_ack_vector; | ||
103 | extern int sysctl_dccp_feat_send_ndp_count; | ||
104 | extern int sysctl_dccp_tx_qlen; | 101 | extern int sysctl_dccp_tx_qlen; |
105 | extern int sysctl_dccp_sync_ratelimit; | 102 | extern int sysctl_dccp_sync_ratelimit; |
106 | 103 | ||
@@ -252,7 +249,8 @@ extern const char *dccp_state_name(const int state); | |||
252 | extern void dccp_set_state(struct sock *sk, const int state); | 249 | extern void dccp_set_state(struct sock *sk, const int state); |
253 | extern void dccp_done(struct sock *sk); | 250 | extern void dccp_done(struct sock *sk); |
254 | 251 | ||
255 | extern void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb); | 252 | extern int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp, |
253 | struct sk_buff const *skb); | ||
256 | 254 | ||
257 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); | 255 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); |
258 | 256 | ||
@@ -435,12 +433,19 @@ static inline int dccp_ack_pending(const struct sock *sk) | |||
435 | const struct dccp_sock *dp = dccp_sk(sk); | 433 | const struct dccp_sock *dp = dccp_sk(sk); |
436 | return dp->dccps_timestamp_echo != 0 || | 434 | return dp->dccps_timestamp_echo != 0 || |
437 | #ifdef CONFIG_IP_DCCP_ACKVEC | 435 | #ifdef CONFIG_IP_DCCP_ACKVEC |
438 | (dccp_msk(sk)->dccpms_send_ack_vector && | 436 | (dp->dccps_hc_rx_ackvec != NULL && |
439 | dccp_ackvec_pending(dp->dccps_hc_rx_ackvec)) || | 437 | dccp_ackvec_pending(dp->dccps_hc_rx_ackvec)) || |
440 | #endif | 438 | #endif |
441 | inet_csk_ack_scheduled(sk); | 439 | inet_csk_ack_scheduled(sk); |
442 | } | 440 | } |
443 | 441 | ||
442 | extern int dccp_feat_finalise_settings(struct dccp_sock *dp); | ||
443 | extern int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq); | ||
444 | extern int dccp_feat_insert_opts(struct dccp_sock*, struct dccp_request_sock*, | ||
445 | struct sk_buff *skb); | ||
446 | extern int dccp_feat_activate_values(struct sock *sk, struct list_head *fn); | ||
447 | extern void dccp_feat_list_purge(struct list_head *fn_list); | ||
448 | |||
444 | extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); | 449 | extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); |
445 | extern int dccp_insert_options_rsk(struct dccp_request_sock*, struct sk_buff*); | 450 | extern int dccp_insert_options_rsk(struct dccp_request_sock*, struct sk_buff*); |
446 | extern int dccp_insert_option_elapsed_time(struct sock *sk, | 451 | extern int dccp_insert_option_elapsed_time(struct sock *sk, |