Lines Matching refs:libalias

28  * $FreeBSD: src/sys/netinet/libalias/alias.h,v 1.34.8.1 2009/04/15 03:14:26 kensmith Exp $
53 * The kernel version of libalias does not support these features.
60 * The external interface to libalias, the packet aliasing engine.
78 struct libalias;
81 struct libalias {
82 LIST_ENTRY(libalias) instancelist;
150 struct libalias *LibAliasInit(struct libalias *);
152 struct libalias *LibAliasInit(PNATState, struct libalias *);
154 void LibAliasSetAddress(struct libalias *, struct in_addr _addr);
155 void LibAliasSetFWBase(struct libalias *, unsigned int _base, unsigned int _num);
156 void LibAliasSetSkinnyPort(struct libalias *, unsigned int _port);
158 LibAliasSetMode(struct libalias *, unsigned int _flags, unsigned int _mask);
159 void LibAliasUninit(struct libalias *);
162 int LibAliasIn (struct libalias *, char *_ptr, int _maxpacketsize);
163 int LibAliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
164 int LibAliasOutTry(struct libalias *, char *_ptr, int _maxpacketsize, int _create);
165 int LibAliasUnaliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
170 LibAliasAddServer(struct libalias *, struct alias_link *_lnk,
173 LibAliasRedirectAddr(struct libalias *, struct in_addr _src_addr,
175 int LibAliasRedirectDynamic(struct libalias *, struct alias_link *_lnk);
176 void LibAliasRedirectDelete(struct libalias *, struct alias_link *_lnk);
178 LibAliasRedirectPort(struct libalias *, struct in_addr _src_addr,
183 LibAliasRedirectProto(struct libalias *, struct in_addr _src_addr,
188 void LibAliasFragmentIn(struct libalias *, char *_ptr, char *_ptr_fragment);
189 char *LibAliasGetFragment(struct libalias *, char *_ptr);
190 int LibAliasSaveFragment(struct libalias *, char *_ptr);
193 int LibAliasCheckNewLink(struct libalias *);
195 LibAliasInternetChecksum(struct libalias *, unsigned short *_ptr, int _nbytes);
196 void LibAliasSetTarget(struct libalias *, struct in_addr _target_addr);
199 int LibAliasProxyRule(struct libalias *, const char *_cmd);