Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2011 12:57:17 +0200
From:      =?iso-8859-1?Q?Michael_T=FCxen?= <Michael.Tuexen@lurchi.franken.de>
To:        jyl <yilinjing@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: when enable options  SCTP_DEBUG in kernel configure file , where to get the message of debug?
Message-ID:  <CF423272-71F0-4EC6-9246-271789E22C1C@lurchi.franken.de>
In-Reply-To: <1317376089705-4856441.post@n5.nabble.com>
References:  <1317376089705-4856441.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 30, 2011, at 11:48 AM, jyl wrote:

> My Os is FreeBSD 9.0 Beta2.
> In kernel configure file,  I enable the option of SCTP_DEBUG and =
rebuild the
> kernel. Then I use sctp to send or recv data from another computer =
,after
> that I check the result from var/log/message or var/log/dmesg , both =
of the
> two files show any message about sctp debug.
>=20
> can anyone help me, why it does not work?
There is a sysctl variable net.inet.sctp.debug which is a 32-bit bitmask
to enable/disable the debug output. To enable all debug output you need =
to do
sudo sysctl -w net.inet.sctp.debug=3D0xffffffff

Best regards
Michael
>=20
> Regards.=20
>=20
> --
> View this message in context: =
http://freebsd.1045724.n5.nabble.com/when-enable-options-SCTP-DEBUG-in-ker=
nel-configure-file-where-to-get-the-message-of-debug-tp4856441p4856441.htm=
l
> Sent from the freebsd-net mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF423272-71F0-4EC6-9246-271789E22C1C>