Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/sctp/bind_addr.c sctp_copy_one_addr() -> sctp_in_scope()

Type Parameter Key Value
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 scope 0-4
CAPPED_DATA 2 scope 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 addr $2
DATA_SOURCE 2 scope $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 sk

net/sctp/sm_make_chunk.c sctp_process_param() -> sctp_in_scope()

Type Parameter Key Value
PARAM_VALUE 1 addr 8238416115583254528
PARAM_VALUE 2 scope 0-4
DATA_SOURCE 2 scope r sctp_scope
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr->v4.sin_port 0-u16max
USER_DATA 1 addr->v6.sin6_port 0-u16max
UNITS 0 net unit_byte

net/sctp/protocol.c sctp_copy_local_addr_list() -> sctp_in_scope()

Type Parameter Key Value
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 scope 0-4
CAPPED_DATA 2 scope 1
DATA_SOURCE 0 net $0
DATA_SOURCE 2 scope $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 rcu_read
HALF_LOCKED2 sk