netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
tunnel.h
Go to the documentation of this file.
1/*
2 *
3 * (c) 1997 Stefan Bethke. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#include <stdint.h>
21
22extern int tunnel_open(uint32_t net, uint32_t mask, outputfunc_t o);
23extern void tunnel_close(void);
24extern void tunnel_input(void);
25extern void tunnel_output(char *buffer, int len);
void(* outputfunc_t)(char *buffer, int len)
Definition common.h:21
int net(struct interface *iface, char **av)
Definition config.c:565
#define mask
Definition hash.c:51
char buffer[MAXPATHLEN+2]
Definition netacnv.c:35
void tunnel_input(void)
void tunnel_output(char *buffer, int len)
int tunnel_open(uint32_t net, uint32_t mask, outputfunc_t o)
void tunnel_close(void)