diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-06-22 16:30:52 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-06-22 16:30:52 +0000 |
commit | 39c4d6744939217a706f4234967e8eb6f65199d5 (patch) | |
tree | 8d0dd78889df97f8313c31d1d1c5e498a93f2b1d /sys/netinet/sctp_constants.h | |
parent | bfa185cf87a08086dbf1c5a1511f85f3c71ffba7 (diff) | |
download | FreeBSD-src-39c4d6744939217a706f4234967e8eb6f65199d5.zip FreeBSD-src-39c4d6744939217a706f4234967e8eb6f65199d5.tar.gz |
MFC r263921:
Use SCTP_OVER_UDP_TUNNELING_PORT more consistently.
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r-- | sys/netinet/sctp_constants.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h index bb01eec..0ede04c 100644 --- a/sys/netinet/sctp_constants.h +++ b/sys/netinet/sctp_constants.h @@ -36,16 +36,10 @@ __FBSDID("$FreeBSD$"); #ifndef _NETINET_SCTP_CONSTANTS_H_ #define _NETINET_SCTP_CONSTANTS_H_ + /* IANA assigned port number for SCTP over UDP encapsulation */ -/* For freebsd we cannot bind the port at - * startup. Otherwise what will happen is - * we really won't be bound. The user must - * put it into the sysctl... or we need - * to build a special timer for this to allow - * us to wait 1 second or so after the system - * comes up. - */ -#define SCTP_OVER_UDP_TUNNELING_PORT 0 +#define SCTP_OVER_UDP_TUNNELING_PORT 9899 + /* Number of packets to get before sack sent by default */ #define SCTP_DEFAULT_SACK_FREQ 2 |