home *** CD-ROM | disk | FTP | other *** search
-
- Add this in line disciplines block (look for NTTYDISC). "8" depends
- on where you actually added it to LINESW in tty_conf.c:
-
- #define DUDISC 8 /* Dialup IP discipline */
-
- ------------------------------
-
- Add these lines after the #define's for interfaces, such as SIOCSIFMETRIC.
- Make sure the numbers you use, shown below as 44 through 57, are unique:
- /* Dialup IP */
- #define SIOCSATIMEO _IOWR(i,44,struct ifreq) /* Set Active timer */
- #define SIOCGATIMEO _IOWR(i,45,struct ifreq) /* Get Active timer */
- #define SIOCSWTIMEO _IOWR(i,46,struct ifreq) /* Set Wait timer */
- #define SIOCGWTIMEO _IOWR(i,47,struct ifreq) /* Get Wait timer */
- #define SIOCCLEARQ _IOWR(i,48,struct ifreq) /* Clear if. queue */
- #define SIOCSSOFTFLAGS _IOWR(i,49,struct ifreq) /* Set soft flags */
- #define SIOCGSOFTFLAGS _IOWR(i,50,struct ifreq) /* Get soft flags */
- #define SIOCSSOFTTIMER _IOWR(i,51,struct ifreq) /* Set soft timer */
- #define SIOCFAILCALL _IOWR(i,52,struct ifreq) /* Mark failed call */
- #define SIOCGIPKTS _IOWR(i,53,struct ifreq) /* get input packets */
- #define SIOCGOPKTS _IOWR(i,54,struct ifreq) /* get out. packets */
- #define SIOCBRINGUP _IOW(i,55,struct ifreq) /* Bring line up */
- #ifndef SIOCGIFMTU
- #define SIOCSIFMTU _IOW(i, 56, struct ifreq) /* set if_mtu */
- #define SIOCGIFMTU _IOWR(i,57, struct ifreq) /* get if_mtu */
- #endif /* SIOCGIFMTU */
-