netatalk: tunnel.h Source File

netatalk 4.5.0
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);
outputfunc_t
void(* outputfunc_t)(char *buffer, int len)
Definition common.h:21
net
int net(struct interface *iface, char **av)
Definition config.c:565
mask
#define mask
Definition hash.c:52
buffer
char buffer[MAXPATHLEN+2]
Definition netacnv.c:35
tunnel_input
void tunnel_input(void)
Definition tunnel_bsd.c:243
tunnel_output
void tunnel_output(char *buffer, int len)
Definition tunnel_bsd.c:265
tunnel_open
int tunnel_open(uint32_t net, uint32_t mask, outputfunc_t o)
Definition tunnel_bsd.c:94
tunnel_close
void tunnel_close(void)
Definition tunnel_bsd.c:177