diff options
author | rrs <rrs@FreeBSD.org> | 2008-05-20 13:47:46 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2008-05-20 13:47:46 +0000 |
commit | 8a663465644dd0d19159348afb69bb2462822ed1 (patch) | |
tree | 2eb09e824f0a51e8694f455f2aa95ba0da7b95d8 /sys/netinet/sctp_sysctl.h | |
parent | 2f427637e0af90ccec0c813c87cd3ae5404cedc3 (diff) | |
download | FreeBSD-src-8a663465644dd0d19159348afb69bb2462822ed1.zip FreeBSD-src-8a663465644dd0d19159348afb69bb2462822ed1.tar.gz |
- Adds support for the multi-asconf (From Kozuka-san)
- Adds some prepwork (Not all yet) for vimage in particular
support the delete the sctppcbinfo.xx structs. There is
still a leak in here if it were to be called plus we stil
need the regrouping (From Me and Michael Tuexen)
- Adds support for UDP tunneling. For BSD there is no
socket yet setup so its disabled, but major argument
changes are in here to emcompass the passing of the port
number (zero when you don't have a udp tunnel, the default
for BSD). Will add some hooks in UDP here shortly (discussed
with Robert) that will allow easy tunneling. (Mainly from
Peter Lei and Michael Tuexen with some BSD work from me :-D)
- Some ease for windows, evidently leave is reserved by their
compile move label leave: -> out:
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r-- | sys/netinet/sctp_sysctl.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h index 3b93b68..388ebbc 100644 --- a/sys/netinet/sctp_sysctl.h +++ b/sys/netinet/sctp_sysctl.h @@ -58,6 +58,12 @@ __FBSDID("$FreeBSD$"); #define SCTPCTL_AUTOASCONF_MAX 1 #define SCTPCTL_AUTOASCONF_DEFAULT SCTP_DEFAULT_AUTO_ASCONF +/* autoasconf: Enable SCTP Auto-ASCONF */ +#define SCTPCTL_MULTIPLEASCONFS_DESC "Enable SCTP Muliple-ASCONFs" +#define SCTPCTL_MULTIPLEASCONFS_MIN 0 +#define SCTPCTL_MULTIPLEASCONFS_MAX 1 +#define SCTPCTL_MULTIPLEASCONFS_DEFAULT SCTP_DEFAULT_MULTIPLE_ASCONFS + /* ecn_enable: Enable SCTP ECN */ #define SCTPCTL_ECN_ENABLE_DESC "Enable SCTP ECN" #define SCTPCTL_ECN_ENABLE_MIN 0 @@ -370,6 +376,18 @@ __FBSDID("$FreeBSD$"); #define SCTPCTL_MOBILITY_FASTHANDOFF_MAX 1 #define SCTPCTL_MOBILITY_FASTHANDOFF_DEFAULT SCTP_DEFAULT_MOBILITY_FASTHANDOFF +/* Enable SCTP/UDP tunneling for clients*/ +#define SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_DESC "Enable SCTP/UDP tunneling for client" +#define SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MIN 0 +#define SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MAX 1 +#define SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_DEFAULT SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MIN + +/* Enable SCTP/UDP tunneling port */ +#define SCTPCTL_UDP_TUNNELING_PORT_DESC "Set the SCTP/UDP tunneling port" +#define SCTPCTL_UDP_TUNNELING_PORT_MIN 0 +#define SCTPCTL_UDP_TUNNELING_PORT_MAX 65535 +#define SCTPCTL_UDP_TUNNELING_PORT_DEFAULT SCTP_OVER_UDP_TUNNELING_PORT + #if defined(SCTP_DEBUG) /* debug: Configure debug output */ #define SCTPCTL_DEBUG_DESC "Configure debug output" @@ -388,6 +406,7 @@ __FBSDID("$FreeBSD$"); extern uint32_t sctp_sendspace; extern uint32_t sctp_recvspace; extern uint32_t sctp_auto_asconf; +extern uint32_t sctp_multiple_asconfs; extern uint32_t sctp_ecn_enable; extern uint32_t sctp_ecn_nonce; extern uint32_t sctp_strict_sacks; @@ -449,6 +468,9 @@ extern uint32_t sctp_mobility_fasthandoff; extern struct sctp_log sctp_log; #endif +extern uint32_t sctp_udp_tunneling_for_client_enable; +extern uint32_t sctp_udp_tunneling_port; + #if defined(SCTP_DEBUG) extern uint32_t sctp_debug_on; |