opnsense-src/lib/libc/net
Gleb Smirnoff 6aae3517ed Retire synchronous PPP kernel driver sppp(4).
The last two drivers that required sppp are cp(4) and ce(4).

These devices are still produced and can be purchased
at Cronyx <http://cronyx.ru/hardware/wan.html>.

Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no
longer support FreeBSD officially.  Later they have dropped
support for Linux drivers to.  As of mid-2020 they don't even
have a developer to maintain their Windows driver.  However,
their support verbally told me that they could provide aid to
a FreeBSD developer with documentaion in case if there appears
a new customer for their devices.

These drivers have a feature to not use sppp(4) and create an
interface, but instead expose the device as netgraph(4) node.
Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on
top of the node and get your synchronous PPP.  Alternatively
you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC.
Actually, last time I used cp(4) back in 2004, using netgraph(4)
instead of sppp(4) was already the right way to do.

Thus, remove the sppp(4) related part of the drivers and enable
by default the negraph(4) part.  Further maintenance of these
drivers in the tree shouldn't be a big deal.

While doing that, remove some cruft and enable cp(4) compilation
on amd64.  The ce(4) for some unknown reason marks its internal
DDK functions with __attribute__ fastcall, which most likely is
safe to remove, but without hardware I'm not going to do that, so
ce(4) remains i386-only.

Reviewed by:		emaste, imp, donner
Differential Revision:	https://reviews.freebsd.org/D32590
See also:		https://reviews.freebsd.org/D23928
2021-10-22 11:41:36 -07:00
..
base64.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
byteorder.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ether_addr.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ethers.3 Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
eui64.3 eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and 2012-02-08 11:30:13 +00:00
eui64.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
gai_strerror.3 gai_strerror() - Update string error messages according to RFC 3493. 2018-12-23 18:15:48 +00:00
gai_strerror.c gai_strerror() - Update string error messages according to RFC 3493. 2018-12-23 18:15:48 +00:00
getaddrinfo.3 Sync "struct addrinfo" declaration with netdb.h. 2019-02-10 19:07:47 +00:00
getaddrinfo.c Don't ignore trailing spaces after numerical IP addresses. 2017-12-20 17:44:31 +00:00
gethostbydns.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
gethostbyht.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
gethostbyname.3 libc: Fix most issues reported by mandoc 2020-12-19 14:54:28 +00:00
gethostbynis.c Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
gethostnamadr.c Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
getifaddrs.3 Fix ifa_data description. 2014-11-25 15:09:34 +00:00
getifaddrs.c SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
getifmaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifmaddrs.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
getipnodebyname.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getnameinfo.3 Make getnameinfo(3) salen requirement less strict and 2018-03-15 13:46:28 +00:00
getnameinfo.c Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
getnetbydns.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
getnetbyht.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
getnetbynis.c Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
getnetent.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getnetnamadr.c Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
getproto.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
getprotoent.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getprotoent.c Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
getprotoname.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
getservent.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getservent.c Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
hesiod.3 Sort sections. 2005-01-20 09:17:07 +00:00
hesiod.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
hosts Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ 2018-09-17 18:56:47 +00:00
hosts.equiv Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ 2018-09-17 18:56:47 +00:00
if_indextoname.3 Add missing includes. 2005-11-23 10:49:07 +00:00
if_indextoname.c libc: Shortcut if_indextoname() if index == 0 2020-04-23 21:16:51 +00:00
if_nameindex.c SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
if_nametoindex.c SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
inet.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
inet6_opt_init.3 Correct section reference for examples in RFC3542 2021-08-01 13:55:24 +01:00
inet6_option_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet6_rth_space.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
inet6_rthdr_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet_net.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ip6opt.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
linkaddr.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
linkaddr.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Makefile.inc Eliminate duplicate afterinstallconfigs target 2020-10-01 16:37:49 +00:00
map_v4v6.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
name6.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
netdb_private.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
networks Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ 2018-09-17 18:56:47 +00:00
nscache.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nscachedcli.c Style cleanup. 2018-11-27 09:41:47 +00:00
nsdispatch.3 Don't call dlopen(3) for built-in NSS types - "cache", "compat", 2018-10-15 17:50:02 +00:00
nsdispatch.c Revert "lib/libc/net/nsdispatch.c: Fix missing unlock and add locking annotations" 2021-04-19 09:36:47 +01:00
nslexer.l Prevent flex(1) from generating calls to isatty(3) - and, in turn, 2018-10-15 19:48:36 +00:00
nsparser.y libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nss_backends.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nss_compat.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nsswitch.conf Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ 2018-09-17 18:56:47 +00:00
ntoh.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
protocols Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ 2018-09-17 18:56:47 +00:00
rcmd.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rcmd.c Improve validation of the sockaddr length in iruserok_sa(). 2020-02-05 16:09:44 +00:00
rcmdsh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rcmdsh.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
recv.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
res_config.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
resolver.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rthdr.c typo: suppported. 2019-05-29 02:08:23 +00:00
sctp_bindx.3 Don't end up manpage titles with a full stop. 2017-05-24 21:02:53 +00:00
sctp_connectx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_freepaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getaddrlen.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getassocid.3 Don't end up manpage titles with a full stop. 2017-05-24 21:02:53 +00:00
sctp_getpaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_opt_info.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_recvmsg.3 sendmsg(3) -> sendmsg(2) 2016-02-29 17:19:15 +00:00
sctp_send.3 sctp_send(3): start sentences on new lines 2017-05-23 07:10:20 +00:00
sctp_sendmsg.3 sendmsg(3) -> sendmsg(2) 2016-02-29 17:19:15 +00:00
sctp_sys_calls.c Add include missing from my last commit. 2020-06-21 23:47:27 +00:00
send.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
sockatmark.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sockatmark.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
sourcefilter.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
sourcefilter.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
Symbol.map Add an SCTP symbol which was missed in 2015-03-28 09:08:57 +00:00
vars.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00