You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
rxrpc: Split sendmsg from packet transmission code
Split the sendmsg code from the packet transmission code (mostly to be found in output.c). Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -22,6 +22,7 @@ af-rxrpc-y := \
|
||||
peer_object.o \
|
||||
recvmsg.o \
|
||||
security.o \
|
||||
sendmsg.o \
|
||||
skbuff.o \
|
||||
utils.o
|
||||
|
||||
|
||||
@@ -814,6 +814,7 @@ extern unsigned int rxrpc_idle_ack_delay;
|
||||
extern unsigned int rxrpc_rx_window_size;
|
||||
extern unsigned int rxrpc_rx_mtu;
|
||||
extern unsigned int rxrpc_rx_jumbo_max;
|
||||
extern unsigned int rxrpc_resend_timeout;
|
||||
|
||||
extern const char *const rxrpc_pkts[];
|
||||
extern const s8 rxrpc_ack_priority[];
|
||||
@@ -823,10 +824,7 @@ extern const char *rxrpc_acks(u8 reason);
|
||||
/*
|
||||
* output.c
|
||||
*/
|
||||
extern unsigned int rxrpc_resend_timeout;
|
||||
|
||||
int rxrpc_send_data_packet(struct rxrpc_connection *, struct sk_buff *);
|
||||
int rxrpc_do_sendmsg(struct rxrpc_sock *, struct msghdr *, size_t);
|
||||
|
||||
/*
|
||||
* peer_event.c
|
||||
@@ -888,6 +886,11 @@ int __init rxrpc_init_security(void);
|
||||
void rxrpc_exit_security(void);
|
||||
int rxrpc_init_client_conn_security(struct rxrpc_connection *);
|
||||
int rxrpc_init_server_conn_security(struct rxrpc_connection *);
|
||||
|
||||
/*
|
||||
* sendmsg.c
|
||||
*/
|
||||
int rxrpc_do_sendmsg(struct rxrpc_sock *, struct msghdr *, size_t);
|
||||
|
||||
/*
|
||||
* skbuff.c
|
||||
|
||||
@@ -64,6 +64,11 @@ unsigned int rxrpc_rx_mtu = 5692;
|
||||
*/
|
||||
unsigned int rxrpc_rx_jumbo_max = 4;
|
||||
|
||||
/*
|
||||
* Time till packet resend (in jiffies).
|
||||
*/
|
||||
unsigned int rxrpc_resend_timeout = 4 * HZ;
|
||||
|
||||
const char *const rxrpc_pkts[] = {
|
||||
"?00",
|
||||
"DATA", "ACK", "BUSY", "ABORT", "ACKALL", "CHALL", "RESP", "DEBUG",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user