All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@open-mesh.net
Subject: [B.A.T.M.A.N.] [PATCH] Add bsd-stubs for nat functionality
Date: Fri,  6 Feb 2009 19:00:26 +0100	[thread overview]
Message-ID: <1233943226-24592-2-git-send-email-sven.eckelmann@gmx.de> (raw)
In-Reply-To: <200901140236.58441.sven.eckelmann@gmx.de>

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman/bsd/tun.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/batman/bsd/tun.c b/batman/bsd/tun.c
index b44dac3..3e75c4c 100644
--- a/batman/bsd/tun.c
+++ b/batman/bsd/tun.c
@@ -89,6 +89,20 @@ static int open_tun_any(char *dev_name, size_t dev_name_size)
 }
 #endif
 
+/* Probe for iptables binary availability */
+int probe_nat_tool(void) {
+	fprintf(stderr, "probe_nat_tool: not implemented\n");
+	return -1;
+}
+
+void add_nat_rule(char *BATMANUNUSED(dev)) {
+	fprintf(stderr, "add_nat_rule: not implemented\n");
+}
+
+void del_nat_rule(char *BATMANUNUSED(dev)) {
+	fprintf(stderr, "del_nat_rule: not implemented\n");
+}
+
 /* Probe for tun interface availability */
 int8_t probe_tun(uint8_t BATMANUNUSED(print_to_stderr))
 {
-- 
1.6.0.6


  parent reply	other threads:[~2009-02-06 18:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 10:52 [B.A.T.M.A.N.] [PATCH] Compile vis under FreeBSD and OSX Antoine van Gelder
2009-01-13 18:46 ` [B.A.T.M.A.N.] " Sven Eckelmann
2009-01-13 21:29   ` Antoine van Gelder
2009-01-14  0:45     ` Sven Eckelmann
2009-01-14  0:59       ` [B.A.T.M.A.N.] [PATCH] Sync definitions in bsd/* with definitions in os.h Sven Eckelmann
2009-01-14  1:36       ` [B.A.T.M.A.N.] Compile vis under FreeBSD and OSX Sven Eckelmann
2009-02-06 18:00         ` [B.A.T.M.A.N.] [PATCH] Introduce get_tunneled_(protocol|udpdest) for better portability Sven Eckelmann
2009-02-06 18:00         ` Sven Eckelmann [this message]
2009-01-14 10:56       ` [B.A.T.M.A.N.] Compile vis under FreeBSD and OSX Sven Eckelmann
2009-01-14 14:55         ` Antoine van Gelder
2009-01-14 10:58       ` [B.A.T.M.A.N.] [PATCH] Suppress warning about unused parameter in bsd/*.c Sven Eckelmann
2009-01-18 20:17       ` [B.A.T.M.A.N.] Compile batmand under FreeBSD and OSX (Was: Compile vis) Antoine van Gelder
2009-01-13 18:46 ` [B.A.T.M.A.N.] [PATCH] Fix compilation on freebsd Sven Eckelmann
2009-01-13 19:00   ` Outback Dingo
2009-01-13 20:45 ` [B.A.T.M.A.N.] [PATCH] Compile vis under FreeBSD and OSX Simon Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1233943226-24592-2-git-send-email-sven.eckelmann@gmx.de \
    --to=sven.eckelmann@gmx.de \
    --cc=b.a.t.m.a.n@open-mesh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.