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
c969a2a3
Commit
c969a2a3
authored
May 02, 2004
by
Sridhar Samudrala
Committed by
Sridhar Samudrala
May 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Rename SCTP_ADDR_REACHABLE as SCTP_ADDR_AVAILABLE to be
consistent with the SCTP sockets API draft.
parent
e418a672
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
include/net/sctp/constants.h
include/net/sctp/constants.h
+0
-5
include/net/sctp/user.h
include/net/sctp/user.h
+2
-2
net/sctp/associola.c
net/sctp/associola.c
+1
-1
No files found.
include/net/sctp/constants.h
View file @
c969a2a3
...
@@ -231,11 +231,6 @@ const char *sctp_pname(const sctp_subtype_t); /* primitives */
...
@@ -231,11 +231,6 @@ const char *sctp_pname(const sctp_subtype_t); /* primitives */
/* This is a table of printable names of sctp_state_t's. */
/* This is a table of printable names of sctp_state_t's. */
extern
const
char
*
sctp_state_tbl
[],
*
sctp_evttype_tbl
[],
*
sctp_status_tbl
[];
extern
const
char
*
sctp_state_tbl
[],
*
sctp_evttype_tbl
[],
*
sctp_status_tbl
[];
/* SCTP reachability state for each address */
#define SCTP_ADDR_NOHB 4
#define SCTP_ADDR_REACHABLE 2
#define SCTP_ADDR_NOT_REACHABLE 1
/* Maximum chunk length considering padding requirements. */
/* Maximum chunk length considering padding requirements. */
enum
{
SCTP_MAX_CHUNK_LEN
=
((
1
<<
16
)
-
sizeof
(
__u32
))
};
enum
{
SCTP_MAX_CHUNK_LEN
=
((
1
<<
16
)
-
sizeof
(
__u32
))
};
...
...
include/net/sctp/user.h
View file @
c969a2a3
/* SCTP kernel reference Implementation
/* SCTP kernel reference Implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001-2003 International Business Machines, Corp.
* Copyright (c) 2002 Intel Corp.
* Copyright (c) 2002 Intel Corp.
*
*
* This file is part of the SCTP kernel reference Implementation
* This file is part of the SCTP kernel reference Implementation
...
@@ -246,7 +246,7 @@ struct sctp_paddr_change {
...
@@ -246,7 +246,7 @@ struct sctp_paddr_change {
* event that happened to the address. They include:
* event that happened to the address. They include:
*/
*/
enum
sctp_spc_state
{
enum
sctp_spc_state
{
SCTP_ADDR_
REACH
ABLE
,
SCTP_ADDR_
AVAIL
ABLE
,
SCTP_ADDR_UNREACHABLE
,
SCTP_ADDR_UNREACHABLE
,
SCTP_ADDR_REMOVED
,
SCTP_ADDR_REMOVED
,
SCTP_ADDR_ADDED
,
SCTP_ADDR_ADDED
,
...
...
net/sctp/associola.c
View file @
c969a2a3
...
@@ -608,7 +608,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
...
@@ -608,7 +608,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
switch
(
command
)
{
switch
(
command
)
{
case
SCTP_TRANSPORT_UP
:
case
SCTP_TRANSPORT_UP
:
transport
->
active
=
SCTP_ACTIVE
;
transport
->
active
=
SCTP_ACTIVE
;
spc_state
=
SCTP_ADDR_
REACH
ABLE
;
spc_state
=
SCTP_ADDR_
AVAIL
ABLE
;
break
;
break
;
case
SCTP_TRANSPORT_DOWN
:
case
SCTP_TRANSPORT_DOWN
:
...
...
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