]> git.ozlabs.org Git - ppp.git/blob - ultrix/patches
optional packet filtering stuff
[ppp.git] / ultrix / patches
1 *** /usr/sys/h/ioctl.h.orig     Fri Dec  9 10:05:18 1994
2 --- /usr/sys/h/ioctl.h  Fri Dec  9 10:06:06 1994
3 ***************
4 *** 405,410 ****
5 --- 405,411 ----
6   #define SLPDISC               0x07            /* BSD Serial Line IP           */
7   #define PCMDISC               0x08            /* Peripheral Control Module
8                                            for dial and button boxex */
9 + #define PPPDISC               0x09            /* PPP Point-to-Point Protocol  */
10                                         /* Line disc #'s 16-23 are 
11                                            reserved for local extension.*/
12   
13 *** /usr/sys/net/net/if.h.orig  Wed Aug  4 01:57:00 1993
14 --- /usr/sys/net/net/if.h       Fri Dec  9 09:29:11 1994
15 ***************
16 *** 231,236 ****
17 --- 231,237 ----
18   #define       IFT_XETHER      0x1a            /* obsolete 3MB experimental ethernet */
19   #define       IFT_NSIP        0x1b            /* XNS over IP */
20   #define       IFT_SLIP        0x1c            /* IP over generic TTY */
21 + #define       IFT_PPP         0x1d            /* PPP over generic TTY */
22   
23   /*
24    * Output queues (ifp->if_snd) and internetwork datagram level (pup level 1)
25 *** /usr/sys/net/net/netisr.h.orig      Fri Dec  9 09:53:17 1994
26 --- /usr/sys/net/net/netisr.h   Fri Dec  9 09:54:14 1994
27 ***************
28 *** 77,82 ****
29 --- 77,83 ----
30   #define NETISR_LAT    14              /* same as AF_LAT */
31   #define NETISR_BSC    15              /* same as AF_BSC */
32   #define NETISR_DLO      19              /* same as AF_OSI */
33 + #define NETISR_PPP    26              /* Point-to-Point Protocol */
34   
35   #define       schednetisr(anisr)      { set_bit_atomic(anisr,&netisr); setsoftnet(); }
36   
37 *** /usr/sys/net/net/conf_net.c.orig    Fri Dec  9 13:29:49 1994
38 --- /usr/sys/net/net/conf_net.c Fri Dec  9 13:32:50 1994
39 ***************
40 *** 84,89 ****
41 --- 84,90 ----
42   #ifdef vax
43   #include "bsc.h"
44   #endif vax
45 + #include "ppp.h"
46   
47   
48   #if ((NETHER==0 && NFDDI==0) || NINET==0)
49 ***************
50 *** 251,257 ****
51   };
52   
53   
54 ! extern int rawintr(), ipintr(), nsintr(), dnetintr(), dlointr(), dliintr(), latintr(), bscintr();
55   #ifdef        __mips
56   extern int scsiisr();
57   #endif
58 --- 252,258 ----
59   };
60   
61   
62 ! extern int rawintr(), ipintr(), nsintr(), dnetintr(), dlointr(), dliintr(), latintr(), bscintr(), pppintr();
63   #ifdef        __mips
64   extern int scsiisr();
65   #endif
66 ***************
67 *** 289,294 ****
68 --- 290,298 ----
69           {NETISR_SCSI,scsiisr},
70   #endif /* NSCSI > 0 || NSII > 0 || NASC > 0 */
71   #endif        /* __mips */
72 + #if NPPP > 0
73 +       {NETISR_PPP,pppintr},
74 + #endif /* NPPP */
75   
76         {-1     ,0}
77   };
78 *** /usr/sys/data/pseudo_data.c.orig    Sat Sep 19 06:20:31 1992
79 --- /usr/sys/data/pseudo_data.c Fri Dec  9 09:32:23 1994
80 ***************
81 *** 25,30 ****
82 --- 25,35 ----
83   
84   #endif /* NSL > 0 */
85   
86 + #include "ppp.h"
87 + #if NPPP > 0
88 +        pppattach();
89 + #endif
90
91   return;
92   }
93   
94 *** /usr/sys/data/tty_conf_data.c.orig  Sat Sep 19 06:19:21 1992
95 --- /usr/sys/data/tty_conf_data.c       Fri Dec  9 09:32:38 1994
96 ***************
97 *** 83,88 ****
98 --- 83,94 ----
99   int   slopen(), slclose(), slinput(), sltioctl(), slstart();
100   #endif
101   
102 + #include "ppp.h"
103 + #if NPPP > 0
104 + int   pppopen(), pppclose(), pppread(), pppwrite(), pppinput();
105 + int   ppptioctl(), pppstart();
106 + #endif
107
108   #ifdef BINARY
109   
110   extern        int     nldisp;
111 ***************
112 *** 141,146 ****
113 --- 147,161 ----
114         nodev, nodev, nodev, nodev, nodev,
115         nodev, nodev, nodev, nodev, nodev,
116   #endif
117
118 + #if NPPP > 0   
119 +        pppopen, pppclose, pppread, pppwrite, ppptioctl,
120 +        pppinput, nodev, nulldev, pppstart, nulldev,   /* 9 - PPPDISC */
121 + #else
122 +        nodev, nodev, nodev, nodev, nodev,
123 +        nodev, nodev, nodev, nodev, nodev,
124 + #endif
125
126   
127   };
128   
129 *** /usr/sys/conf/mips/files.mips.orig  Sat Sep 11 06:09:28 1993
130 --- /usr/sys/conf/mips/files.mips       Fri Dec  9 09:32:01 1994
131 ***************
132 *** 114,120 ****
133   io/netif/if_ln_copy.s         optional ln Binary 
134   io/netif/if_ne.c              optional ne device-driver Binary
135   io/netif/if_sl.c              optional sl device-driver Binary Unsupported
136 ! io/netif/slcompress.c         optional sl device-driver Binary Unsupported
137   io/netif/if_qe.c              optional qe device-driver Binary
138   io/netif/if_uba.c             optional inet device-driver Binary
139   io/netif/if_ni.c              optional bvpni device-driver Binary
140 --- 114,125 ----
141   io/netif/if_ln_copy.s         optional ln Binary 
142   io/netif/if_ne.c              optional ne device-driver Binary
143   io/netif/if_sl.c              optional sl device-driver Binary Unsupported
144 ! io/netif/if_ppp.c             optional ppp device-driver Notbinary
145 ! io/netif/ppp_tty.c            optional ppp device-driver Notbinary
146 ! io/netif/bsd-comp.c           optional ppp device-driver Notbinary
147 ! io/netif/ppp-deflate.c                optional ppp device-driver Notbinary
148 ! io/netif/zlib.c                       optional ppp device-driver Notbinary
149 ! io/netif/slcompress.c         optional sl or ppp device-driver Notbinary
150   io/netif/if_qe.c              optional qe device-driver Binary
151   io/netif/if_uba.c             optional inet device-driver Binary
152   io/netif/if_ni.c              optional bvpni device-driver Binary