X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=include%2Flinux%2Fif_pppvar.h;h=b2485cd9d6c4dad915dfe014aed3aba295f109ec;hb=38ab2a874c643b0b70aee4cb056cd5025d0fdd48;hp=cf70fe655ea1dba5f311876f59600255575b3ade;hpb=492bed62999458a3e61f9d46b929ce1e1ca8a72b;p=ppp.git diff --git a/include/linux/if_pppvar.h b/include/linux/if_pppvar.h index cf70fe6..b2485cd 100644 --- a/include/linux/if_pppvar.h +++ b/include/linux/if_pppvar.h @@ -42,7 +42,7 @@ */ /* - * ==FILEVERSION 980704== + * ==FILEVERSION 990911== * * NOTE TO MAINTAINERS: * If you modify this file at all, please set the above date. @@ -61,7 +61,8 @@ #define NP_IP 0 /* Internet Protocol */ #define NP_IPX 1 /* IPX protocol */ #define NP_AT 2 /* Appletalk protocol */ -#define NUM_NP 3 /* Number of NPs. */ +#define NP_IPV6 3 /* Internet Protocol */ +#define NUM_NP 4 /* Number of NPs. */ #define OBUFSIZE 256 /* # chars of output buffering */ @@ -80,6 +81,7 @@ struct ppp { struct slcompress *slcomp; /* for TCP header compression */ struct sk_buff_head xmt_q; /* frames to send from pppd */ struct sk_buff_head rcv_q; /* frames for pppd to read */ + unsigned long xmit_busy; /* bit 0 set when xmitter busy */ /* Information specific to using ppp on async serial lines. */ struct tty_struct *tty; /* ptr to TTY structure */ @@ -87,6 +89,7 @@ struct ppp { __u8 escape; /* 0x20 if prev char was PPP_ESC */ __u8 toss; /* toss this frame */ volatile __u8 tty_pushing; /* internal state flag */ + volatile __u8 woke_up; /* internal state flag */ __u32 xmit_async_map[8]; /* 1 bit means that given control character is quoted on output*/ __u32 recv_async_map; /* 1 bit means that given control @@ -130,3 +133,6 @@ struct ppp { /* tty output buffer */ unsigned char obuf[OBUFSIZE]; /* buffer for characters to send */ }; + +#define PPP_MAGIC 0x5002 +#define PPP_VERSION "2.3.11"