diff options
Diffstat (limited to 'include/net/netrom.h')
-rw-r--r-- | include/net/netrom.h | 89 |
1 files changed, 44 insertions, 45 deletions
diff --git a/include/net/netrom.h b/include/net/netrom.h index 121dcf854db5..110350aca3df 100644 --- a/include/net/netrom.h +++ b/include/net/netrom.h | |||
@@ -183,51 +183,50 @@ extern int sysctl_netrom_routing_control; | |||
183 | extern int sysctl_netrom_link_fails_count; | 183 | extern int sysctl_netrom_link_fails_count; |
184 | extern int sysctl_netrom_reset_circuit; | 184 | extern int sysctl_netrom_reset_circuit; |
185 | 185 | ||
186 | extern int nr_rx_frame(struct sk_buff *, struct net_device *); | 186 | int nr_rx_frame(struct sk_buff *, struct net_device *); |
187 | extern void nr_destroy_socket(struct sock *); | 187 | void nr_destroy_socket(struct sock *); |
188 | 188 | ||
189 | /* nr_dev.c */ | 189 | /* nr_dev.c */ |
190 | extern int nr_rx_ip(struct sk_buff *, struct net_device *); | 190 | int nr_rx_ip(struct sk_buff *, struct net_device *); |
191 | extern void nr_setup(struct net_device *); | 191 | void nr_setup(struct net_device *); |
192 | 192 | ||
193 | /* nr_in.c */ | 193 | /* nr_in.c */ |
194 | extern int nr_process_rx_frame(struct sock *, struct sk_buff *); | 194 | int nr_process_rx_frame(struct sock *, struct sk_buff *); |
195 | 195 | ||
196 | /* nr_loopback.c */ | 196 | /* nr_loopback.c */ |
197 | extern void nr_loopback_init(void); | 197 | void nr_loopback_init(void); |
198 | extern void nr_loopback_clear(void); | 198 | void nr_loopback_clear(void); |
199 | extern int nr_loopback_queue(struct sk_buff *); | 199 | int nr_loopback_queue(struct sk_buff *); |
200 | 200 | ||
201 | /* nr_out.c */ | 201 | /* nr_out.c */ |
202 | extern void nr_output(struct sock *, struct sk_buff *); | 202 | void nr_output(struct sock *, struct sk_buff *); |
203 | extern void nr_send_nak_frame(struct sock *); | 203 | void nr_send_nak_frame(struct sock *); |
204 | extern void nr_kick(struct sock *); | 204 | void nr_kick(struct sock *); |
205 | extern void nr_transmit_buffer(struct sock *, struct sk_buff *); | 205 | void nr_transmit_buffer(struct sock *, struct sk_buff *); |
206 | extern void nr_establish_data_link(struct sock *); | 206 | void nr_establish_data_link(struct sock *); |
207 | extern void nr_enquiry_response(struct sock *); | 207 | void nr_enquiry_response(struct sock *); |
208 | extern void nr_check_iframes_acked(struct sock *, unsigned short); | 208 | void nr_check_iframes_acked(struct sock *, unsigned short); |
209 | 209 | ||
210 | /* nr_route.c */ | 210 | /* nr_route.c */ |
211 | extern void nr_rt_device_down(struct net_device *); | 211 | void nr_rt_device_down(struct net_device *); |
212 | extern struct net_device *nr_dev_first(void); | 212 | struct net_device *nr_dev_first(void); |
213 | extern struct net_device *nr_dev_get(ax25_address *); | 213 | struct net_device *nr_dev_get(ax25_address *); |
214 | extern int nr_rt_ioctl(unsigned int, void __user *); | 214 | int nr_rt_ioctl(unsigned int, void __user *); |
215 | extern void nr_link_failed(ax25_cb *, int); | 215 | void nr_link_failed(ax25_cb *, int); |
216 | extern int nr_route_frame(struct sk_buff *, ax25_cb *); | 216 | int nr_route_frame(struct sk_buff *, ax25_cb *); |
217 | extern const struct file_operations nr_nodes_fops; | 217 | extern const struct file_operations nr_nodes_fops; |
218 | extern const struct file_operations nr_neigh_fops; | 218 | extern const struct file_operations nr_neigh_fops; |
219 | extern void nr_rt_free(void); | 219 | void nr_rt_free(void); |
220 | 220 | ||
221 | /* nr_subr.c */ | 221 | /* nr_subr.c */ |
222 | extern void nr_clear_queues(struct sock *); | 222 | void nr_clear_queues(struct sock *); |
223 | extern void nr_frames_acked(struct sock *, unsigned short); | 223 | void nr_frames_acked(struct sock *, unsigned short); |
224 | extern void nr_requeue_frames(struct sock *); | 224 | void nr_requeue_frames(struct sock *); |
225 | extern int nr_validate_nr(struct sock *, unsigned short); | 225 | int nr_validate_nr(struct sock *, unsigned short); |
226 | extern int nr_in_rx_window(struct sock *, unsigned short); | 226 | int nr_in_rx_window(struct sock *, unsigned short); |
227 | extern void nr_write_internal(struct sock *, int); | 227 | void nr_write_internal(struct sock *, int); |
228 | 228 | ||
229 | extern void __nr_transmit_reply(struct sk_buff *skb, int mine, | 229 | void __nr_transmit_reply(struct sk_buff *skb, int mine, unsigned char cmdflags); |
230 | unsigned char cmdflags); | ||
231 | 230 | ||
232 | /* | 231 | /* |
233 | * This routine is called when a Connect Acknowledge with the Choke Flag | 232 | * This routine is called when a Connect Acknowledge with the Choke Flag |
@@ -247,24 +246,24 @@ do { \ | |||
247 | __nr_transmit_reply((skb), (mine), NR_RESET); \ | 246 | __nr_transmit_reply((skb), (mine), NR_RESET); \ |
248 | } while (0) | 247 | } while (0) |
249 | 248 | ||
250 | extern void nr_disconnect(struct sock *, int); | 249 | void nr_disconnect(struct sock *, int); |
251 | 250 | ||
252 | /* nr_timer.c */ | 251 | /* nr_timer.c */ |
253 | extern void nr_init_timers(struct sock *sk); | 252 | void nr_init_timers(struct sock *sk); |
254 | extern void nr_start_heartbeat(struct sock *); | 253 | void nr_start_heartbeat(struct sock *); |
255 | extern void nr_start_t1timer(struct sock *); | 254 | void nr_start_t1timer(struct sock *); |
256 | extern void nr_start_t2timer(struct sock *); | 255 | void nr_start_t2timer(struct sock *); |
257 | extern void nr_start_t4timer(struct sock *); | 256 | void nr_start_t4timer(struct sock *); |
258 | extern void nr_start_idletimer(struct sock *); | 257 | void nr_start_idletimer(struct sock *); |
259 | extern void nr_stop_heartbeat(struct sock *); | 258 | void nr_stop_heartbeat(struct sock *); |
260 | extern void nr_stop_t1timer(struct sock *); | 259 | void nr_stop_t1timer(struct sock *); |
261 | extern void nr_stop_t2timer(struct sock *); | 260 | void nr_stop_t2timer(struct sock *); |
262 | extern void nr_stop_t4timer(struct sock *); | 261 | void nr_stop_t4timer(struct sock *); |
263 | extern void nr_stop_idletimer(struct sock *); | 262 | void nr_stop_idletimer(struct sock *); |
264 | extern int nr_t1timer_running(struct sock *); | 263 | int nr_t1timer_running(struct sock *); |
265 | 264 | ||
266 | /* sysctl_net_netrom.c */ | 265 | /* sysctl_net_netrom.c */ |
267 | extern void nr_register_sysctl(void); | 266 | void nr_register_sysctl(void); |
268 | extern void nr_unregister_sysctl(void); | 267 | void nr_unregister_sysctl(void); |
269 | 268 | ||
270 | #endif | 269 | #endif |