rxrpc: Convert call flag and event numbers into enums
authorDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:53:46 +0000 (15:53 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:53:46 +0000 (15:53 +0000)
commit5b8848d14912d5e9974d5d83d71ed6cba2b49345
treea6c02244f92ba6fa0120576001c98e66300a867b
parente721498a63147618283d2a8093664809f300778c
rxrpc: Convert call flag and event numbers into enums

Convert call flag and event numbers into enums and move their definitions
outside of the struct.

Also move the call state enum outside of the struct and add an extra
element to count the number of states.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-ack.c
net/rxrpc/ar-call.c
net/rxrpc/ar-internal.h