diff options
Diffstat (limited to 'net/dccp/ackvec.h')
-rw-r--r-- | net/dccp/ackvec.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h index a269aa7f7923..3284bfa988c0 100644 --- a/net/dccp/ackvec.h +++ b/net/dccp/ackvec.h | |||
@@ -101,16 +101,16 @@ struct dccp_ackvec_record { | |||
101 | u8 avr_ack_nonce:1; | 101 | u8 avr_ack_nonce:1; |
102 | }; | 102 | }; |
103 | 103 | ||
104 | extern int dccp_ackvec_init(void); | 104 | int dccp_ackvec_init(void); |
105 | extern void dccp_ackvec_exit(void); | 105 | void dccp_ackvec_exit(void); |
106 | 106 | ||
107 | extern struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority); | 107 | struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority); |
108 | extern void dccp_ackvec_free(struct dccp_ackvec *av); | 108 | void dccp_ackvec_free(struct dccp_ackvec *av); |
109 | 109 | ||
110 | extern void dccp_ackvec_input(struct dccp_ackvec *av, struct sk_buff *skb); | 110 | void dccp_ackvec_input(struct dccp_ackvec *av, struct sk_buff *skb); |
111 | extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); | 111 | int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); |
112 | extern void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno); | 112 | void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno); |
113 | extern u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); | 113 | u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); |
114 | 114 | ||
115 | static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) | 115 | static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) |
116 | { | 116 | { |
@@ -133,7 +133,6 @@ struct dccp_ackvec_parsed { | |||
133 | struct list_head node; | 133 | struct list_head node; |
134 | }; | 134 | }; |
135 | 135 | ||
136 | extern int dccp_ackvec_parsed_add(struct list_head *head, | 136 | int dccp_ackvec_parsed_add(struct list_head *head, u8 *vec, u8 len, u8 nonce); |
137 | u8 *vec, u8 len, u8 nonce); | 137 | void dccp_ackvec_parsed_cleanup(struct list_head *parsed_chunks); |
138 | extern void dccp_ackvec_parsed_cleanup(struct list_head *parsed_chunks); | ||
139 | #endif /* _ACKVEC_H */ | 138 | #endif /* _ACKVEC_H */ |