Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
smsgiucv_app.c File Reference
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/kobject.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <net/iucv/iucv.h>
#include "smsgiucv.h"

Go to the source code of this file.

Data Structures

struct  smsg_app_event
 

Macros

#define KMSG_COMPONENT   "smsgiucv_app"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define SMSG_PREFIX   "APP"
 
#define ENV_SENDER_STR   "SMSG_SENDER="
 
#define ENV_SENDER_LEN   (strlen(ENV_SENDER_STR) + 8 + 1)
 
#define ENV_PREFIX_STR   "SMSG_ID="
 
#define ENV_PREFIX_LEN
 
#define ENV_TEXT_STR   "SMSG_TEXT="
 
#define ENV_TEXT_LEN(msg)   (strlen(ENV_TEXT_STR) + strlen((msg)) + 1)
 

Functions

 module_param (sender, charp, 0400)
 
 MODULE_PARM_DESC (sender,"z/VM user ID from which CP SMSGs are accepted")
 
 module_init (smsgiucv_app_init)
 
 module_exit (smsgiucv_app_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DESCRIPTION ("Deliver z/VM CP SMSG as uevents")
 
 MODULE_AUTHOR ("Hendrik Brueckner <[email protected]>")
 

Macro Definition Documentation

#define ENV_PREFIX_LEN
Value:
strlen(SMSG_PREFIX) + 1)

Definition at line 34 of file smsgiucv_app.c.

#define ENV_PREFIX_STR   "SMSG_ID="

Definition at line 33 of file smsgiucv_app.c.

#define ENV_SENDER_LEN   (strlen(ENV_SENDER_STR) + 8 + 1)

Definition at line 32 of file smsgiucv_app.c.

#define ENV_SENDER_STR   "SMSG_SENDER="

Definition at line 31 of file smsgiucv_app.c.

#define ENV_TEXT_LEN (   msg)    (strlen(ENV_TEXT_STR) + strlen((msg)) + 1)

Definition at line 37 of file smsgiucv_app.c.

#define ENV_TEXT_STR   "SMSG_TEXT="

Definition at line 36 of file smsgiucv_app.c.

#define KMSG_COMPONENT   "smsgiucv_app"

Definition at line 12 of file smsgiucv_app.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 13 of file smsgiucv_app.c.

#define SMSG_PREFIX   "APP"

Definition at line 28 of file smsgiucv_app.c.

Function Documentation

MODULE_AUTHOR ( "Hendrik Brueckner <[email protected]>"  )
MODULE_DESCRIPTION ( "Deliver z/VM CP SMSG as uevents"  )
module_exit ( smsgiucv_app_exit  )
module_init ( smsgiucv_app_init  )
MODULE_LICENSE ( "GPL v2 )
module_param ( sender  ,
charp  ,
0400   
)
MODULE_PARM_DESC ( sender  ,
"z/VM user ID from which CP SMSGs are accepted"   
)