You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option.
Signed-off-by: Frank Filz <ffilz@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:
committed by
David S. Miller
parent
52ccb8e90c
commit
7708610b1b
@@ -93,6 +93,8 @@ enum sctp_optname {
|
||||
#define SCTP_STATUS SCTP_STATUS
|
||||
SCTP_GET_PEER_ADDR_INFO,
|
||||
#define SCTP_GET_PEER_ADDR_INFO SCTP_GET_PEER_ADDR_INFO
|
||||
SCTP_DELAYED_ACK_TIME,
|
||||
#define SCTP_DELAYED_ACK_TIME SCTP_DELAYED_ACK_TIME
|
||||
|
||||
/* Internal Socket Options. Some of the sctp library functions are
|
||||
* implemented using these socket options.
|
||||
@@ -526,6 +528,18 @@ struct sctp_paddrparams {
|
||||
__u32 spp_flags;
|
||||
} __attribute__((packed, aligned(4)));
|
||||
|
||||
/* 7.1.24. Delayed Ack Timer (SCTP_DELAYED_ACK_TIME)
|
||||
*
|
||||
* This options will get or set the delayed ack timer. The time is set
|
||||
* in milliseconds. If the assoc_id is 0, then this sets or gets the
|
||||
* endpoints default delayed ack timer value. If the assoc_id field is
|
||||
* non-zero, then the set or get effects the specified association.
|
||||
*/
|
||||
struct sctp_assoc_value {
|
||||
sctp_assoc_t assoc_id;
|
||||
uint32_t assoc_value;
|
||||
};
|
||||
|
||||
/*
|
||||
* 7.2.2 Peer Address Information
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user