Commit | Line | Data |
---|---|---|
1fb3cba0 | 1 | /* |
f0e54a99 | 2 | * Null mechanism for udp tunnel (for testing purposes only) |
5124214b | 3 | * |
4 | * mechanisms: null | |
5 | * arguments: none | |
6 | * | |
7 | * key values: none | |
8 | * restrictions: none | |
9 | * encoding: no transformation | |
f0e54a99 | 10 | */ |
11 | /* | |
c07be359 | 12 | * This file is part of ipif, part of userv-utils |
f0e54a99 | 13 | * |
9028e234 IJ |
14 | * Copyright 1996-2013 Ian Jackson <ijackson@chiark.greenend.org.uk> |
15 | * Copyright 1998 David Damerell <damerell@chiark.greenend.org.uk> | |
16 | * Copyright 1999,2003 | |
17 | * Chancellor Masters and Scholars of the University of Cambridge | |
18 | * Copyright 2010 Tony Finch <fanf@dotat.at> | |
19 | * | |
f0e54a99 | 20 | * This is free software; you can redistribute it and/or modify it |
21 | * under the terms of the GNU General Public License as published by | |
9028e234 | 22 | * the Free Software Foundation; either version 3 of the License, or |
f0e54a99 | 23 | * (at your option) any later version. |
24 | * | |
25 | * This program is distributed in the hope that it will be useful, but | |
26 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
28 | * General Public License for more details. | |
29 | * | |
30 | * You should have received a copy of the GNU General Public License | |
9028e234 | 31 | * along with userv-utils; if not, see http://www.gnu.org/licenses/. |
1fb3cba0 | 32 | */ |
33 | ||
f9e59051 | 34 | #include "forwarder.h" |
1fb3cba0 | 35 | |
36 | static void mes_null(struct mechdata **md_r, int *maxprefix_io, int *maxsuffix_io) { } | |
37 | static void mds_null(struct mechdata **md_r) { } | |
38 | static void menc_null(struct mechdata *md, struct buffer *buf) { } | |
39 | static const char *mdec_null(struct mechdata *md, struct buffer *buf) { return 0; } | |
40 | ||
41 | STANDARD_MECHANISMLIST("null",null) |