Skip to content
Snippets Groups Projects
Commit c0ac5541 authored by Julian Cordes's avatar Julian Cordes
Browse files

added ifdef for freebsd

parent 2690da2e
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,13 @@ ...@@ -3,7 +3,13 @@
+0.0 listen(3, 1) = 0 +0.0 listen(3, 1) = 0
+0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=0, +0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=0,
FORWARD_TSN_SUPPORTED[]] FORWARD_TSN_SUPPORTED[]]
#ifdef Linux
+0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, STATE_COOKIE[len=..., val=...], FORWARD_TSN_SUPPORTED[]] +0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, STATE_COOKIE[len=..., val=...], FORWARD_TSN_SUPPORTED[]]
#endif
#ifdef FreeBSD
// TODO: FreeBSD sends many more optional parameters... check only for FORWARD_TSN_SUPPORTED and accept all others
+0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, ...]
#endif
+0.1 < sctp: COOKIE_ECHO[flgs=0, len=..., val=...] +0.1 < sctp: COOKIE_ECHO[flgs=0, len=..., val=...]
+0.0 > sctp: COOKIE_ACK[flgs=0] +0.0 > sctp: COOKIE_ACK[flgs=0]
+0.0 accept(3, ..., ...) = 4 +0.0 accept(3, ..., ...) = 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment