diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-09-26 10:27:56 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:42 -0400 |
commit | 0430ee3451f4589b68f522552b1896825f2043b3 (patch) | |
tree | f96e46fa079d90a51a4fc5b912d271470b489668 /include/linux | |
parent | 727ecc5faaf6e976fc841649821c865ebd1e822d (diff) |
[DCCP]: Add Support for Data 1 .. 3 fields of Reset packets
This adds fields to support the informational Data 1..3 fields of the
DCCP-Reset packets (RFC 4340, 5.6), and makes minor cosmetic changes
to documentation.
Code which fills in these fields follows in subsequent patches, it is
primarily used for reporting option-processing and feature-negotiation
errors.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/dccp.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index a0441190dc71..20e0717aa8e1 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -56,10 +56,9 @@ struct dccp_hdr_ext { | |||
56 | }; | 56 | }; |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * struct dccp_hdr_request - Conection initiation request header | 59 | * struct dccp_hdr_request - Connection initiation request header |
60 | * | 60 | * |
61 | * @dccph_req_service - Service to which the client app wants to connect | 61 | * @dccph_req_service - Service to which the client app wants to connect |
62 | * @dccph_req_options - list of options (must be a multiple of 32 bits | ||
63 | */ | 62 | */ |
64 | struct dccp_hdr_request { | 63 | struct dccp_hdr_request { |
65 | __be32 dccph_req_service; | 64 | __be32 dccph_req_service; |
@@ -76,12 +75,10 @@ struct dccp_hdr_ack_bits { | |||
76 | __be32 dccph_ack_nr_low; | 75 | __be32 dccph_ack_nr_low; |
77 | }; | 76 | }; |
78 | /** | 77 | /** |
79 | * struct dccp_hdr_response - Conection initiation response header | 78 | * struct dccp_hdr_response - Connection initiation response header |
80 | * | 79 | * |
81 | * @dccph_resp_ack_nr_high - 48 bit ack number high order bits, contains GSR | 80 | * @dccph_resp_ack - 48 bit Acknowledgment Number Subheader (5.3) |
82 | * @dccph_resp_ack_nr_low - 48 bit ack number low order bits, contains GSR | ||
83 | * @dccph_resp_service - Echoes the Service Code on a received DCCP-Request | 81 | * @dccph_resp_service - Echoes the Service Code on a received DCCP-Request |
84 | * @dccph_resp_options - list of options (must be a multiple of 32 bits | ||
85 | */ | 82 | */ |
86 | struct dccp_hdr_response { | 83 | struct dccp_hdr_response { |
87 | struct dccp_hdr_ack_bits dccph_resp_ack; | 84 | struct dccp_hdr_ack_bits dccph_resp_ack; |
@@ -91,8 +88,9 @@ struct dccp_hdr_response { | |||
91 | /** | 88 | /** |
92 | * struct dccp_hdr_reset - Unconditionally shut down a connection | 89 | * struct dccp_hdr_reset - Unconditionally shut down a connection |
93 | * | 90 | * |
94 | * @dccph_reset_service - Echoes the Service Code on a received DCCP-Request | 91 | * @dccph_reset_ack - 48 bit Acknowledgment Number Subheader (5.6) |
95 | * @dccph_reset_options - list of options (must be a multiple of 32 bits | 92 | * @dccph_reset_code - one of %dccp_reset_codes |
93 | * @dccph_reset_data - the Data 1 ... Data 3 fields from 5.6 | ||
96 | */ | 94 | */ |
97 | struct dccp_hdr_reset { | 95 | struct dccp_hdr_reset { |
98 | struct dccp_hdr_ack_bits dccph_reset_ack; | 96 | struct dccp_hdr_ack_bits dccph_reset_ack; |