Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/sctp/sm_statefuns.c sctp_ootb_pkt_new() -> sctp_packet_init()

Type Parameter Key Value
PARAM_VALUE 0 packet 4096-ptr_max
PARAM_VALUE 1 transport 4096-ptr_max
PARAM_VALUE 1 transport->T3_rtx_timer.entry.pprev 0
PARAM_VALUE 1 transport->T3_rtx_timer.flags 0-4194302
PARAM_VALUE 1 transport->T3_rtx_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->af_specific 587912892075335680,8726587749426151424
PARAM_VALUE 1 transport->af_specific->get_dst 4096-ptr_max
PARAM_VALUE 1 transport->af_specific->sockaddr_len 0,16,28
PARAM_VALUE 1 transport->dst 0-ptr_max
PARAM_VALUE 1 transport->dst_pending_confirm 0
PARAM_VALUE 1 transport->hb_timer.entry.pprev 0
PARAM_VALUE 1 transport->hb_timer.flags 0-4194302
PARAM_VALUE 1 transport->hb_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->last_time_heard 0
PARAM_VALUE 1 transport->param_flags 42
PARAM_VALUE 1 transport->pl.pmtu 1200
PARAM_VALUE 1 transport->pl.probe_size 1200
PARAM_VALUE 1 transport->pl.state 0-1
PARAM_VALUE 1 transport->probe_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 transport->probe_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->proto_unreach_timer.flags 0-4194302
PARAM_VALUE 1 transport->proto_unreach_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->reconf_timer.entry.pprev 0
PARAM_VALUE 1 transport->reconf_timer.flags 0-4194302
PARAM_VALUE 1 transport->reconf_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->rto 0-536870912,4611686018427387902
PARAM_VALUE 1 transport->sack_generation 0
PARAM_VALUE 1 transport->send_ready.next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.next->next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev->prev 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.next->next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev->prev 4096-ptr_max
PARAM_VALUE 1 transport->transports.next 4096-ptr_max
PARAM_VALUE 1 transport->transports.next->next 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev->prev 4096-ptr_max
BUF_SIZE 0 packet 72
BUF_SIZE 1 transport 944
CAPPED_DATA 1 transport 1
DATA_SOURCE 1 transport r sctp_transport_new
PARAM_COMPARE 1 &transport->packet == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 transport->ipaddr.v4.sin_addr.s_addr 0-u32max
USER_DATA 2 sport 0-u16max
USER_DATA 3 dport 0-u16max
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/sctp/outqueue.c sctp_packet_singleton() -> sctp_packet_init()

Type Parameter Key Value
PARAM_VALUE 0 packet 90725981252694016
PARAM_VALUE 1 transport 4096-ptr_max
PARAM_VALUE 1 transport->asoc 4096-ptr_max
PARAM_VALUE 1 transport->cwnd 0-4294967294
PARAM_VALUE 1 transport->send_ready.next 4096-ptr_max
DATA_SOURCE 1 transport $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/sctp/associola.c sctp_assoc_add_peer() -> sctp_packet_init()

