Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
netconsole.c File Reference
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/console.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
#include <linux/netpoll.h>
#include <linux/inet.h>
#include <linux/configfs.h>

Go to the source code of this file.

Data Structures

struct  netconsole_target
 

Macros

#define MAX_PARAM_LENGTH   256
 
#define MAX_PRINT_CHUNK   1000
 

Functions

 MODULE_AUTHOR ("Maintainer: Matt Mackall <[email protected]>")
 
 MODULE_DESCRIPTION ("Console driver for network interfaces")
 
 MODULE_LICENSE ("GPL")
 
 module_param_string (netconsole, config, MAX_PARAM_LENGTH, 0)
 
 MODULE_PARM_DESC (netconsole," netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]")
 
 __setup ("netconsole=", option_setup)
 
 late_initcall (init_netconsole)
 
 module_exit (cleanup_netconsole)
 

Macro Definition Documentation

#define MAX_PARAM_LENGTH   256

Definition at line 52 of file netconsole.c.

#define MAX_PRINT_CHUNK   1000

Definition at line 53 of file netconsole.c.

Function Documentation

__setup ( )
late_initcall ( init_netconsole  )
MODULE_AUTHOR ( "Maintainer: Matt Mackall <[email protected]>"  )
MODULE_DESCRIPTION ( "Console driver for network interfaces"  )
module_exit ( cleanup_netconsole  )
MODULE_LICENSE ( "GPL"  )
module_param_string ( netconsole  ,
config  ,
MAX_PARAM_LENGTH  ,
 
)
MODULE_PARM_DESC ( netconsole  ,
netconsole = [src-port]@[src-ip]/[dev],
[tgt-port] @< tgt-ip >/"  [tgt-macaddr] 
)