Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
hdlc_cisco.c File Reference
#include <linux/errno.h>
#include <linux/hdlc.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <linux/poll.h>
#include <linux/rtnetlink.h>
#include <linux/skbuff.h>

Go to the source code of this file.

Data Structures

struct  hdlc_header
 
struct  cisco_packet
 
struct  cisco_state
 

Macros

#define CISCO_MULTICAST   0x8F /* Cisco multicast address */
 
#define CISCO_UNICAST   0x0F /* Cisco unicast address */
 
#define CISCO_KEEPALIVE   0x8035 /* Cisco keepalive protocol */
 
#define CISCO_SYS_INFO   0x2000 /* Cisco interface/system info */
 
#define CISCO_ADDR_REQ   0 /* Cisco address request */
 
#define CISCO_ADDR_REPLY   1 /* Cisco address reply */
 
#define CISCO_KEEPALIVE_REQ   2 /* Cisco keepalive request */
 
#define CISCO_PACKET_LEN   18
 
#define CISCO_BIG_PACKET_LEN   20
 

Functions

 module_init (mod_init)
 
 module_exit (mod_exit)
 
 MODULE_AUTHOR ("Krzysztof Halasa <khc@pm.waw.pl>")
 
 MODULE_DESCRIPTION ("Cisco HDLC protocol support for generic HDLC")
 
 MODULE_LICENSE ("GPL v2")
 

Variables

struct hdlc_header __packed
 

Macro Definition Documentation

#define CISCO_ADDR_REPLY   1 /* Cisco address reply */

Definition at line 31 of file hdlc_cisco.c.

#define CISCO_ADDR_REQ   0 /* Cisco address request */

Definition at line 30 of file hdlc_cisco.c.

#define CISCO_BIG_PACKET_LEN   20

Definition at line 50 of file hdlc_cisco.c.

#define CISCO_KEEPALIVE   0x8035 /* Cisco keepalive protocol */

Definition at line 28 of file hdlc_cisco.c.

#define CISCO_KEEPALIVE_REQ   2 /* Cisco keepalive request */

Definition at line 32 of file hdlc_cisco.c.

#define CISCO_MULTICAST   0x8F /* Cisco multicast address */

Definition at line 26 of file hdlc_cisco.c.

#define CISCO_PACKET_LEN   18

Definition at line 49 of file hdlc_cisco.c.

#define CISCO_SYS_INFO   0x2000 /* Cisco interface/system info */

Definition at line 29 of file hdlc_cisco.c.

#define CISCO_UNICAST   0x0F /* Cisco unicast address */

Definition at line 27 of file hdlc_cisco.c.

Function Documentation

MODULE_AUTHOR ( "Krzysztof Halasa <khc@pm.waw.pl>"  )
MODULE_DESCRIPTION ( "Cisco HDLC protocol support for generic HDLC"  )
module_exit ( mod_exit  )
module_init ( mod_init  )
MODULE_LICENSE ( "GPL v2 )

Variable Documentation