Type Parameter Key Value
PARAM_VALUE 0 packet 4096-ptr_max
PARAM_VALUE 1 transport 4096-ptr_max
PARAM_VALUE 1 transport->T3_rtx_timer.entry.pprev 0
PARAM_VALUE 1 transport->T3_rtx_timer.flags 0-4194302
PARAM_VALUE 1 transport->T3_rtx_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->af_specific 587912892075335680,8726587749426151424
PARAM_VALUE 1 transport->af_specific->get_dst 4096-ptr_max
PARAM_VALUE 1 transport->af_specific->sockaddr_len 0,16,28
PARAM_VALUE 1 transport->asoc 4096-ptr_max
PARAM_VALUE 1 transport->asoc->peer.transport_count 0-65534
PARAM_VALUE 1 transport->dst 0-ptr_max
PARAM_VALUE 1 transport->dst_pending_confirm 0
PARAM_VALUE 1 transport->hb_timer.entry.pprev 0
PARAM_VALUE 1 transport->hb_timer.flags 0-4194302
PARAM_VALUE 1 transport->hb_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->last_time_heard 0
PARAM_VALUE 1 transport->pl.pmtu 1200
PARAM_VALUE 1 transport->pl.probe_size 1200
PARAM_VALUE 1 transport->pl.state 0-1
PARAM_VALUE 1 transport->pmtu_pending 0
PARAM_VALUE 1 transport->probe_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 transport->probe_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->proto_unreach_timer.entry.pprev 0
PARAM_VALUE 1 transport->proto_unreach_timer.flags 0-4194302
PARAM_VALUE 1 transport->proto_unreach_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->reconf_timer.entry.pprev 0
PARAM_VALUE 1 transport->reconf_timer.flags 0-4194302
PARAM_VALUE 1 transport->reconf_timer.lockdep_map->name 0-255
PARAM_VALUE 1 transport->rto 0-536870912,4611686018427387902
PARAM_VALUE 1 transport->sack_generation 0
PARAM_VALUE 1 transport->send_ready.next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.next->next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->send_ready.prev->prev 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.next->next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->transmitted.prev->prev 4096-ptr_max
PARAM_VALUE 1 transport->transports.next 4096-ptr_max
PARAM_VALUE 1 transport->transports.next->next 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev->next 4096-ptr_max
PARAM_VALUE 1 transport->transports.prev->prev 4096-ptr_max
BUF_SIZE 1 transport 944
CAPPED_DATA 1 transport 1
DATA_SOURCE 1 transport r sctp_transport_new
NOSPEC 1 transport->asoc->c.raw_addr_list_len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 transport->asoc->addip_serial 0-u32max[u]
USER_DATA 1 transport->asoc->c.adaptation_ind 0-u32max[u]
USER_DATA 1 transport->asoc->c.expiration s64min-s64max
USER_DATA 1 transport->asoc->c.initial_tsn 0-u32max[u]
USER_DATA 1 transport->asoc->c.my_ttag 0-u32max
USER_DATA 1 transport->asoc->c.padding 0-255[u]
USER_DATA 1 transport->asoc->c.peer_addr.sa.sa_family 0-u16max[u]
USER_DATA 1 transport->asoc->c.peer_addr.v4.sin_family 0-u16max[u]
USER_DATA 1 transport->asoc->c.peer_addr.v6.sin6_family 0-u16max[u]
USER_DATA 1 transport->asoc->c.peer_addr.v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 transport->asoc->c.peer_addr.v6.sin6_port 0-u16max[u]
USER_DATA 1 transport->asoc->c.peer_addr.v6.sin6_scope_id 0-u32max[u]
USER_DATA 1 transport->asoc->c.peer_ttag 0-u32max
USER_DATA 1 transport->asoc->c.peer_vtag 0-u32max
USER_DATA 1 transport->asoc->c.prsctp_capable 0-255[u]
USER_DATA 1 transport->asoc->c.raw_addr_list_len 0-65331[c][u]
USER_DATA 1 transport->asoc->c.sinit_max_instreams 0-u16max[u]
USER_DATA 1 transport->asoc->c.sinit_num_ostreams 0-u16max[u]
USER_DATA 1 transport->asoc->default_hmac_id 0-3
USER_DATA 1 transport->asoc->force_delay 0-1
USER_DATA 1 transport->asoc->next_tsn 0-u32max[u]
USER_DATA 1 transport->asoc->peer.adaptation_ind 0-u32max
USER_DATA 1 transport->asoc->peer.port 0-u16max
USER_DATA 1 transport->asoc->peer.primary_addr.sa.sa_family 2,10[c]
USER_DATA 1 transport->asoc->peer.primary_addr.v4.sin_family 0-u16max
USER_DATA 1 transport->asoc->peer.primary_addr.v4.sin_port 0-u16max
USER_DATA 1 transport->asoc->peer.primary_addr.v6.sin6_family 0-u16max
USER_DATA 1 transport->asoc->peer.primary_addr.v6.sin6_flowinfo 0-u32max
USER_DATA 1 transport->asoc->peer.primary_addr.v6.sin6_port 0-u16max
USER_DATA 1 transport->asoc->peer.primary_addr.v6.sin6_scope_id 0-u32max
USER_DATA 1 transport->asoc->peer.prsctp_capable 0-1[u]
USER_DATA 1 transport->asoc->peer.tsn_map.base_tsn 0-u32max
USER_DATA 1 transport->asoc->strreset_outseq 0-u32max[u]
USER_DATA 1 transport->flowlabel 1048576-2097151[c]
USER_DATA 1 transport->ipaddr.sa.sa_family 2,10
USER_DATA 1 transport->ipaddr.v4.sin_addr.s_addr 0-u32max
USER_DATA 1 transport->ipaddr.v4.sin_family 0-u16max
USER_DATA 1 transport->ipaddr.v4.sin_port 0-u16max
USER_DATA 1 transport->ipaddr.v6.sin6_family 0-u16max
USER_DATA 1 transport->ipaddr.v6.sin6_flowinfo 0-u32max
USER_DATA 1 transport->ipaddr.v6.sin6_port 0-u16max
USER_DATA 1 transport->ipaddr.v6.sin6_scope_id 0-u32max
USER_DATA 3 dport 0-u16max
HALF_LOCKED2 sk