diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2013-10-12 11:55:47 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2013-10-12 11:55:47 +0000 |
commit | 4c6fb825538bec33756704209e5219d08b2cf3d6 (patch) | |
tree | 167697752611b7ed80f09be0bf5ba19564bbf74b /sys/net/pfvar.h | |
parent | c0c6fa8af51312b89234aa1dc73fbc97678c56e9 (diff) |
give tagname2tag and its siblings an extra "create" parameter. if 1, it
behaves like before and creates the mapping if needed. if 0, lookup only.
looked over by many, ok phessler sthen
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index dcf2f1706a2..7490421bd9c 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.389 2013/07/23 22:47:10 bluhm Exp $ */ +/* $OpenBSD: pfvar.h,v 1.390 2013/10/12 11:55:46 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1912,7 +1912,7 @@ int pfi_clear_flags(const char *, int); void pfi_xcommit(void); int pf_match_tag(struct mbuf *, struct pf_rule *, int *); -u_int16_t pf_tagname2tag(char *); +u_int16_t pf_tagname2tag(char *, int); void pf_tag2tagname(u_int16_t, char *); void pf_tag_ref(u_int16_t); void pf_tag_unref(u_int16_t); |