Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

net/ipv4/ping.c ping_check_bind_addr() -> l3mdev_fib_table_by_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
UNITS 1 ifindex unit_array_size

net/ipv4/raw.c raw_bind() -> l3mdev_fib_table_by_index()

Type Parameter Key Value
PARAM_VALUE 1 ifindex s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
UNITS 1 ifindex unit_array_size
LOCK2 sk

net/sctp/protocol.c sctp_v4_available() -> l3mdev_fib_table_by_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
UNITS 1 ifindex unit_array_size

net/ipv4/af_inet.c __inet_bind() -> l3mdev_fib_table_by_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
UNITS 1 ifindex unit_array_size

net/ipv6/route.c rtmsg_to_fib6_config() -> l3mdev_fib_table_by_index()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
DATA_SOURCE 0 net $0
NS_CAPABLE 0 12
USER_DATA 1 ifindex s32min-s32max
UNITS 0 net unit_byte