Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/socket.c sctp_setsockopt_auth_key() -> sctp_auth_set_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 4096-ptr_max
PARAM_VALUE 2 auth_key 4096-ptr_max
BUF_SIZE 2 auth_key (-1)-135168
BUF_SIZE 2 auth_key (-1)-135168
CAPPED_DATA 2 auth_key->sca_keylength 1
DATA_SOURCE 1 asoc r sctp_id2assoc
DATA_SOURCE 2 auth_key $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 auth_key->sca_assoc_id s32min-s32max[u]
USER_DATA 2 auth_key->sca_keylength 0-u16max[u]
USER_DATA 2 auth_key->sca_keynumber 0-u16max[u]
USER_PTR 2 auth_key
LOCK2 sk

net/sctp/socket.c sctp_setsockopt_auth_key() -> sctp_auth_set_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 0
PARAM_VALUE 2 auth_key 4096-ptr_max
PARAM_VALUE 2 auth_key->sca_assoc_id 0,2
BUF_SIZE 2 auth_key (-1)-135168
BUF_SIZE 2 auth_key (-1)-135168
CAPPED_DATA 2 auth_key->sca_keylength 1
DATA_SOURCE 1 asoc r sctp_id2assoc
DATA_SOURCE 2 auth_key $1
BIT_INFO 2 auth_key->sca_assoc_id 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 auth_key->sca_assoc_id 0[u]
USER_DATA 2 auth_key->sca_keylength 0-u16max[u]
USER_DATA 2 auth_key->sca_keynumber 0-u16max[u]
USER_PTR 2 auth_key
LOCK2 sk

net/sctp/socket.c sctp_setsockopt_auth_key() -> sctp_auth_set_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 4096-ptr_max
PARAM_VALUE 1 asoc->shkey->deactivated 0
PARAM_VALUE 1 asoc->shkey->key 0,4096-ptr_max
PARAM_VALUE 2 auth_key 4096-ptr_max
PARAM_VALUE 2 auth_key->sca_assoc_id 1-2
BUF_SIZE 2 auth_key (-1)-135168
BUF_SIZE 2 auth_key (-1)-135168
CAPPED_DATA 0 &ep->asocs 1
CAPPED_DATA 1 &asoc->asocs 1
CAPPED_DATA 2 auth_key->sca_keylength 1
DATA_SOURCE 2 auth_key $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 auth_key->sca_keylength 0-u16max[c]
USER_DATA 2 auth_key->sca_keynumber 0-u16max
USER_PTR 2 auth_key
LOCK2 sk