aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-07 12:23:16 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-11 15:34:40 -0400
commit8e688d9c166671bb4a6977384de2fe7f46a31ba4 (patch)
tree940e458c3984d4980bbc4c4016f1ddd5651779c8 /net/rxrpc/ar-internal.h
parent8f7e6e75d3074dd1856a6105f7511249ee2f2ffd (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.h24
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 */
481extern unsigned int rxrpc_requested_ack_delay;
482extern unsigned int rxrpc_soft_ack_delay;
483extern unsigned int rxrpc_idle_ack_delay;
484extern unsigned int rxrpc_rx_window_size;
485extern unsigned int rxrpc_rx_mtu;
486extern unsigned int rxrpc_rx_jumbo_max;
487
488void __rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); 481void __rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool);
489void rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool); 482void rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool);
490void rxrpc_process_call(struct work_struct *); 483void 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 */
553extern const char *rxrpc_pkts[];
554
555void rxrpc_data_ready(struct sock *); 546void rxrpc_data_ready(struct sock *);
556int rxrpc_queue_rcv_skb(struct rxrpc_call *, struct sk_buff *, bool, bool); 547int rxrpc_queue_rcv_skb(struct rxrpc_call *, struct sk_buff *, bool, bool);
557void rxrpc_fast_process_packet(struct rxrpc_call *, struct sk_buff *); 548void 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 */
633extern unsigned int rxrpc_requested_ack_delay;
634extern unsigned int rxrpc_soft_ack_delay;
635extern unsigned int rxrpc_idle_ack_delay;
636extern unsigned int rxrpc_rx_window_size;
637extern unsigned int rxrpc_rx_mtu;
638extern unsigned int rxrpc_rx_jumbo_max;
639
640extern const char *rxrpc_pkts[];
641extern const s8 rxrpc_ack_priority[];
642
643extern const char *rxrpc_acks(u8 reason);
644
645/*
640 * sysctl.c 646 * sysctl.c
641 */ 647 */
642#ifdef CONFIG_SYSCTL 648#ifdef CONFIG_SYSCTL