Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/sm_statefuns.c sctp_sf_do_5_1D_ce() -> sctp_unpack_cookie()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->base.sk 4096-ptr_max
PARAM_VALUE 0 ep->base.sk->__sk_common.skc_state 10
PARAM_VALUE 1 asoc 0,4096-ptr_max
PARAM_VALUE 1 asoc->outqueue.asoc->stream.out_curr->state 0-1
PARAM_VALUE 1 asoc->outqueue.asoc->stream.si->generate_ftsn 4096-ptr_max
PARAM_VALUE 2 chunk 4096-ptr_max
PARAM_VALUE 2 chunk->chunk_hdr 4096-ptr_max
PARAM_VALUE 2 chunk->chunk_hdr->length 4-u16max
PARAM_VALUE 2 chunk->pdiscard 0
PARAM_VALUE 2 chunk->sctp_hdr 4096-ptr_max
PARAM_VALUE 2 chunk->skb 4096-ptr_max
PARAM_VALUE 2 chunk->skb->data 4096-ptr_max
PARAM_VALUE 3 gfp 2080
PARAM_VALUE 4 error 7128105498746310656
PARAM_VALUE 4 *error 0
PARAM_VALUE 5 errp 8000434510313447424
PARAM_VALUE 5 *errp 0
BUF_SIZE 2 chunk (-1),40
BUF_SIZE 2 chunk (-1),40
BUF_SIZE 2 chunk->subh.cookie_hdr 1-s32max
DATA_SOURCE 0 ep $1
DATA_SOURCE 1 asoc $2
DATA_SOURCE 2 chunk $4
NOSPEC 1 asoc->c.raw_addr_list_len
NOSPEC 1 asoc->peer.port
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 asoc->addip_serial 0-u32max[u]
USER_DATA 1 asoc->c.adaptation_ind 0-u32max[u]
USER_DATA 1 asoc->c.expiration s64min-s64max
USER_DATA 1 asoc->c.initial_tsn 0-u32max[u]
USER_DATA 1 asoc->c.my_ttag 0-u32max
USER_DATA 1 asoc->c.padding 0-255[u]
USER_DATA 1 asoc->c.peer_addr.sa.sa_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v4.sin_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_port 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_scope_id 0-u32max[u]
USER_DATA 1 asoc->c.peer_ttag 0-u32max
USER_DATA 1 asoc->c.peer_vtag 0-u32max
USER_DATA 1 asoc->c.prsctp_capable 0-255[u]
USER_DATA 1 asoc->c.raw_addr_list_len 0-65331[c][u]
USER_DATA 1 asoc->c.sinit_max_instreams 0-u16max[u]
USER_DATA 1 asoc->c.sinit_num_ostreams 0-u16max[u]
USER_DATA 1 asoc->force_delay 0-1
USER_DATA 1 asoc->next_tsn 0-u32max[u]
USER_DATA 1 asoc->peer.adaptation_ind 0-u32max
USER_DATA 1 asoc->peer.port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.sa.sa_family 2,10[c]
USER_DATA 1 asoc->peer.primary_addr.v4.sin_addr.s_addr 0-u32max
USER_DATA 1 asoc->peer.primary_addr.v4.sin_family 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v4.sin_port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_family 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_flowinfo 0-u32max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_scope_id 0-u32max
USER_DATA 1 asoc->peer.prsctp_capable 0-1[u]
USER_DATA 1 asoc->peer.retran_path->ipaddr.v4.sin_port 0-u16max
USER_DATA 1 asoc->peer.retran_path->ipaddr.v6.sin6_port 0-u16max
USER_DATA 1 asoc->peer.tsn_map.base_tsn 0
USER_DATA 1 asoc->strreset_outseq 0-u32max[u]
USER_DATA 2 chunk->subh.cookie_hdr->__pad 0-u32max[u]
USER_PTR 2 chunk->subh.cookie_hdr
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/sctp/sm_statefuns.c sctp_sf_do_5_2_4_dupcook() -> sctp_unpack_cookie()

