Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
if_pppox.h File Reference
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/socket.h>
#include <linux/if_ether.h>
#include <linux/if_pppol2tp.h>

Go to the source code of this file.

Data Structures

struct  pppoe_addr
 
struct  pptp_addr
 
struct  sockaddr_pppox
 
struct  sockaddr_pppol2tp
 
struct  sockaddr_pppol2tpin6
 
struct  sockaddr_pppol2tpv3
 
struct  sockaddr_pppol2tpv3in6
 
struct  pppoe_tag
 
struct  pppoe_hdr
 

Macros

#define AF_PPPOX   24
 
#define PF_PPPOX   AF_PPPOX
 
#define PX_PROTO_OE   0 /* Currently just PPPoE */
 
#define PX_PROTO_OL2TP   1 /* Now L2TP also */
 
#define PX_PROTO_PPTP   2
 
#define PX_MAX_PROTO   3
 
#define PPPOEIOCSFWD   _IOW(0xB1 ,0, size_t)
 
#define PPPOEIOCDFWD   _IO(0xB1 ,1)
 
#define PADI_CODE   0x09
 
#define PADO_CODE   0x07
 
#define PADR_CODE   0x19
 
#define PADS_CODE   0x65
 
#define PADT_CODE   0xa7
 
#define PTT_EOL   __cpu_to_be16(0x0000)
 
#define PTT_SRV_NAME   __cpu_to_be16(0x0101)
 
#define PTT_AC_NAME   __cpu_to_be16(0x0102)
 
#define PTT_HOST_UNIQ   __cpu_to_be16(0x0103)
 
#define PTT_AC_COOKIE   __cpu_to_be16(0x0104)
 
#define PTT_VENDOR   __cpu_to_be16(0x0105)
 
#define PTT_RELAY_SID   __cpu_to_be16(0x0110)
 
#define PTT_SRV_ERR   __cpu_to_be16(0x0201)
 
#define PTT_SYS_ERR   __cpu_to_be16(0x0202)
 
#define PTT_GEN_ERR   __cpu_to_be16(0x0203)
 
#define PPPOE_SES_HLEN   8
 

Typedefs

typedef __be16 sid_t
 

Functions

struct pppoe_tag __attribute__ ((packed))
 

Variables

struct sockaddr_pppox __packed
 
__be16 tag_type
 
__be16 tag_len
 
char tag_data [0]
 

Macro Definition Documentation

#define AF_PPPOX   24

Definition at line 31 of file if_pppox.h.

#define PADI_CODE   0x09

Definition at line 113 of file if_pppox.h.

#define PADO_CODE   0x07

Definition at line 114 of file if_pppox.h.

#define PADR_CODE   0x19

Definition at line 115 of file if_pppox.h.

#define PADS_CODE   0x65

Definition at line 116 of file if_pppox.h.

#define PADT_CODE   0xa7

Definition at line 117 of file if_pppox.h.

#define PF_PPPOX   AF_PPPOX

Definition at line 32 of file if_pppox.h.

#define PPPOE_SES_HLEN   8

Definition at line 153 of file if_pppox.h.

#define PPPOEIOCDFWD   _IO(0xB1 ,1)

Definition at line 109 of file if_pppox.h.

#define PPPOEIOCSFWD   _IOW(0xB1 ,0, size_t)

Definition at line 108 of file if_pppox.h.

#define PTT_AC_COOKIE   __cpu_to_be16(0x0104)

Definition at line 129 of file if_pppox.h.

#define PTT_AC_NAME   __cpu_to_be16(0x0102)

Definition at line 127 of file if_pppox.h.

#define PTT_EOL   __cpu_to_be16(0x0000)

Definition at line 125 of file if_pppox.h.

#define PTT_GEN_ERR   __cpu_to_be16(0x0203)

Definition at line 134 of file if_pppox.h.

#define PTT_HOST_UNIQ   __cpu_to_be16(0x0103)

Definition at line 128 of file if_pppox.h.

#define PTT_RELAY_SID   __cpu_to_be16(0x0110)

Definition at line 131 of file if_pppox.h.

#define PTT_SRV_ERR   __cpu_to_be16(0x0201)

Definition at line 132 of file if_pppox.h.

#define PTT_SRV_NAME   __cpu_to_be16(0x0101)

Definition at line 126 of file if_pppox.h.

#define PTT_SYS_ERR   __cpu_to_be16(0x0202)

Definition at line 133 of file if_pppox.h.

#define PTT_VENDOR   __cpu_to_be16(0x0105)

Definition at line 130 of file if_pppox.h.

#define PX_MAX_PROTO   3

Definition at line 59 of file if_pppox.h.

#define PX_PROTO_OE   0 /* Currently just PPPoE */

Definition at line 56 of file if_pppox.h.

#define PX_PROTO_OL2TP   1 /* Now L2TP also */

Definition at line 57 of file if_pppox.h.

#define PX_PROTO_PPTP   2

Definition at line 58 of file if_pppox.h.

Typedef Documentation

typedef __be16 sid_t

Definition at line 38 of file if_pppox.h.

Function Documentation

struct pppoe_tag __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

char tag_data[0]

Definition at line 125 of file if_pppox.h.

__be16 tag_len

Definition at line 124 of file if_pppox.h.

__be16 tag_type

Definition at line 123 of file if_pppox.h.