foundation for PF
This commit is contained in:
parent
3696a8d60c
commit
a225f02f05
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2003/10/13 08:34:15 dyoung Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2004/06/22 14:04:04 itojun Exp $
|
||||
|
||||
INCSDIR= /usr/include/net
|
||||
|
||||
@ -7,7 +7,9 @@ INCS= bpf.h bpfdesc.h dlt.h ethertypes.h if.h if_arc.h if_arp.h \
|
||||
if_gre.h if_hippi.h if_ieee1394.h if_llc.h if_media.h \
|
||||
if_ppp.h if_pppvar.h if_pppoe.h if_slvar.h if_sppp.h if_stf.h \
|
||||
if_stripvar.h if_token.h if_tun.h if_types.h if_vlanvar.h \
|
||||
netisr.h pfil.h pfkeyv2.h ppp-comp.h ppp_defs.h radix.h \
|
||||
netisr.h pfil.h pfkeyv2.h pfvar.h ppp-comp.h ppp_defs.h radix.h \
|
||||
raw_cb.h route.h slcompress.h slip.h zlib.h
|
||||
|
||||
.include <bsd.kinc.mk>
|
||||
|
||||
.PATH: ${NETBSDSRCDIR}/dist/pf/sys/net
|
||||
|
16
sys/net/files.pf
Normal file
16
sys/net/files.pf
Normal file
@ -0,0 +1,16 @@
|
||||
# $NetBSD: files.pf,v 1.1 2004/06/22 14:04:04 itojun Exp $
|
||||
|
||||
defpseudo pf: ifnet
|
||||
defpseudo pflog: ifnet
|
||||
#defpseudo pfsync: ifnet
|
||||
|
||||
file dist/pf/net/pf.c pf needs-flag
|
||||
file dist/pf/net/pf_norm.c pf
|
||||
file dist/pf/net/pf_if.c pf
|
||||
file dist/pf/net/pf_ioctl.c pf
|
||||
file dist/pf/net/pf_table.c pf
|
||||
file dist/pf/net/pf_osfp.c pf
|
||||
file dist/pf/net/if_pflog.c pflog needs-flag
|
||||
#file dist/pf/net/if_pfsync.c pfsync needs-flag
|
||||
|
||||
makeoptions pf CPPFLAGS+="-I$S/dist/pf"
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mbuf.h,v 1.92 2004/06/06 04:35:53 dyoung Exp $ */
|
||||
/* $NetBSD: mbuf.h,v 1.93 2004/06/22 14:04:04 itojun Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1999, 2001 The NetBSD Foundation, Inc.
|
||||
@ -895,6 +895,8 @@ struct m_tag *m_tag_next(struct mbuf *, struct m_tag *);
|
||||
#define PACKET_TAG_IPSEC_SOCKET 22 /* IPSEC socket ref */
|
||||
#define PACKET_TAG_IPSEC_HISTORY 23 /* IPSEC history */
|
||||
|
||||
#define PACKET_TAG_PF_TRANSLATE_LOCALHOST 24 /* translated to localhost */
|
||||
|
||||
/*
|
||||
* Return the number of bytes in the mbuf chain, m.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user