Bug 204981
Summary: | Information in udplite(7) and sctp(7) contradicts ip(7) | ||
---|---|---|---|
Product: | Documentation | Reporter: | Martin Doucha (mdoucha) |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | RESOLVED CODE_FIX | ||
Severity: | low | CC: | mtk.manpages |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Martin Doucha
2019-09-24 12:45:50 UTC
Thanks for the report. I confirmed the details. I reworked the relevant paragraphs of the manual page to say: Valid socket types include SOCK_STREAM to open a stream socket, SOCK_DGRAM to open a datagram socket, and SOCK_RAW to open a raw(7) socket to access the IP protocol directly. protocol is the IP protocol in the IP header to be received or sent. Valid values for protocol include: · 0 and IPPROTO_TCP for tcp(7) stream sockets; · 0 and IPPROTO_UDP for udp(7) datagram sockets; · IPPROTO_SCTP for sctp(7) stream sockets; and · IPPROTO_UDPLITE for udplite(7) datagram sockets. Closing this report now. Please reopen if you think something is still lacking. |