mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCTP] sctp_connectx() API support
Implements sctp_connectx() as defined in the SCTP sockets API draft by tunneling the request through a setsockopt(). Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8b22c249e7
commit
3f7a87d2fa
16 changed files with 677 additions and 260 deletions
|
@ -783,7 +783,8 @@ static const sctp_sm_table_entry_t other_event_table[SCTP_NUM_OTHER_TYPES][SCTP_
|
|||
/* SCTP_STATE_COOKIE_WAIT */ \
|
||||
{.fn = sctp_sf_bug, .name = "sctp_sf_bug"}, \
|
||||
/* SCTP_STATE_COOKIE_ECHOED */ \
|
||||
{.fn = sctp_sf_t1_timer_expire, .name = "sctp_sf_t1_timer_expire"}, \
|
||||
{.fn = sctp_sf_t1_cookie_timer_expire, \
|
||||
.name = "sctp_sf_t1_cookie_timer_expire"}, \
|
||||
/* SCTP_STATE_ESTABLISHED */ \
|
||||
{.fn = sctp_sf_timer_ignore, .name = "sctp_sf_timer_ignore"}, \
|
||||
/* SCTP_STATE_SHUTDOWN_PENDING */ \
|
||||
|
@ -802,7 +803,8 @@ static const sctp_sm_table_entry_t other_event_table[SCTP_NUM_OTHER_TYPES][SCTP_
|
|||
/* SCTP_STATE_CLOSED */ \
|
||||
{.fn = sctp_sf_timer_ignore, .name = "sctp_sf_timer_ignore"}, \
|
||||
/* SCTP_STATE_COOKIE_WAIT */ \
|
||||
{.fn = sctp_sf_t1_timer_expire, .name = "sctp_sf_t1_timer_expire"}, \
|
||||
{.fn = sctp_sf_t1_init_timer_expire, \
|
||||
.name = "sctp_sf_t1_init_timer_expire"}, \
|
||||
/* SCTP_STATE_COOKIE_ECHOED */ \
|
||||
{.fn = sctp_sf_timer_ignore, .name = "sctp_sf_timer_ignore"}, \
|
||||
/* SCTP_STATE_ESTABLISHED */ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue