1*732d96f1Sjoerg /* $NetBSD: pf.h,v 1.7 2011/08/30 19:49:11 joerg Exp $ */ 2fcab4c33Sthorpej 3ed137f7cScjs /* 4ed137f7cScjs * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. 5ed137f7cScjs * 6ed137f7cScjs * Redistribution and use in source and binary forms, with or without 7ed137f7cScjs * modification, are permitted provided that the following conditions 8ed137f7cScjs * are met: 9ed137f7cScjs * 1. Redistributions of source code must retain the above copyright 10ed137f7cScjs * notice, this list of conditions and the following disclaimer. 11ed137f7cScjs * 2. Redistributions in binary form must reproduce the above copyright 12ed137f7cScjs * notice, this list of conditions and the following disclaimer in the 13ed137f7cScjs * documentation and/or other materials provided with the distribution. 14ed137f7cScjs * 15ed137f7cScjs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16ed137f7cScjs * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17ed137f7cScjs * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18ed137f7cScjs * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19ed137f7cScjs * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20ed137f7cScjs * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21ed137f7cScjs * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22ed137f7cScjs * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23ed137f7cScjs * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24ed137f7cScjs * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25ed137f7cScjs * 26*732d96f1Sjoerg * $NetBSD: pf.h,v 1.7 2011/08/30 19:49:11 joerg Exp $ 27ed137f7cScjs * 28ed137f7cScjs */ 29ed137f7cScjs 30ed137f7cScjs #ifndef _PF_H_ 31ed137f7cScjs #define _PF_H_ 32ed137f7cScjs 33ed137f7cScjs __BEGIN_DECLS 34*732d96f1Sjoerg int pfTrans(const char *); 35*732d96f1Sjoerg int pfInit(const char *, int, u_short, int); 36*732d96f1Sjoerg int pfEthAddr(int, u_char *); 37*732d96f1Sjoerg int pfAddMulti(int, const char *, const char *); 38*732d96f1Sjoerg int pfDelMulti(int, const char *, const char *); 39*732d96f1Sjoerg int pfRead(int, u_char *, int); 40*732d96f1Sjoerg int pfWrite(int, const u_char *, int, int); 41ed137f7cScjs __END_DECLS 42ed137f7cScjs 43d594ce93Scgd #endif /* _PF_H_ */ 44