Recognize all current standard node types.

This commit is contained in:
Ruslan Ermilov 2005-10-25 20:58:30 +00:00
parent 27b67627c4
commit 41fa1ea96a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151677

View File

@ -59,30 +59,49 @@ __FBSDID("$FreeBSD$");
#include <netgraph/ng_UI.h> #include <netgraph/ng_UI.h>
#include <netgraph/ng_async.h> #include <netgraph/ng_async.h>
#include <netgraph/ng_atmllc.h>
#include <netgraph/ng_bpf.h> #include <netgraph/ng_bpf.h>
#include <netgraph/ng_bridge.h>
#include <netgraph/ng_cisco.h> #include <netgraph/ng_cisco.h>
#include <netgraph/ng_device.h>
#include <netgraph/ng_echo.h> #include <netgraph/ng_echo.h>
#include <netgraph/ng_eiface.h>
#include <netgraph/ng_etf.h>
#include <netgraph/ng_ether.h> #include <netgraph/ng_ether.h>
#include <netgraph/ng_fec.h>
#include <netgraph/ng_frame_relay.h> #include <netgraph/ng_frame_relay.h>
#include <netgraph/ng_gif.h>
#include <netgraph/ng_gif_demux.h>
#include <netgraph/ng_hole.h> #include <netgraph/ng_hole.h>
#include <netgraph/ng_hub.h>
#include <netgraph/ng_iface.h> #include <netgraph/ng_iface.h>
#include <netgraph/ng_ip_input.h>
#include <netgraph/ng_ipfw.h>
#include <netgraph/ng_ksocket.h> #include <netgraph/ng_ksocket.h>
#include <netgraph/ng_l2tp.h>
#include <netgraph/ng_lmi.h> #include <netgraph/ng_lmi.h>
#include <netgraph/ng_mppc.h>
#include <netgraph/ng_nat.h>
#include <netgraph/ng_one2many.h>
#include <netgraph/ng_ppp.h> #include <netgraph/ng_ppp.h>
#include <netgraph/ng_pppoe.h> #include <netgraph/ng_pppoe.h>
#include <netgraph/ng_pptpgre.h>
#include <netgraph/ng_rfc1490.h> #include <netgraph/ng_rfc1490.h>
#include <netgraph/ng_socket.h> #include <netgraph/ng_socket.h>
#include <netgraph/ng_source.h>
#include <netgraph/ng_split.h>
#include <netgraph/ng_sppp.h>
#include <netgraph/ng_tcpmss.h>
#include <netgraph/ng_tee.h> #include <netgraph/ng_tee.h>
#include <netgraph/ng_tty.h> #include <netgraph/ng_tty.h>
#include <netgraph/ng_vjc.h> #include <netgraph/ng_vjc.h>
#include <netgraph/ng_vlan.h>
#ifdef WHISTLE #ifdef WHISTLE
#include <machine/../isa/df_def.h> #include <machine/../isa/df_def.h>
#include <machine/../isa/if_wfra.h> #include <machine/../isa/if_wfra.h>
#include <machine/../isa/ipac.h> #include <machine/../isa/ipac.h>
#include <netgraph/ng_df.h> #include <netgraph/ng_df.h>
#include <netgraph/ng_ipac.h> #include <netgraph/ng_ipac.h>
#include <netgraph/ng_mppc.h>
#include <netgraph/ng_pptpgre.h>
#include <netgraph/ng_tn.h> #include <netgraph/ng_tn.h>
#endif #endif
@ -108,28 +127,47 @@ struct ng_cookie {
static const struct ng_cookie cookies[] = { static const struct ng_cookie cookies[] = {
COOKIE(UI), COOKIE(UI),
COOKIE(ASYNC), COOKIE(ASYNC),
COOKIE(ATMLLC),
COOKIE(BPF), COOKIE(BPF),
COOKIE(BRIDGE),
COOKIE(CISCO), COOKIE(CISCO),
COOKIE(DEVICE),
COOKIE(ECHO), COOKIE(ECHO),
COOKIE(EIFACE),
COOKIE(ETF),
COOKIE(ETHER), COOKIE(ETHER),
COOKIE(FEC),
COOKIE(FRAMERELAY), COOKIE(FRAMERELAY),
COOKIE(GIF),
COOKIE(GIF_DEMUX),
COOKIE(GENERIC), COOKIE(GENERIC),
COOKIE(HOLE), COOKIE(HOLE),
COOKIE(HUB),
COOKIE(IFACE), COOKIE(IFACE),
COOKIE(IP_INPUT),
COOKIE(IPFW),
COOKIE(KSOCKET), COOKIE(KSOCKET),
COOKIE(L2TP),
COOKIE(LMI), COOKIE(LMI),
COOKIE(MPPC),
COOKIE(NAT),
COOKIE(ONE2MANY),
COOKIE(PPP), COOKIE(PPP),
COOKIE(PPPOE), COOKIE(PPPOE),
COOKIE(PPTPGRE),
COOKIE(RFC1490), COOKIE(RFC1490),
COOKIE(SOCKET), COOKIE(SOCKET),
COOKIE(SOURCE),
COOKIE(SPLIT),
COOKIE(SPPP),
COOKIE(TCPMSS),
COOKIE(TEE), COOKIE(TEE),
COOKIE(TTY), COOKIE(TTY),
COOKIE(VJC), COOKIE(VJC),
COOKIE(VLAN),
#ifdef WHISTLE #ifdef WHISTLE
COOKIE(DF), COOKIE(DF),
COOKIE(IPAC), COOKIE(IPAC),
COOKIE(MPPC),
COOKIE(PPTPGRE),
COOKIE(TN), COOKIE(TN),
COOKIE(WFRA), COOKIE(WFRA),
#endif #endif