Deleted Added
full compact
alias_local.h (63899) alias_local.h (67966)
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 63899 2000-07-26 23:15:46Z archie $
17 $FreeBSD: head/sys/netinet/libalias/alias_local.h 67966 2000-10-30 12:39:41Z ru $
18*/
19#ifndef ALIAS_LOCAL_H
20#define ALIAS_LOCAL_H
21
22#ifndef NULL
23#define NULL 0
24#endif
25

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

103
104struct alias_link *
105FindUdpTcpIn (struct in_addr, struct in_addr, u_short, u_short, u_char);
106
107struct alias_link *
108FindUdpTcpOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
109
110struct alias_link *
18*/
19#ifndef ALIAS_LOCAL_H
20#define ALIAS_LOCAL_H
21
22#ifndef NULL
23#define NULL 0
24#endif
25

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

103
104struct alias_link *
105FindUdpTcpIn (struct in_addr, struct in_addr, u_short, u_short, u_char);
106
107struct alias_link *
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);
111AddPptp(struct in_addr, struct in_addr, struct in_addr, u_int16_t);
112
113struct alias_link *
112
113struct alias_link *
114FindPptpOut(struct in_addr, struct in_addr, u_short);
114FindPptpOutByCallId(struct in_addr, struct in_addr, u_int16_t);
115
116struct alias_link *
115
116struct alias_link *
117FindPptpInByCallId(struct in_addr, struct in_addr, u_int16_t);
118
119struct alias_link *
120FindPptpOutByPeerCallId(struct in_addr, struct in_addr, u_int16_t);
121
122struct alias_link *
123FindPptpInByPeerCallId(struct in_addr, struct in_addr, u_int16_t);
124
125struct 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

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

154int GetAckModified(struct alias_link *);
155int GetDeltaAckIn(struct ip *, struct alias_link *);
156int GetDeltaSeqOut(struct ip *, struct alias_link *);
157void AddSeq(struct ip *, struct alias_link *, int);
158void SetExpire(struct alias_link *, int);
159void ClearCheckNewLink(void);
160void SetLastLineCrlfTermed(struct alias_link *, int);
161int GetLastLineCrlfTermed(struct alias_link *);
126QueryUdpTcpIn (struct in_addr, struct in_addr, u_short, u_short, u_char);
127
128struct alias_link *
129QueryUdpTcpOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
130
131struct alias_link *
132FindRtspOut(struct in_addr, struct in_addr, u_short, u_short, u_char);
133

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

163int GetAckModified(struct alias_link *);
164int GetDeltaAckIn(struct ip *, struct alias_link *);
165int GetDeltaSeqOut(struct ip *, struct alias_link *);
166void AddSeq(struct ip *, struct alias_link *, int);
167void SetExpire(struct alias_link *, int);
168void ClearCheckNewLink(void);
169void SetLastLineCrlfTermed(struct alias_link *, int);
170int GetLastLineCrlfTermed(struct alias_link *);
171void SetDestCallId(struct alias_link *, u_int16_t);
162#ifndef NO_FW_PUNCH
163void PunchFWHole(struct alias_link *);
164#endif
165
166
167/* Housekeeping function */
168void HouseKeeping(void);
169

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

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
182/* PPTP routines */
172#ifndef NO_FW_PUNCH
173void PunchFWHole(struct alias_link *);
174#endif
175
176
177/* Housekeeping function */
178void HouseKeeping(void);
179

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

185
186/* IRC routines */
187void AliasHandleIrcOut(struct ip *, struct alias_link *, int);
188
189/* RTSP routines */
190void AliasHandleRtspOut(struct ip *, struct alias_link *, int);
191
192/* 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 *);
193void AliasHandlePptpOut(struct ip *, struct alias_link *);
194void AliasHandlePptpIn(struct ip *, struct alias_link *);
195int AliasHandlePptpGreOut(struct ip *);
196int AliasHandlePptpGreIn(struct ip *);
187
188/* NetBIOS routines */
189int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);
190int AliasHandleUdpNbtNS(struct ip *, struct alias_link *, struct in_addr *, u_short *, struct in_addr *, u_short *);
191
192/* CUSeeMe routines */
193void AliasHandleCUSeeMeOut(struct ip *, struct alias_link *);
194void AliasHandleCUSeeMeIn(struct ip *, struct in_addr);

--- 13 unchanged lines hidden ---
197
198/* NetBIOS routines */
199int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);
200int AliasHandleUdpNbtNS(struct ip *, struct alias_link *, struct in_addr *, u_short *, struct in_addr *, u_short *);
201
202/* CUSeeMe routines */
203void AliasHandleCUSeeMeOut(struct ip *, struct alias_link *);
204void AliasHandleCUSeeMeIn(struct ip *, struct in_addr);

--- 13 unchanged lines hidden ---