diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-13 19:34:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:59:26 -0400 |
commit | 7690af3fff7633e40b1b9950eb8489129251d074 (patch) | |
tree | 92fa07234a7547c4a7dd74877972b5a291673fcf /net/dccp/ccid.h | |
parent | c173437669967301facff151bfeb7bae67354e4c (diff) |
[DCCP]: Just reflow the source code to fit in 80 columns
Andrew Morton should be happy now 8)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccid.h')
-rw-r--r-- | net/dccp/ccid.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/net/dccp/ccid.h b/net/dccp/ccid.h index 469f9a14b463..95eb47d85517 100644 --- a/net/dccp/ccid.h +++ b/net/dccp/ccid.h | |||
@@ -30,21 +30,26 @@ struct ccid { | |||
30 | int (*ccid_hc_tx_init)(struct sock *sk); | 30 | int (*ccid_hc_tx_init)(struct sock *sk); |
31 | void (*ccid_hc_rx_exit)(struct sock *sk); | 31 | void (*ccid_hc_rx_exit)(struct sock *sk); |
32 | void (*ccid_hc_tx_exit)(struct sock *sk); | 32 | void (*ccid_hc_tx_exit)(struct sock *sk); |
33 | void (*ccid_hc_rx_packet_recv)(struct sock *sk, struct sk_buff *skb); | 33 | void (*ccid_hc_rx_packet_recv)(struct sock *sk, |
34 | struct sk_buff *skb); | ||
34 | int (*ccid_hc_rx_parse_options)(struct sock *sk, | 35 | int (*ccid_hc_rx_parse_options)(struct sock *sk, |
35 | unsigned char option, | 36 | unsigned char option, |
36 | unsigned char len, u16 idx, | 37 | unsigned char len, u16 idx, |
37 | unsigned char* value); | 38 | unsigned char* value); |
38 | void (*ccid_hc_rx_insert_options)(struct sock *sk, struct sk_buff *skb); | 39 | void (*ccid_hc_rx_insert_options)(struct sock *sk, |
39 | void (*ccid_hc_tx_insert_options)(struct sock *sk, struct sk_buff *skb); | 40 | struct sk_buff *skb); |
40 | void (*ccid_hc_tx_packet_recv)(struct sock *sk, struct sk_buff *skb); | 41 | void (*ccid_hc_tx_insert_options)(struct sock *sk, |
42 | struct sk_buff *skb); | ||
43 | void (*ccid_hc_tx_packet_recv)(struct sock *sk, | ||
44 | struct sk_buff *skb); | ||
41 | int (*ccid_hc_tx_parse_options)(struct sock *sk, | 45 | int (*ccid_hc_tx_parse_options)(struct sock *sk, |
42 | unsigned char option, | 46 | unsigned char option, |
43 | unsigned char len, u16 idx, | 47 | unsigned char len, u16 idx, |
44 | unsigned char* value); | 48 | unsigned char* value); |
45 | int (*ccid_hc_tx_send_packet)(struct sock *sk, | 49 | int (*ccid_hc_tx_send_packet)(struct sock *sk, |
46 | struct sk_buff *skb, int len); | 50 | struct sk_buff *skb, int len); |
47 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, int more, int len); | 51 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, int more, |
52 | int len); | ||
48 | }; | 53 | }; |
49 | 54 | ||
50 | extern int ccid_register(struct ccid *ccid); | 55 | extern int ccid_register(struct ccid *ccid); |
@@ -123,7 +128,8 @@ static inline int ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk, | |||
123 | { | 128 | { |
124 | int rc = 0; | 129 | int rc = 0; |
125 | if (ccid->ccid_hc_tx_parse_options != NULL) | 130 | if (ccid->ccid_hc_tx_parse_options != NULL) |
126 | rc = ccid->ccid_hc_tx_parse_options(sk, option, len, idx, value); | 131 | rc = ccid->ccid_hc_tx_parse_options(sk, option, len, idx, |
132 | value); | ||
127 | return rc; | 133 | return rc; |
128 | } | 134 | } |
129 | 135 | ||