Type Parameter Key Value
PARAM_VALUE 1 asoc 0,4096-ptr_max
PARAM_VALUE 1 asoc->outqueue.asoc->stream.out_curr->state 0-1
PARAM_VALUE 1 asoc->outqueue.asoc->stream.si->generate_ftsn 4096-ptr_max
PARAM_VALUE 2 chunk 4096-ptr_max
PARAM_VALUE 2 chunk->chunk_hdr 4096-ptr_max
PARAM_VALUE 2 chunk->chunk_hdr->length 4-u16max
PARAM_VALUE 2 chunk->pdiscard 0
PARAM_VALUE 2 chunk->skb 4096-ptr_max
PARAM_VALUE 2 chunk->skb->data 4096-ptr_max
PARAM_VALUE 3 gfp 2080
PARAM_VALUE 4 error 3790737230887829504
PARAM_VALUE 4 *error 0
PARAM_VALUE 5 errp 3104281560732995584
PARAM_VALUE 5 *errp 0
BUF_SIZE 2 chunk (-1),40
BUF_SIZE 2 chunk (-1),40
BUF_SIZE 2 chunk->subh.cookie_hdr 1-s32max
DATA_SOURCE 0 ep $1
DATA_SOURCE 1 asoc $2
DATA_SOURCE 2 chunk $4
NOSPEC 1 asoc->c.raw_addr_list_len
NOSPEC 1 asoc->peer.port
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 asoc->addip_serial 0-u32max[u]
USER_DATA 1 asoc->c.adaptation_ind 0-u32max[u]
USER_DATA 1 asoc->c.expiration s64min-s64max
USER_DATA 1 asoc->c.initial_tsn 0-u32max[u]
USER_DATA 1 asoc->c.my_ttag 0-u32max
USER_DATA 1 asoc->c.padding 0-255[u]
USER_DATA 1 asoc->c.peer_addr.sa.sa_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v4.sin_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_family 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_port 0-u16max[u]
USER_DATA 1 asoc->c.peer_addr.v6.sin6_scope_id 0-u32max[u]
USER_DATA 1 asoc->c.peer_ttag 0-u32max
USER_DATA 1 asoc->c.peer_vtag 0-u32max
USER_DATA 1 asoc->c.prsctp_capable 0-255[u]
USER_DATA 1 asoc->c.raw_addr_list_len 0-65331[c][u]
USER_DATA 1 asoc->c.sinit_max_instreams 0-u16max[u]
USER_DATA 1 asoc->c.sinit_num_ostreams 0-u16max[u]
USER_DATA 1 asoc->force_delay 0-1
USER_DATA 1 asoc->next_tsn 0-u32max[u]
USER_DATA 1 asoc->peer.adaptation_ind 0-u32max
USER_DATA 1 asoc->peer.port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.sa.sa_family 2,10[c]
USER_DATA 1 asoc->peer.primary_addr.v4.sin_addr.s_addr 0-u32max
USER_DATA 1 asoc->peer.primary_addr.v4.sin_family 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v4.sin_port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_family 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_flowinfo 0-u32max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_port 0-u16max
USER_DATA 1 asoc->peer.primary_addr.v6.sin6_scope_id 0-u32max
USER_DATA 1 asoc->peer.prsctp_capable 0-1[u]
USER_DATA 1 asoc->peer.retran_path->ipaddr.v4.sin_port 0-u16max
USER_DATA 1 asoc->peer.retran_path->ipaddr.v6.sin6_port 0-u16max
USER_DATA 1 asoc->peer.tsn_map.base_tsn 0
USER_DATA 1 asoc->strreset_outseq 0-u32max[u]
USER_DATA 2 chunk->subh.cookie_hdr->__pad 0-u32max[u]
USER_PTR 2 chunk->subh.cookie_hdr
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk