Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/socket.c __sctp_connect() -> sctp_connect_add_peer()

Type Parameter Key Value
PARAM_VALUE 0 asoc 4096-ptr_max
PARAM_VALUE 0 asoc->base.dead 1
PARAM_VALUE 1 daddr 4096-ptr_max
PARAM_VALUE 1 daddr->sa.sa_family 2,10
CAPPED_DATA 0 asoc->peer.port 1
CAPPED_DATA 1 daddr->v4.sin_port 1
PARAM_COMPARE 0 asoc->peer.port == $1->v4.sin_port
NOSPEC 0 asoc->c.raw_addr_list_len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 asoc->addip_serial 0-u32max[u]
USER_DATA 0 asoc->c.adaptation_ind 0-u32max[u]
USER_DATA 0 asoc->c.expiration s64min-s64max
USER_DATA 0 asoc->c.initial_tsn 0-u32max[u]
USER_DATA 0 asoc->c.my_ttag 0-u32max
USER_DATA 0 asoc->c.padding 0-255[u]
USER_DATA 0 asoc->c.peer_ttag 0-u32max
USER_DATA 0 asoc->c.peer_vtag 0-u32max
USER_DATA 0 asoc->c.prsctp_capable 0-255[u]
USER_DATA 0 asoc->c.raw_addr_list_len 0-65331[c][u]
USER_DATA 0 asoc->c.sinit_max_instreams 0-u16max[u]
USER_DATA 0 asoc->c.sinit_num_ostreams 0-u16max[u]
USER_DATA 0 asoc->force_delay 0-1
USER_DATA 0 asoc->next_tsn 0-u32max[u]
USER_DATA 0 asoc->peer.active_path->flowlabel 1048576-2097151[c]
USER_DATA 0 asoc->peer.active_path->packet.destination_port 0-u16max
USER_DATA 0 asoc->peer.active_path->packet.source_port 0-u16max
USER_DATA 0 asoc->peer.adaptation_ind 0-u32max
USER_DATA 0 asoc->peer.prsctp_capable 0-1[u]
USER_DATA 0 asoc->peer.retran_path->cacc.next_tsn_at_change 0-u32max[u]
USER_DATA 0 asoc->peer.retran_path->flowlabel 1048576-2097151[c]
USER_DATA 0 asoc->peer.retran_path->ipaddr.sa.sa_family 2,10[c]
USER_DATA 0 asoc->peer.retran_path->ipaddr.v4.sin_addr.s_addr 0-u32max
USER_DATA 0 asoc->peer.retran_path->ipaddr.v4.sin_family 0-u16max
USER_DATA 0 asoc->peer.retran_path->ipaddr.v6.sin6_family 0-u16max
USER_DATA 0 asoc->peer.retran_path->ipaddr.v6.sin6_flowinfo 0-u32max
USER_DATA 0 asoc->peer.retran_path->ipaddr.v6.sin6_scope_id 0-u32max
USER_DATA 0 asoc->peer.retran_path->packet.destination_port 0-u16max
USER_DATA 0 asoc->peer.retran_path->packet.source_port 0-u16max
USER_DATA 0 asoc->peer.tsn_map.base_tsn 0-u32max
USER_DATA 0 asoc->strreset_outseq 0-u32max[u]
UNITS 2 addr_len unit_byte
LOCK2 sk

net/sctp/socket.c sctp_sendmsg_new_asoc() -> sctp_connect_add_peer()

Type Parameter Key Value
PARAM_VALUE 0 asoc 4096-ptr_max
PARAM_VALUE 1 daddr 1765227019264274432
PARAM_VALUE 1 daddr->sa.sa_family 0
PARAM_VALUE 1 daddr->v4.sin_family 0,2
PARAM_VALUE 1 daddr->v6.sin6_family 0,10
PARAM_VALUE 2 addr_len 28
BUF_SIZE 1 daddr 28
FUZZY_MAX 1 daddr->v4.sin_family 2
FUZZY_MAX 1 daddr->v6.sin6_family 10
HARD_MAX 1 daddr->v4.sin_family 2
HARD_MAX 1 daddr->v6.sin6_family 10
MEM_ZERO 1 daddr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 daddr->v6.sin6_flowinfo 0-u32max
UNITS 2 addr_len unit_byte
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk