Commit 3dc20f09 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent df423a4a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -131,13 +131,6 @@ struct rxrpc_skb_priv {

#define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb)

enum rxrpc_command {
	RXRPC_CMD_SEND_DATA,		/* send data message */
	RXRPC_CMD_SEND_ABORT,		/* request abort generation */
	RXRPC_CMD_ACCEPT,		/* [server] accept incoming call */
	RXRPC_CMD_REJECT_BUSY,		/* [server] reject a call as busy */
};

/*
 * RxRPC security module interface
 */
+7 −0
Original line number Diff line number Diff line
@@ -20,6 +20,13 @@
#include <net/af_rxrpc.h>
#include "ar-internal.h"

enum rxrpc_command {
	RXRPC_CMD_SEND_DATA,		/* send data message */
	RXRPC_CMD_SEND_ABORT,		/* request abort generation */
	RXRPC_CMD_ACCEPT,		/* [server] accept incoming call */
	RXRPC_CMD_REJECT_BUSY,		/* [server] reject a call as busy */
};

/*
 * wait for space to appear in the transmit/ACK window
 * - caller holds the socket locked