Deleted Added
full compact
alias_local.h (61861) alias_local.h (63899)
1/* -*- mode: c; tab-width: 3; c-basic-offset: 3; -*-
2 Alias_local.h contains the function prototypes for alias.c,
3 alias_db.c, alias_util.c and alias_ftp.c, alias_irc.c (as well
4 as any future add-ons). It also includes macros, globals and
5 struct definitions shared by more than one alias*.c file.
6
7 This include file is intended to be used only within the aliasing
8 software. Outside world interfaces are defined in alias.h
9
10 This software is placed into the public domain with no restrictions
11 on its distribution.
12
13 Initial version: August, 1996 (cjm)
14
15 <updated several times by original author and Eivind Eklund>
16
1/* -*- mode: c; tab-width: 3; c-basic-offset: 3; -*-
2 Alias_local.h contains the function prototypes for alias.c,
3 alias_db.c, alias_util.c and alias_ftp.c, alias_irc.c (as well
4 as any future add-ons). It also includes macros, globals and
5 struct definitions shared by more than one alias*.c file.
6
7 This include file is intended to be used only within the aliasing
8 software. Outside world interfaces are defined in alias.h
9
10 This software is placed into the public domain with no restrictions
11 on its distribution.
12
13 Initial version: August, 1996 (cjm)
14
15 <updated several times by original author and Eivind Eklund>
16
17 $FreeBSD: head/sys/netinet/libalias/alias_local.h 61861 2000-06-20 11:41:48Z ru $
17 $FreeBSD: head/sys/netinet/libalias/alias_local.h 63899 2000-07-26 23:15:46Z archie $
18*/
19#ifndef ALIAS_LOCAL_H
20#define ALIAS_LOCAL_H
21
22#ifndef NULL
23#define NULL 0
24#endif
25

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

108FindUdpTcpOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
109
110struct alias_link *
111FindPptpIn(struct in_addr, struct in_addr, u_short);
112
113struct alias_link *
114FindPptpOut(struct in_addr, struct in_addr, u_short);
115
18*/
19#ifndef ALIAS_LOCAL_H
20#define ALIAS_LOCAL_H
21
22#ifndef NULL
23#define NULL 0
24#endif
25

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

108FindUdpTcpOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
109
110struct alias_link *
111FindPptpIn(struct in_addr, struct in_addr, u_short);
112
113struct alias_link *
114FindPptpOut(struct in_addr, struct in_addr, u_short);
115
116struct alias_link *
117QueryUdpTcpIn (struct in_addr, struct in_addr, u_short, u_short, u_char);
118
119struct alias_link *
120QueryUdpTcpOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
121
122struct alias_link *
123FindRtspOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
124
116struct in_addr
117FindOriginalAddress(struct in_addr);
118
119struct in_addr
120FindAliasAddress(struct in_addr);
121
122/* External data access/modification */
125struct in_addr
126FindOriginalAddress(struct in_addr);
127
128struct in_addr
129FindAliasAddress(struct in_addr);
130
131/* External data access/modification */
132int FindNewPortGroup(struct in_addr, struct in_addr,
133 u_short, u_short, u_short, u_char, u_char);
123void GetFragmentAddr(struct alias_link *, struct in_addr *);
124void SetFragmentAddr(struct alias_link *, struct in_addr);
125void GetFragmentPtr(struct alias_link *, char **);
126void SetFragmentPtr(struct alias_link *, char *);
127void SetStateIn(struct alias_link *, int);
128void SetStateOut(struct alias_link *, int);
129int GetStateIn(struct alias_link *);
130int GetStateOut(struct alias_link *);

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

160/*lint -save -library Suppress flexelint warnings */
161
162/* FTP routines */
163void AliasHandleFtpOut(struct ip *, struct alias_link *, int);
164
165/* IRC routines */
166void AliasHandleIrcOut(struct ip *, struct alias_link *, int);
167
134void GetFragmentAddr(struct alias_link *, struct in_addr *);
135void SetFragmentAddr(struct alias_link *, struct in_addr);
136void GetFragmentPtr(struct alias_link *, char **);
137void SetFragmentPtr(struct alias_link *, char *);
138void SetStateIn(struct alias_link *, int);
139void SetStateOut(struct alias_link *, int);
140int GetStateIn(struct alias_link *);
141int GetStateOut(struct alias_link *);

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

171/*lint -save -library Suppress flexelint warnings */
172
173/* FTP routines */
174void AliasHandleFtpOut(struct ip *, struct alias_link *, int);
175
176/* IRC routines */
177void AliasHandleIrcOut(struct ip *, struct alias_link *, int);
178
179/* RTSP routines */
180void AliasHandleRtspOut(struct ip *, struct alias_link *, int);
181
168/* PPTP routines */
169int PptpGetCallID(struct ip *, u_short *);
170void PptpSetCallID(struct ip *, u_short);
171void AliasHandlePptpOut(struct ip *, struct alias_link *);
172void AliasHandlePptpIn(struct ip *, struct alias_link *);
173
174/* NetBIOS routines */
175int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);

--- 18 unchanged lines hidden ---
182/* PPTP routines */
183int PptpGetCallID(struct ip *, u_short *);
184void PptpSetCallID(struct ip *, u_short);
185void AliasHandlePptpOut(struct ip *, struct alias_link *);
186void AliasHandlePptpIn(struct ip *, struct alias_link *);
187
188/* NetBIOS routines */
189int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);

--- 18 unchanged lines hidden ---