alias.h (145926) | alias.h (145931) |
---|---|
1/* lint -save -library Flexelint comment for external headers */ 2 3/*- 4 * Copyright (c) 2001 Charles Mott <cm@linktel.net> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/* lint -save -library Flexelint comment for external headers */ 2 3/*- 4 * Copyright (c) 2001 Charles Mott <cm@linktel.net> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/netinet/libalias/alias.h 145926 2005-05-05 20:25:12Z glebius $ | 28 * $FreeBSD: head/sys/netinet/libalias/alias.h 145931 2005-05-05 21:53:17Z glebius $ |
29 */ 30 31/*- 32 * Alias.h defines the outside world interfaces for the packet aliasing 33 * software. 34 * 35 * This software is placed into the public domain with no restrictions on its 36 * distribution. 37 */ 38 39#ifndef _ALIAS_H_ 40#define _ALIAS_H_ 41 | 29 */ 30 31/*- 32 * Alias.h defines the outside world interfaces for the packet aliasing 33 * software. 34 * 35 * This software is placed into the public domain with no restrictions on its 36 * distribution. 37 */ 38 39#ifndef _ALIAS_H_ 40#define _ALIAS_H_ 41 |
42#ifdef _KERNEL |
|
42/* | 43/* |
44 * The kernel version of libalias does not support these features. 45 */ 46#define NO_FW_PUNCH 47#define NO_LOGGING 48#define NO_USE_SOCKETS 49#endif 50 51/* |
|
43 * The external interface to libalias, the packet aliasing engine. 44 * 45 * There are two sets of functions: 46 * 47 * PacketAlias*() the old API which doesn't take an instance pointer 48 * and therefore can only have one packet engine at a time. 49 * 50 * LibAlias*() the new API which takes as first argument a pointer to --- 218 unchanged lines hidden --- | 52 * The external interface to libalias, the packet aliasing engine. 53 * 54 * There are two sets of functions: 55 * 56 * PacketAlias*() the old API which doesn't take an instance pointer 57 * and therefore can only have one packet engine at a time. 58 * 59 * LibAlias*() the new API which takes as first argument a pointer to --- 218 unchanged lines hidden --- |