Deleted Added
full compact
alias.h (127094) alias.h (131566)
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 127094 2004-03-16 21:30:41Z des $
28 * $FreeBSD: head/sys/netinet/libalias/alias.h 131566 2004-07-04 12:53:07Z phk $
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.

--- 92 unchanged lines hidden (view full) ---

129void LibAliasSetSkinnyPort(struct libalias *, unsigned int _port);
130unsigned int
131 LibAliasSetMode(struct libalias *, unsigned int _flags, unsigned int _mask);
132void LibAliasUninit(struct libalias *);
133
134/* Packet Handling functions. */
135int LibAliasIn (struct libalias *, char *_ptr, int _maxpacketsize);
136int LibAliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
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.

--- 92 unchanged lines hidden (view full) ---

129void LibAliasSetSkinnyPort(struct libalias *, unsigned int _port);
130unsigned int
131 LibAliasSetMode(struct libalias *, unsigned int _flags, unsigned int _mask);
132void LibAliasUninit(struct libalias *);
133
134/* Packet Handling functions. */
135int LibAliasIn (struct libalias *, char *_ptr, int _maxpacketsize);
136int LibAliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
137int LibAliasOutTry(struct libalias *, char *_ptr, int _maxpacketsize, int _create);
137int LibAliasUnaliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
138
139/* Port and address redirection functions. */
140
141int
142LibAliasAddServer(struct libalias *, struct alias_link *_link,
143 struct in_addr _addr, unsigned short _port);
144struct alias_link *

--- 120 unchanged lines hidden ---
138int LibAliasUnaliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
139
140/* Port and address redirection functions. */
141
142int
143LibAliasAddServer(struct libalias *, struct alias_link *_link,
144 struct in_addr _addr, unsigned short _port);
145struct alias_link *

--- 120 unchanged lines hidden ---