Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
isdn_net.h File Reference

Go to the source code of this file.

Macros

#define ISDN_WAITCHARGE   1 /* did not get a charge info yet */
 
#define ISDN_HAVECHARGE   2 /* We know a charge info */
 
#define ISDN_CHARGEHUP   4 /* We want to use the charge mechanism */
 
#define ISDN_INHUP   8 /* Even if incoming, close after huptimeout */
 
#define ISDN_MANCHARGE   16 /* Charge Interval manually set */
 
#define CISCO_ADDR_UNICAST   0x0f
 
#define CISCO_ADDR_BROADCAST   0x8f
 
#define CISCO_CTRL   0x00
 
#define CISCO_TYPE_CDP   0x2000
 
#define CISCO_TYPE_SLARP   0x8035
 
#define CISCO_SLARP_REQUEST   0
 
#define CISCO_SLARP_REPLY   1
 
#define CISCO_SLARP_KEEPALIVE   2
 
#define ISDN_NET_MAX_QUEUE_LENGTH   2
 
#define ISDN_MASTER_PRIV(lp)   ((isdn_net_local *) netdev_priv(lp->master))
 
#define ISDN_SLAVE_PRIV(lp)   ((isdn_net_local *) netdev_priv(lp->slave))
 
#define MASTER_TO_SLAVE(master)   (((isdn_net_local *) netdev_priv(master))->slave)
 

Functions

charisdn_net_new (char *, struct net_device *)
 
charisdn_net_newslave (char *)
 
int isdn_net_rm (char *)
 
int isdn_net_rmall (void)
 
int isdn_net_stat_callback (int, isdn_ctrl *)
 
int isdn_net_setcfg (isdn_net_ioctl_cfg *)
 
int isdn_net_getcfg (isdn_net_ioctl_cfg *)
 
int isdn_net_addphone (isdn_net_ioctl_phone *)
 
int isdn_net_getphones (isdn_net_ioctl_phone *, char __user *)
 
int isdn_net_getpeer (isdn_net_ioctl_phone *, isdn_net_ioctl_phone __user *)
 
int isdn_net_delphone (isdn_net_ioctl_phone *)
 
int isdn_net_find_icall (int, int, int, setup_parm *)
 
void isdn_net_hangup (struct net_device *)
 
void isdn_net_dial (void)
 
void isdn_net_autohup (void)
 
int isdn_net_force_hangup (char *)
 
int isdn_net_force_dial (char *)
 
isdn_net_devisdn_net_findif (char *)
 
int isdn_net_rcv_skb (int, struct sk_buff *)
 
int isdn_net_dial_req (isdn_net_local *)
 
void isdn_net_writebuf_skb (isdn_net_local *lp, struct sk_buff *skb)
 
void isdn_net_write_super (isdn_net_local *lp, struct sk_buff *skb)
 

Macro Definition Documentation

#define CISCO_ADDR_BROADCAST   0x8f

Definition at line 26 of file isdn_net.h.

#define CISCO_ADDR_UNICAST   0x0f

Definition at line 25 of file isdn_net.h.

#define CISCO_CTRL   0x00

Definition at line 27 of file isdn_net.h.

#define CISCO_SLARP_KEEPALIVE   2

Definition at line 32 of file isdn_net.h.

#define CISCO_SLARP_REPLY   1

Definition at line 31 of file isdn_net.h.

#define CISCO_SLARP_REQUEST   0

Definition at line 30 of file isdn_net.h.

#define CISCO_TYPE_CDP   0x2000

Definition at line 28 of file isdn_net.h.

#define CISCO_TYPE_SLARP   0x8035

Definition at line 29 of file isdn_net.h.

#define ISDN_CHARGEHUP   4 /* We want to use the charge mechanism */

Definition at line 17 of file isdn_net.h.

#define ISDN_HAVECHARGE   2 /* We know a charge info */

Definition at line 16 of file isdn_net.h.

#define ISDN_INHUP   8 /* Even if incoming, close after huptimeout */

Definition at line 18 of file isdn_net.h.

#define ISDN_MANCHARGE   16 /* Charge Interval manually set */

Definition at line 19 of file isdn_net.h.

#define ISDN_MASTER_PRIV (   lp)    ((isdn_net_local *) netdev_priv(lp->master))

Definition at line 59 of file isdn_net.h.

#define ISDN_NET_MAX_QUEUE_LENGTH   2

Definition at line 57 of file isdn_net.h.

#define ISDN_SLAVE_PRIV (   lp)    ((isdn_net_local *) netdev_priv(lp->slave))

Definition at line 60 of file isdn_net.h.

#define ISDN_WAITCHARGE   1 /* did not get a charge info yet */

Definition at line 15 of file isdn_net.h.

#define MASTER_TO_SLAVE (   master)    (((isdn_net_local *) netdev_priv(master))->slave)

Definition at line 61 of file isdn_net.h.

Function Documentation

int isdn_net_addphone ( isdn_net_ioctl_phone )

Definition at line 2954 of file isdn_net.c.

void isdn_net_autohup ( void  )

Definition at line 321 of file isdn_net.c.

int isdn_net_delphone ( isdn_net_ioctl_phone )

Definition at line 3041 of file isdn_net.c.

void isdn_net_dial ( void  )

Definition at line 559 of file isdn_net.c.

int isdn_net_dial_req ( isdn_net_local )

Definition at line 2490 of file isdn_net.c.

int isdn_net_find_icall ( int  ,
int  ,
int  ,
setup_parm  
)

Definition at line 2093 of file isdn_net.c.

isdn_net_dev* isdn_net_findif ( char )

Definition at line 2424 of file isdn_net.c.

int isdn_net_force_dial ( char )

Definition at line 2503 of file isdn_net.c.

int isdn_net_force_hangup ( char )

Definition at line 3097 of file isdn_net.c.

int isdn_net_getcfg ( isdn_net_ioctl_cfg )

Definition at line 2893 of file isdn_net.c.

int isdn_net_getpeer ( isdn_net_ioctl_phone ,
isdn_net_ioctl_phone __user  
)

Definition at line 3008 of file isdn_net.c.

int isdn_net_getphones ( isdn_net_ioctl_phone ,
char __user  
)

Definition at line 2975 of file isdn_net.c.

void isdn_net_hangup ( struct net_device )

Definition at line 828 of file isdn_net.c.

char* isdn_net_new ( char ,
struct net_device  
)

Definition at line 2576 of file isdn_net.c.

char* isdn_net_newslave ( char )

Definition at line 2639 of file isdn_net.c.

int isdn_net_rcv_skb ( int  ,
struct sk_buff  
)

Definition at line 1878 of file isdn_net.c.

int isdn_net_rm ( char )

Definition at line 3183 of file isdn_net.c.

int isdn_net_rmall ( void  )

Definition at line 3212 of file isdn_net.c.

int isdn_net_setcfg ( isdn_net_ioctl_cfg )

Definition at line 2672 of file isdn_net.c.

int isdn_net_stat_callback ( int  ,
isdn_ctrl  
)

Definition at line 394 of file isdn_net.c.

void isdn_net_write_super ( isdn_net_local lp,
struct sk_buff skb 
)

Definition at line 964 of file isdn_net.c.

void isdn_net_writebuf_skb ( isdn_net_local lp,
struct sk_buff skb 
)

Definition at line 1005 of file isdn_net.c.