summaryrefslogtreecommitdiff
path: root/include/keys
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-09-16 00:01:13 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-16 00:01:13 -0700
commit4e36a95e591e9c58dd10bb4103c00993917c27fd (patch)
treee97be725f4aca0084e148cb68bd99552a480b47e /include/keys
parent634354d753898f9d9d146bd47628a1ef27f7dc98 (diff)
downloadlwn-4e36a95e591e9c58dd10bb4103c00993917c27fd.tar.gz
lwn-4e36a95e591e9c58dd10bb4103c00993917c27fd.zip
RxRPC: Use uX/sX rather than uintX_t/intX_t types
Use uX rather than uintX_t types for consistency. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/keys')
-rw-r--r--include/keys/rxrpc-type.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/keys/rxrpc-type.h b/include/keys/rxrpc-type.h
index 5eb23571b425..5cb86c307f5d 100644
--- a/include/keys/rxrpc-type.h
+++ b/include/keys/rxrpc-type.h
@@ -53,8 +53,8 @@ struct krb5_tagged_data {
* - KRB5_AUTHDATA_* for auth data
* -
*/
- int32_t tag;
- uint32_t data_len;
+ s32 tag;
+ u32 data_len;
u8 *data;
};
@@ -62,17 +62,17 @@ struct krb5_tagged_data {
* RxRPC key for Kerberos V (type-5 security)
*/
struct rxk5_key {
- uint64_t authtime; /* time at which auth token generated */
- uint64_t starttime; /* time at which auth token starts */
- uint64_t endtime; /* time at which auth token expired */
- uint64_t renew_till; /* time to which auth token can be renewed */
- int32_t is_skey; /* T if ticket is encrypted in another ticket's
+ u64 authtime; /* time at which auth token generated */
+ u64 starttime; /* time at which auth token starts */
+ u64 endtime; /* time at which auth token expired */
+ u64 renew_till; /* time to which auth token can be renewed */
+ s32 is_skey; /* T if ticket is encrypted in another ticket's
* skey */
- int32_t flags; /* mask of TKT_FLG_* bits (krb5/krb5.h) */
+ s32 flags; /* mask of TKT_FLG_* bits (krb5/krb5.h) */
struct krb5_principal client; /* client principal name */
struct krb5_principal server; /* server principal name */
- uint16_t ticket_len; /* length of ticket */
- uint16_t ticket2_len; /* length of second ticket */
+ u16 ticket_len; /* length of ticket */
+ u16 ticket2_len; /* length of second ticket */
u8 n_authdata; /* number of authorisation data elements */
u8 n_addresses; /* number of addresses */
struct krb5_tagged_data session; /* session data; tag is enctype */