Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
if_pppox.h File Reference
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/ppp_channel.h>
#include <linux/skbuff.h>
#include <uapi/linux/if_pppox.h>
#include <net/sock.h>

Go to the source code of this file.

Data Structures

struct  pppoe_opt
 
struct  pptp_opt
 
struct  pppox_sock
 
struct  pppox_proto
 

Macros

#define pppoe_dev   proto.pppoe.dev
 
#define pppoe_ifindex   proto.pppoe.ifindex
 
#define pppoe_pa   proto.pppoe.pa
 
#define pppoe_relay   proto.pppoe.relay
 

Enumerations

enum  {
  PPPOX_NONE = 0, PPPOX_CONNECTED = 1, PPPOX_BOUND = 2, PPPOX_RELAY = 4,
  PPPOX_ZOMBIE = 8, PPPOX_DEAD = 16
}
 

Functions

int register_pppox_proto (int proto_num, const struct pppox_proto *pp)
 
void unregister_pppox_proto (int proto_num)
 
void pppox_unbind_sock (struct sock *sk)
 
int pppox_ioctl (struct socket *sock, unsigned int cmd, unsigned long arg)
 

Macro Definition Documentation

#define pppoe_dev   proto.pppoe.dev

Definition at line 57 of file if_pppox.h.

#define pppoe_ifindex   proto.pppoe.ifindex

Definition at line 58 of file if_pppox.h.

#define pppoe_pa   proto.pppoe.pa

Definition at line 59 of file if_pppox.h.

#define pppoe_relay   proto.pppoe.relay

Definition at line 60 of file if_pppox.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
PPPOX_NONE 
PPPOX_CONNECTED 
PPPOX_BOUND 
PPPOX_RELAY 
PPPOX_ZOMBIE 
PPPOX_DEAD 

Definition at line 87 of file if_pppox.h.

Function Documentation

int pppox_ioctl ( struct socket sock,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 71 of file pppox.c.

void pppox_unbind_sock ( struct sock sk)

Definition at line 57 of file pppox.c.

int register_pppox_proto ( int  proto_num,
const struct pppox_proto pp 
)

Definition at line 41 of file pppox.c.

void unregister_pppox_proto ( int  proto_num)

Definition at line 51 of file pppox.c.