Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/filter.c sol_ip_sockopt() -> do_ip_getsockopt()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 2,10
PARAM_VALUE 1 level 0
PARAM_VALUE 2 optname 1,19
DATA_SOURCE 0 sk $0
DATA_SOURCE 2 optname $1
BIT_INFO 3 optval 0x0,0x0
BIT_INFO 4 optlen 0x0,0x0
UNITS 0 sk unit_byte

net/ipv4/ip_sockglue.c ip_getsockopt() -> do_ip_getsockopt()

Type Parameter Key Value
DATA_SOURCE 0 sk $0
DATA_SOURCE 1 level $1
DATA_SOURCE 2 optname $2
BIT_INFO 3 optval 0x0,0x0
BIT_INFO 4 optlen 0x0,0x0
RX_PATH
USER_DATA 1 level s32min-0,2-s32max
USER_DATA 2 optname s32min-s32max