X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=linux%2Fif_pppvar.h;h=3714be0b78dae11d8458d2c6f38668f9257eeb7b;hp=ea02f86d8f5f380998981cac66c44a3f79844a1c;hb=fafd2a0842d230623862c59a488dc7b4500ad64a;hpb=835e047a2057cdcadf4aa11134961cb2b9e9efe7 diff --git a/linux/if_pppvar.h b/linux/if_pppvar.h index ea02f86..3714be0 100644 --- a/linux/if_pppvar.h +++ b/linux/if_pppvar.h @@ -42,7 +42,7 @@ */ /* - * ==FILEVERSION 960918== + * ==FILEVERSION 970626== * * NOTE TO MAINTAINERS: * If you modify this file at all, please set the above date. @@ -79,7 +79,7 @@ struct ppp_buffer { /* =2, daemon write buffer */ /* =3, daemon read buffer */ __u16 fcs; /* Frame Check Sequence (CRC) */ - __u8 filler[4]; /* Extra space if needed */ + __u16 magic; /* Extra space if needed */ }; /* Given a pointer to the ppp_buffer then return base address of buffer */ @@ -91,6 +91,7 @@ struct ppp_buffer { struct ppp { __s32 magic; /* magic value for structure */ + struct ppp *next; /* unit with next index */ /* Bitmapped flag fields. */ __u32 inuse; /* are we allocated? */ @@ -114,9 +115,6 @@ struct ppp { __s32 bytes_sent; /* Bytes sent on frame */ __s32 bytes_rcvd; /* Bytes recvd on frame */ - /* Interface to the network layer */ - struct device *dev; /* easy for intr handling */ - /* VJ Header compression data */ struct slcompress *slcomp; /* for header compression */ @@ -155,5 +153,7 @@ struct ppp { struct compressor *sc_rcomp; /* receive decompressor */ void *sc_rc_state; /* receive decompressor state */ __s32 sc_xfer; /* PID of reserved PPP table */ + char name[8]; + struct device dev; /* net device structure */ struct enet_statistics estats; /* more detailed stats */ };