Skip to content

Conversation

he32
Copy link

@he32 he32 commented Dec 12, 2020

Without this, we saw this on NetBSD (routinator uses net2):

13038 19 routinator CALL setsockopt(0x15,0xffff,8,0x7d60bd3d62b4,4)
13038 19 routinator RET setsockopt 0
13038 19 routinator CALL setsockopt(0x15,6,8,0x7d60bd3d62b4,4)
13038 19 routinator RET setsockopt -1 errno 42 Protocol option not available

The '8' in the above corresponds to the "ifdef notyet" definition
of TCP_NOOPT, reserved for (future/possible) FreeBSD compat, and
results in the ENOPROTOOPT error return shown above.

Without this, we saw this on NetBSD (routinator uses net2):

 13038     19 routinator CALL  setsockopt(0x15,0xffff,8,0x7d60bd3d62b4,4)
 13038     19 routinator RET   setsockopt 0
 13038     19 routinator CALL  setsockopt(0x15,6,8,0x7d60bd3d62b4,4)
 13038     19 routinator RET   setsockopt -1 errno 42 Protocol option not available

The '8' in the above corresponds to the "ifdef notyet" definition
of TCP_NOOPT, reserved for (future/possible) FreeBSD compat, and
results in the ENOPROTOOPT error return shown above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant