summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2011-03-07 23:30:20 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2011-03-07 23:30:20 +0000
commitcfd60bb436ec323a029a43130c30f34f22901653 (patch)
tree31abc282f142d6cc2455333b7d78640b000bb3a8 /sys/net/pfvar.h
parente2ec7f70244f8417cad73d40d00acfcfef383d29 (diff)
Declare the inline function pf_addr_compare() non-static in pfvar.h
to make it reusable by pf fragment reassembly. No functional change. discussed with henning@, claudio@, deraadt@, kettenis@ ok guenther@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index f1d852b70ec..0a1cd522f36 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.321 2011/03/05 01:53:16 bluhm Exp $ */
+/* $OpenBSD: pfvar.h,v 1.322 2011/03/07 23:30:19 bluhm Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1871,6 +1871,8 @@ void pf_tag_packet(struct mbuf *, int, int);
u_int32_t pf_qname2qid(char *);
void pf_qid2qname(u_int32_t, char *);
void pf_qid_unref(u_int32_t);
+int pf_addr_compare(struct pf_addr *, struct pf_addr *,
+ sa_family_t);
extern struct pf_status pf_status;
extern struct pool pf_frent_pl, pf_frag_pl;