| Trying to port kernel side PPP implementation. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/archive3/public/freebsd-releng-10.4-src/sys/net/netisr.h freebsd-10.4/sys/net/netisr.h |
| --- /var/archive3/public/freebsd-releng-10.4-src/sys/net/netisr.h 2017-09-29 08:20:07.000000000 +0800 |
| +++ freebsd-10.4/sys/net/netisr.h 2019-08-18 00:14:20.465167683 +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/archive3/public/freebsd-releng-10.4-src/sys/sys/priv.h freebsd-10.4/sys/sys/priv.h |
| --- /var/archive3/public/freebsd-releng-10.4-src/sys/sys/priv.h 2017-09-29 08:19:46.000000000 +0800 |
| +++ freebsd-10.4/sys/sys/priv.h 2019-08-18 00:14:20.465167683 +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. */ |