summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/sendmsg.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-04 08:25:21 -0400
committerDavid Howells <dhowells@redhat.com>2016-09-04 16:41:39 -0400
commit3dc20f090d84a7b08bc1d5729c874ebbd0465468 (patch)
tree8c434f88a5dc0563ac5da69bb79cc0ae5f917653 /net/rxrpc/sendmsg.c
parentdf423a4af125f5b3d6f71b630e5c209774c353fd (diff)
rxrpc Move enum rxrpc_command to sendmsg.c
Move enum rxrpc_command to sendmsg.c as it's now only used in that file. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/sendmsg.c')
-rw-r--r--net/rxrpc/sendmsg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/rxrpc/sendmsg.c b/net/rxrpc/sendmsg.c
index 17a9ebbc2346..7376794a0308 100644
--- a/net/rxrpc/sendmsg.c
+++ b/net/rxrpc/sendmsg.c
@@ -20,6 +20,13 @@
20#include <net/af_rxrpc.h> 20#include <net/af_rxrpc.h>
21#include "ar-internal.h" 21#include "ar-internal.h"
22 22
23enum rxrpc_command {
24 RXRPC_CMD_SEND_DATA, /* send data message */
25 RXRPC_CMD_SEND_ABORT, /* request abort generation */
26 RXRPC_CMD_ACCEPT, /* [server] accept incoming call */
27 RXRPC_CMD_REJECT_BUSY, /* [server] reject a call as busy */
28};
29
23/* 30/*
24 * wait for space to appear in the transmit/ACK window 31 * wait for space to appear in the transmit/ACK window
25 * - caller holds the socket locked 32 * - caller holds the socket locked