aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetgraph/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* ng_atmllc: removeBrooks Davis2023-03-091-2/+0
| | | | | | | | | | This standalone module is the last vestage of ATM support in the tree so send it on its way. Reviewed by: manu, emaste Relnotes: yes Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38880
* Retire synchronous PPP kernel driver sppp(4).Gleb Smirnoff2021-10-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Some NetGraph debug polishing.Alexander Motin2015-02-061-7/+22
| | | | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks Notes: svn path=/head/; revision=278311
* Remove ng_fec(4).Gleb Smirnoff2013-10-281-2/+0
| | | | Notes: svn path=/head/; revision=257254
* bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expectsLuigi Rizzo2009-12-281-2/+0
| | | | | | | | to find it there. Unfortunately this reintroduces the dependency on ip_fw_pfil.c Notes: svn path=/head/; revision=201124
* this file is also affected by the ipfw changesLuigi Rizzo2009-12-281-0/+2
| | | | Notes: svn path=/head/; revision=201123
* Recognize all current standard node types.Ruslan Ermilov2005-10-251-4/+42
| | | | Notes: svn path=/head/; revision=151677
* Make this compile with GCC4 by fixing a few signedness related warnings.Maxime Henrion2005-04-261-1/+1
| | | | | | | Reviewed by: md5(1) Notes: svn path=/head/; revision=145546
* Add __FBSDID()s to libnetgraphMatthew Dillon2001-09-301-2/+3
| | | | Notes: svn path=/head/; revision=84215
* Fix a bug handling the debug level when displaying control messagesArchie Cobbs2000-04-281-9/+15
| | | | | | | in their ASCII forms at debug levels >= 3. Notes: svn path=/head/; revision=59732
* Missed part of previous commit.Archie Cobbs1999-12-031-0/+4
| | | | Notes: svn path=/head/; revision=54100
* Recognize NGM_BPF_COOKIE.Archie Cobbs1999-12-031-0/+1
| | | | Notes: svn path=/head/; revision=54098
* Add two new generic control messages, NGM_ASCII2BINARY andArchie Cobbs1999-11-301-241/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian Notes: svn path=/head/; revision=53913
* The "acfcomp" field is not in the structure anymore. There may be a betterOllivier Robert1999-11-191-1/+0
| | | | | | | | | way to do that but it fixes buildworld. World broken by: archie :-) Notes: svn path=/head/; revision=53421
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.Julian Elischer1999-10-211-0/+404
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree Notes: svn path=/head/; revision=52419