summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd/hostapd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-12-10 13:42:38 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-12-10 13:42:38 +0000
commitd2657625a3a81a42d4b0b47ff6116903fb592f6a (patch)
tree4edc2c560b0da68f988e062650a60542ef4b8707 /usr.sbin/hostapd/hostapd.h
parentd613ddd414759c91b1359a5fa13f1655c882f8e8 (diff)
add an option to increase the multicast ttl which is currently limited
to 1 hop. by using a higher multicast ttl, you could use inter-network multicast forwarding of hostapd messages (i.e. with mrouted(8) or multicast-capable routing switches); "set iapp mode multicast ttl 2".
Diffstat (limited to 'usr.sbin/hostapd/hostapd.h')
-rw-r--r--usr.sbin/hostapd/hostapd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/hostapd/hostapd.h b/usr.sbin/hostapd/hostapd.h
index 89191156a4f..50044830924 100644
--- a/usr.sbin/hostapd/hostapd.h
+++ b/usr.sbin/hostapd/hostapd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostapd.h,v 1.14 2005/12/01 02:03:58 reyk Exp $ */
+/* $OpenBSD: hostapd.h,v 1.15 2005/12/10 13:42:37 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -263,6 +263,7 @@ struct hostapd_iapp {
struct sockaddr_in i_addr;
struct sockaddr_in i_broadcast;
struct sockaddr_in i_multicast;
+ u_int8_t i_ttl;
u_int8_t i_flags;
#define HOSTAPD_IAPP_F_ADD_NOTIFY 0x01