1 /* $Id$ */ 2 /* 3 * Copyright (C) 2014-2021 Cisco and/or its affiliates. All rights reserved. 4 * Copyright (C) 2002-2013 Sourcefire, Inc. 5 * 6 * Author(s): Andrew R. Baker <andrewb@sourcefire.com> 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License Version 2 as 10 * published by the Free Software Foundation. You may not use, modify or 11 * distribute this program under any other version of the GNU General 12 * Public License. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 * 23 */ 24 25 #ifndef __IP_ADDR_SET_H__ 26 #define __IP_ADDR_SET_H__ 27 28 #include <sys/types.h> 29 #include "sf_types.h" 30 31 # include "ipv6_port.h" 32 # include "sfutil/sf_ipvar.h" 33 34 35 36 void IpAddrSetDestroy(IpAddrSet *); 37 struct _SnortConfig; 38 IpAddrSet *IpAddrSetParse(struct _SnortConfig *, char *); 39 40 41 42 #endif /* __IP_ADDR_SET_H__ */ 43