summaryrefslogtreecommitdiff
path: root/lib/libnetgraph/debug.c
AgeCommit message (Collapse)Author
2023-11-26lib: Automated cleanup of cdefs and other formattingWarner Losh
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
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-03-09ng_atmllc: removeBrooks Davis
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
2021-10-22Retire synchronous PPP kernel driver sppp(4).Gleb Smirnoff
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
2015-02-06Some NetGraph debug polishing.Alexander Motin
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks Notes: svn path=/head/; revision=278311
2013-10-28Remove ng_fec(4).Gleb Smirnoff
Notes: svn path=/head/; revision=257254
2009-12-28bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expectsLuigi Rizzo
to find it there. Unfortunately this reintroduces the dependency on ip_fw_pfil.c Notes: svn path=/head/; revision=201124
2009-12-28this file is also affected by the ipfw changesLuigi Rizzo
Notes: svn path=/head/; revision=201123
2005-10-25Recognize all current standard node types.Ruslan Ermilov
Notes: svn path=/head/; revision=151677
2005-04-26Make this compile with GCC4 by fixing a few signedness related warnings.Maxime Henrion
Reviewed by: md5(1) Notes: svn path=/head/; revision=145546
2001-09-30Add __FBSDID()s to libnetgraphMatthew Dillon
Notes: svn path=/head/; revision=84215
2000-04-28Fix a bug handling the debug level when displaying control messagesArchie Cobbs
in their ASCII forms at debug levels >= 3. Notes: svn path=/head/; revision=59732
1999-12-03Missed part of previous commit.Archie Cobbs
Notes: svn path=/head/; revision=54100
1999-12-03Recognize NGM_BPF_COOKIE.Archie Cobbs
Notes: svn path=/head/; revision=54098
1999-11-30Add two new generic control messages, NGM_ASCII2BINARY andArchie Cobbs
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
1999-11-19The "acfcomp" field is not in the structure anymore. There may be a betterOllivier Robert
way to do that but it fixes buildworld. World broken by: archie :-) Notes: svn path=/head/; revision=53421
1999-10-21Whistle's Netgraph link-layer (sometimes more) networking infrastructure.Julian Elischer
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