diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-10-04 17:40:22 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:32 -0400 |
commit | 126acd5bf769fcb80e38a5360ad12b842d6d29d4 (patch) | |
tree | c57698ec1cab7a744dcfdde5b4c8ef2edd3f433a /Documentation | |
parent | 042d18f9f39a51716683b4e156fbee689314bb22 (diff) |
[DCCP]: Update API documentation
This adds documentation on the use of service codes on client and
server.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/dccp.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/networking/dccp.txt b/Documentation/networking/dccp.txt index f9157180f7d8..fc8b4fa0b141 100644 --- a/Documentation/networking/dccp.txt +++ b/Documentation/networking/dccp.txt | |||
@@ -38,8 +38,10 @@ Socket options | |||
38 | DCCP_SOCKOPT_SERVICE sets the service. The specification mandates use of | 38 | DCCP_SOCKOPT_SERVICE sets the service. The specification mandates use of |
39 | service codes (RFC 4340, sec. 8.1.2); if this socket option is not set, | 39 | service codes (RFC 4340, sec. 8.1.2); if this socket option is not set, |
40 | the socket will fall back to 0 (which means that no meaningful service code | 40 | the socket will fall back to 0 (which means that no meaningful service code |
41 | is present). Connecting sockets set at most one service option; for | 41 | is present). On active sockets this is set before connect(); specifying more |
42 | listening sockets, multiple service codes can be specified. | 42 | than one code has no effect (all subsequent service codes are ignored). The |
43 | case is different for passive sockets, where multiple service codes (up to 32) | ||
44 | can be set before calling bind(). | ||
43 | 45 | ||
44 | DCCP_SOCKOPT_GET_CUR_MPS is read-only and retrieves the current maximum packet | 46 | DCCP_SOCKOPT_GET_CUR_MPS is read-only and retrieves the current maximum packet |
45 | size (application payload size) in bytes, see RFC 4340, section 14. | 47 | size (application payload size) in bytes, see RFC 4340, section 14. |
@@ -124,5 +126,5 @@ Notes | |||
124 | ===== | 126 | ===== |
125 | 127 | ||
126 | DCCP does not travel through NAT successfully at present on many boxes. This is | 128 | DCCP does not travel through NAT successfully at present on many boxes. This is |
127 | because the checksum covers the psuedo-header as per TCP and UDP. Linux NAT | 129 | because the checksum covers the pseudo-header as per TCP and UDP. Linux NAT |
128 | support for DCCP has been added. | 130 | support for DCCP has been added. |