Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
rxkad.c File Reference
#include <linux/module.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <linux/udp.h>
#include <linux/crypto.h>
#include <linux/scatterlist.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include <keys/rxrpc-type.h>
#include "ar-internal.h"

Go to the source code of this file.

Data Structures

struct  rxkad_level1_hdr
 
struct  rxkad_level2_hdr
 

Macros

#define rxrpc_debug   rxkad_debug
 
#define RXKAD_VERSION   2
 
#define MAXKRB5TICKETLEN   1024
 
#define RXKAD_TKT_TYPE_KERBEROS_V5   256
 
#define ANAME_SZ   40 /* size of authentication name */
 
#define INST_SZ   40 /* size of principal's instance */
 
#define REALM_SZ   40 /* size of principal's auth domain */
 
#define SNAME_SZ   40 /* size of service name */
 
#define Z(size)
 

Functions

 module_param_named (debug, rxrpc_debug, uint, S_IWUSR|S_IRUGO)
 
 MODULE_PARM_DESC (debug,"rxkad debugging mask")
 
 MODULE_DESCRIPTION ("RxRPC network protocol type-2 security (Kerberos 4)")
 
 MODULE_AUTHOR ("Red Hat, Inc.")
 
 MODULE_LICENSE ("GPL")
 
 module_init (rxkad_init)
 
 module_exit (rxkad_exit)
 

Variables

unsigned int rxrpc_debug
 

Macro Definition Documentation

#define ANAME_SZ   40 /* size of authentication name */

Definition at line 29 of file rxkad.c.

#define INST_SZ   40 /* size of principal's instance */

Definition at line 30 of file rxkad.c.

#define MAXKRB5TICKETLEN   1024

Definition at line 27 of file rxkad.c.

#define REALM_SZ   40 /* size of principal's auth domain */

Definition at line 31 of file rxkad.c.

#define RXKAD_TKT_TYPE_KERBEROS_V5   256

Definition at line 28 of file rxkad.c.

#define RXKAD_VERSION   2

Definition at line 26 of file rxkad.c.

#define rxrpc_debug   rxkad_debug

Definition at line 23 of file rxkad.c.

#define SNAME_SZ   40 /* size of service name */

Definition at line 32 of file rxkad.c.

#define Z (   size)
Value:
({ \
u8 *__str = p; \
q = memchr(p, 0, end - p); \
if (!q || q - p > (size)) \
goto bad_ticket; \
for (; p < q; p++) \
if (!isprint(*p)) \
goto bad_ticket; \
p++; \
__str; \
})

Function Documentation

MODULE_AUTHOR ( "Red  Hat,
Inc."   
)
MODULE_DESCRIPTION ( "RxRPC network protocol type-2 security (Kerberos 4)"  )
module_exit ( rxkad_exit  )
module_init ( rxkad_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
rxrpc_debug  ,
uint  ,
S_IWUSR S_IRUGO 
)
MODULE_PARM_DESC ( debug  ,
"rxkad debugging mask  
)

Variable Documentation

unsigned int rxrpc_debug

Definition at line 34 of file rxkad.c.