Defined in 9 files as a member:

Defined in 3 files as a function:

Referenced in 169 files:

Smatch caller information:

net/netfilter/nft_exthdr.c nft_exthdr_tcp_eval() -> optlen()

Type Parameter Key Value
PARAM_VALUE 0 opt 1-u64max
PARAM_VALUE 1 offset 20-58
CAPPED_DATA 1 offset 1
UNITS 1 offset unit_byte

net/netfilter/nft_exthdr.c nft_exthdr_tcp_set_eval() -> optlen()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 1 offset 20-58
CAPPED_DATA 1 offset 1
USER_DATA 0 *opt 0-255
USER_DATA 1 offset 21-58[c]
UNITS 0 opt unit_byte
UNITS 1 offset unit_byte
USER_PTR 0 opt

net/netfilter/nft_exthdr.c nft_exthdr_tcp_strip_eval() -> optlen()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 1 offset 20-58
CAPPED_DATA 1 offset 1
USER_DATA 0 *opt 0-255
USER_DATA 1 offset 21-58[c]
UNITS 0 opt unit_byte
UNITS 1 offset unit_byte
USER_PTR 0 opt

net/netfilter/xt_TCPOPTSTRIP.c tcpoptstrip_mangle_packet() -> optlen()

Type Parameter Key Value
PARAM_VALUE 1 offset 20-58
CAPPED_DATA 1 offset 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 opt unit_byte
UNITS 1 offset unit_byte
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/netfilter/xt_TCPMSS.c tcpmss_mangle_packet() -> optlen()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 1 offset 20-56
CAPPED_DATA 1 offset 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 opt unit_byte
UNITS 1 offset unit_byte
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh