diff options
author | David Howells <dhowells@redhat.com> | 2016-04-07 12:23:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-11 15:34:40 -0400 |
commit | 8e688d9c166671bb4a6977384de2fe7f46a31ba4 (patch) | |
tree | 940e458c3984d4980bbc4c4016f1ddd5651779c8 /net/rxrpc/ar-internal.h | |
parent | 8f7e6e75d3074dd1856a6105f7511249ee2f2ffd (diff) |
rxrpc: Move some miscellaneous bits out into their own file
Move some miscellaneous bits out into their own file to make it easier to
split the call handling.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r-- | net/rxrpc/ar-internal.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index cd6cdbe87125..24126d954f38 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h | |||
@@ -478,13 +478,6 @@ int rxrpc_reject_call(struct rxrpc_sock *); | |||
478 | /* | 478 | /* |
479 | * ar-ack.c | 479 | * ar-ack.c |
480 | */ | 480 | */ |
481 | extern unsigned int rxrpc_requested_ack_delay; | ||
482 | extern unsigned int rxrpc_soft_ack_delay; | ||
483 | extern unsigned int rxrpc_idle_ack_delay; | ||
484 | extern unsigned int rxrpc_rx_window_size; | ||
485 | extern unsigned int rxrpc_rx_mtu; | ||
486 | extern unsigned int rxrpc_rx_jumbo_max; | ||
487 | |||
488 | void __rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); | 481 | void __rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); |
489 | void rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); | 482 | void rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); |
490 | void rxrpc_process_call(struct work_struct *); | 483 | void rxrpc_process_call(struct work_struct *); |
@@ -550,8 +543,6 @@ void rxrpc_UDP_error_handler(struct work_struct *); | |||
550 | /* | 543 | /* |
551 | * ar-input.c | 544 | * ar-input.c |
552 | */ | 545 | */ |
553 | extern const char *rxrpc_pkts[]; | ||
554 | |||
555 | void rxrpc_data_ready(struct sock *); | 546 | void rxrpc_data_ready(struct sock *); |
556 | int rxrpc_queue_rcv_skb(struct rxrpc_call *, struct sk_buff *, bool, bool); | 547 | int rxrpc_queue_rcv_skb(struct rxrpc_call *, struct sk_buff *, bool, bool); |
557 | void rxrpc_fast_process_packet(struct rxrpc_call *, struct sk_buff *); | 548 | void rxrpc_fast_process_packet(struct rxrpc_call *, struct sk_buff *); |
@@ -637,6 +628,21 @@ struct rxrpc_transport *rxrpc_find_transport(struct rxrpc_local *, | |||
637 | struct rxrpc_peer *); | 628 | struct rxrpc_peer *); |
638 | 629 | ||
639 | /* | 630 | /* |
631 | * misc.c | ||
632 | */ | ||
633 | extern unsigned int rxrpc_requested_ack_delay; | ||
634 | extern unsigned int rxrpc_soft_ack_delay; | ||
635 | extern unsigned int rxrpc_idle_ack_delay; | ||
636 | extern unsigned int rxrpc_rx_window_size; | ||
637 | extern unsigned int rxrpc_rx_mtu; | ||
638 | extern unsigned int rxrpc_rx_jumbo_max; | ||
639 | |||
640 | extern const char *rxrpc_pkts[]; | ||
641 | extern const s8 rxrpc_ack_priority[]; | ||
642 | |||
643 | extern const char *rxrpc_acks(u8 reason); | ||
644 | |||
645 | /* | ||
640 | * sysctl.c | 646 | * sysctl.c |
641 | */ | 647 | */ |
642 | #ifdef CONFIG_SYSCTL | 648 | #ifdef CONFIG_SYSCTL |