diff options
author | glebius <glebius@FreeBSD.org> | 2015-02-16 21:52:28 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-02-16 21:52:28 +0000 |
commit | 16f1b2f354a4bd6baf5198f2e5665062dd993c1f (patch) | |
tree | c10869775388d2bced4760228877f2568b2dd565 /sys/netpfil/pf | |
parent | 23ff0c84ba730f13f258ea812d73c6f7ec4f50a2 (diff) | |
download | FreeBSD-src-16f1b2f354a4bd6baf5198f2e5665062dd993c1f.zip FreeBSD-src-16f1b2f354a4bd6baf5198f2e5665062dd993c1f.tar.gz |
Toss declarations to fix regular build and NO_INET6 build.
Diffstat (limited to 'sys/netpfil/pf')
-rw-r--r-- | sys/netpfil/pf/pf_norm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netpfil/pf/pf_norm.c b/sys/netpfil/pf/pf_norm.c index 1801919..5fa53bf 100644 --- a/sys/netpfil/pf/pf_norm.c +++ b/sys/netpfil/pf/pf_norm.c @@ -148,9 +148,6 @@ static struct pf_fragment *pf_find_fragment(struct pf_fragment_cmp *key, struct pf_frent *pf_create_fragment(u_short *); static int pf_reassemble(struct mbuf **, struct ip *, int, u_short *); -int pf_reassemble6(struct mbuf **, struct ip6_hdr *, - struct ip6_frag *, uint16_t, uint16_t, int, - u_short *); static struct mbuf *pf_fragcache(struct mbuf **, struct ip*, struct pf_fragment **, int, int, int *); static struct pf_fragment *pf_fillup_fragment(struct pf_fragment_cmp *, @@ -161,6 +158,9 @@ struct mbuf *pf_join_fragment(struct pf_fragment *); #endif /* INET */ #ifdef INET6 +int pf_reassemble6(struct mbuf **, struct ip6_hdr *, + struct ip6_frag *, uint16_t, uint16_t, int, + u_short *); static void pf_scrub_ip6(struct mbuf **, u_int8_t); #endif #define DPFPRINTF(x) do { \ @@ -1094,6 +1094,7 @@ pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment **frag, int mff, return (NULL); } +#ifdef INET6 int pf_refragment6(struct ifnet *ifp, struct mbuf **m0, struct m_tag *mtag) { @@ -1162,6 +1163,7 @@ pf_refragment6(struct ifnet *ifp, struct mbuf **m0, struct m_tag *mtag) return (action); } +#endif /* INET6 */ int pf_normalize_ip(struct mbuf **m0, int dir, struct pfi_kif *kif, u_short *reason, |