Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d5804f1b
Commit
d5804f1b
authored
Oct 02, 2002
by
Daisy Chang
Committed by
Jon Grimm
Oct 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more excessive spaces.
parent
6701f01b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
include/linux/sctp.h
include/linux/sctp.h
+8
-8
include/net/sctp/structs.h
include/net/sctp/structs.h
+8
-8
net/sctp/sm_make_chunk.c
net/sctp/sm_make_chunk.c
+3
-3
net/sctp/sm_statefuns.c
net/sctp/sm_statefuns.c
+1
-1
No files found.
include/linux/sctp.h
View file @
d5804f1b
...
...
@@ -155,15 +155,15 @@ typedef struct sctp_paramhdr {
typedef
enum
{
/* RFC 2960 Section 3.3.5 */
SCTP_PARAM_HEARTBEAT_INFO
=
__constant_htons
(
1
),
SCTP_PARAM_HEARTBEAT_INFO
=
__constant_htons
(
1
),
/* RFC 2960 Section 3.3.2.1 */
SCTP_PARAM_IPV4_ADDRESS
=
__constant_htons
(
5
),
SCTP_PARAM_IPV6_ADDRESS
=
__constant_htons
(
6
),
SCTP_PARAM_STATE_COOKIE
=
__constant_htons
(
7
),
SCTP_PARAM_UNRECOGNIZED_PARAMETERS
=
__constant_htons
(
8
),
SCTP_PARAM_COOKIE_PRESERVATIVE
=
__constant_htons
(
9
),
SCTP_PARAM_HOST_NAME_ADDRESS
=
__constant_htons
(
11
),
SCTP_PARAM_SUPPORTED_ADDRESS_TYPES
=
__constant_htons
(
12
),
SCTP_PARAM_IPV4_ADDRESS
=
__constant_htons
(
5
),
SCTP_PARAM_IPV6_ADDRESS
=
__constant_htons
(
6
),
SCTP_PARAM_STATE_COOKIE
=
__constant_htons
(
7
),
SCTP_PARAM_UNRECOGNIZED_PARAMETERS
=
__constant_htons
(
8
),
SCTP_PARAM_COOKIE_PRESERVATIVE
=
__constant_htons
(
9
),
SCTP_PARAM_HOST_NAME_ADDRESS
=
__constant_htons
(
11
),
SCTP_PARAM_SUPPORTED_ADDRESS_TYPES
=
__constant_htons
(
12
),
SCTP_PARAM_ECN_CAPABLE
=
__constant_htons
(
0x8000
),
/* Add-IP Extension. Section 3.2 */
...
...
include/net/sctp/structs.h
View file @
d5804f1b
...
...
@@ -1044,15 +1044,15 @@ sctp_association_t *sctp_endpoint_lookup_assoc(const sctp_endpoint_t *ep,
sctp_endpoint_t
*
sctp_endpoint_is_match
(
sctp_endpoint_t
*
,
const
sockaddr_storage_t
*
);
int
sctp_verify_init
(
const
sctp_association_t
*
asoc
,
sctp_cid_t
cid
,
sctp_init_chunk_t
*
peer_init
,
sctp_chunk_t
*
chunk
,
int
sctp_verify_init
(
const
sctp_association_t
*
asoc
,
sctp_cid_t
cid
,
sctp_init_chunk_t
*
peer_init
,
sctp_chunk_t
*
chunk
,
sctp_chunk_t
**
err_chunk
);
int
sctp_verify_param
(
const
sctp_association_t
*
asoc
,
sctpParam_t
param
,
sctp_cid_t
cid
,
sctp_chunk_t
*
chunk
,
int
sctp_verify_param
(
const
sctp_association_t
*
asoc
,
sctpParam_t
param
,
sctp_cid_t
cid
,
sctp_chunk_t
*
chunk
,
sctp_chunk_t
**
err_chunk
);
int
sctp_process_unk_param
(
const
sctp_association_t
*
asoc
,
sctpParam_t
param
,
...
...
net/sctp/sm_make_chunk.c
View file @
d5804f1b
...
...
@@ -886,7 +886,7 @@ sctp_chunk_t *sctp_make_heartbeat_ack(const sctp_association_t *asoc,
return
retval
;
}
/* Create an Operation Error chunk with the specified space reserved.
/* Create an Operation Error chunk with the specified space reserved.
* This routine can be used for containing multiple causes in the chunk.
*/
sctp_chunk_t
*
sctp_make_op_error_space
(
const
sctp_association_t
*
asoc
,
...
...
@@ -1511,7 +1511,7 @@ int sctp_verify_param(const sctp_association_t *asoc,
* 00 - Stop processing this SCTP chunk and discard it,
* do not process any further chunks within it.
*
* 01 - Stop processing this SCTP chunk and discard it,
* 01 - Stop processing this SCTP chunk and discard it,
* do not process any further chunks within it, and report
* the unrecognized parameter in an 'Unrecognized
* Parameter Type' (in either an ERROR or in the INIT ACK).
...
...
@@ -1549,7 +1549,7 @@ int sctp_process_unk_param(const sctp_association_t *asoc,
if
(
*
err_chk_p
)
sctp_init_cause
(
*
err_chk_p
,
SCTP_ERROR_UNKNOWN_PARAM
,
(
const
void
*
)
param
.
p
,
(
const
void
*
)
param
.
p
,
WORD_ROUND
(
ntohs
(
param
.
p
->
length
)));
break
;
...
...
net/sctp/sm_statefuns.c
View file @
d5804f1b
...
...
@@ -2741,7 +2741,7 @@ sctp_disposition_t sctp_sf_shut_8_4_5(const sctp_endpoint_t *ep,
shut
->
skb
->
sk
=
ep
->
base
.
sk
;
sctp_packet_append_chunk
(
packet
,
shut
);
sctp_add_cmd_sf
(
commands
,
SCTP_CMD_SEND_PKT
,
SCTP_PACKET
(
packet
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment