Skip to content

Commit

Permalink
netgraph7: welcome ng_rfc1490.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntunes committed Jan 10, 2012
1 parent 178c5ad commit 55cc853
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
2 changes: 2 additions & 0 deletions etc/mtree/BSD.include.dist
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@
..
pptpgre
..
rfc1490
..
socket
..
tee
Expand Down
3 changes: 2 additions & 1 deletion include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ LSUBDIRS= bus/cam bus/cam/scsi \
netgraph7/hub \
netgraph7/iface netgraph7/ksocket netgraph7/l2tp netgraph7/lmi \
netgraph7/mppc netgraph7/one2many netgraph7/ppp netgraph7/pppoe \
netgraph7/pptpgre netgraph7/socket netgraph7/tee netgraph7/vjc \
netgraph7/pptpgre netgraph7/rfc1490 netgraph7/socket \
netgraph7/tee netgraph7/vjc \
bus/cam bus/usb bus/pccard bus/pci bus/isa bus/ppbus bus/smbus \
netproto/atm netproto/ipsec netproto/ipx \
netproto/key netproto/natm netproto/ncp netproto/smb \
Expand Down
4 changes: 1 addition & 3 deletions lib/libnetgraph7/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
#include <netgraph7/ppp/ng_ppp.h>
#include <netgraph7/pppoe/ng_pppoe.h>
#include <netgraph7/pptpgre/ng_pptpgre.h>
/*
#include <netgraph7/rfc1490/ng_rfc1490.h>
/*
#include <netgraph7/socket/ng_socket.h>
#include <netgraph7/source/ng_source.h>
#include <netgraph7/split/ng_split.h>
Expand Down Expand Up @@ -160,9 +160,7 @@ static const struct ng_cookie cookies[] = {
COOKIE(PPP),
COOKIE(PPPOE),
COOKIE(PPTPGRE),
/*
COOKIE(RFC1490),
*/
COOKIE(SOCKET),
/*
COOKIE(SOURCE),
Expand Down
2 changes: 1 addition & 1 deletion sys/conf/files
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ netgraph7/ppp/ng_ppp.c optional netgraph7_ppp
netgraph7/pppoe/ng_pppoe.c optional netgraph7_pppoe
netgraph7/pptpgre/ng_pptpgre.c optional netgraph7_pptpgre
netgraph7/ng_pred1.c optional netgraph7_pred1
netgraph7/ng_rfc1490.c optional netgraph7_rfc1490
netgraph7/rfc1490/ng_rfc1490.c optional netgraph7_rfc1490
netgraph7/socket/ng_socket.c optional netgraph7_socket
netgraph7/ng_split.c optional netgraph7_split
netgraph7/ng_sppp.c optional netgraph7_sppp
Expand Down
2 changes: 1 addition & 1 deletion sys/netgraph7/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ SUBDIR= UI \
ppp \
pppoe \
pptpgre \
rfc1490 \
socket \
tee \
vjc
# eiface \
# fec \
# netgraph \
# rfc1490 \
# socket \
# sync_ar \
# sync_sr \
Expand Down
8 changes: 8 additions & 0 deletions sys/netgraph7/rfc1490/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# $FreeBSD: src/sys/modules/netgraph/rfc1490/Makefile,v 1.1.4.3 2001/12/21 09:00:50 ru Exp $
# $DragonFly: src/sys/netgraph/rfc1490/Makefile,v 1.2 2003/06/17 04:28:46 dillon Exp $
# $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $

KMOD= ng_rfc1490
SRCS= ng_rfc1490.c

.include <bsd.kmod.mk>
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
#include <netinet/in.h>
#include <netinet/if_ether.h>

#include "ng_message.h"
#include "netgraph.h"
#include "ng_parse.h"
#include <netgraph7/ng_message.h>
#include <netgraph7/netgraph.h>
#include <netgraph7/ng_parse.h>
#include "ng_rfc1490.h"

/*
Expand Down
File renamed without changes.

0 comments on commit 55cc853

Please sign in to comment.