| Trying to port kernel side PPP implementation. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/tmp/freebsd-src/usr/src/sys/net/netisr.h freebsd-10.3/usr/src/sys/net/netisr.h |
| --- /var/tmp/freebsd-src/usr/src/sys/net/netisr.h 2016-03-25 09:09:40.000000000 +0800 |
| +++ freebsd-10.3/usr/src/sys/net/netisr.h 2017-06-27 19:39:41.834221394 +0800 |
| @@ -61,6 +61,7 @@ |
| #define NETISR_IPV6 10 |
| #define NETISR_NATM 11 |
| #define NETISR_EPAIR 12 /* if_epair(4) */ |
| +#define NETISR_PPP 13 /* PPP soft interrupt */ |
| |
| /* |
| * Protocol ordering and affinity policy constants. See the detailed |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/tmp/freebsd-src/usr/src/sys/sys/priv.h freebsd-10.3/usr/src/sys/sys/priv.h |
| --- /var/tmp/freebsd-src/usr/src/sys/sys/priv.h 2016-03-25 09:09:26.000000000 +0800 |
| +++ freebsd-10.3/usr/src/sys/sys/priv.h 2017-06-27 22:45:28.840453192 +0800 |
| @@ -312,7 +312,7 @@ |
| */ |
| #define PRIV_NET_BRIDGE 390 /* Administer bridge. */ |
| #define PRIV_NET_GRE 391 /* Administer GRE. */ |
| -#define _PRIV_NET_PPP 392 /* Removed. */ |
| +#define PRIV_NET_PPP 392 |
| #define _PRIV_NET_SLIP 393 /* Removed. */ |
| #define PRIV_NET_BPF 394 /* Monitor BPF. */ |
| #define PRIV_NET_RAW 395 /* Open raw socket. */ |