Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- net/ipv4/af_inet.c, line 500
- net/ipv4/fib_frontend.c
- net/ipv4/fib_semantics.c
- net/ipv4/ping.c, line 326
- net/ipv4/raw.c, line 726
- net/sctp/protocol.c, line 360
Smatch caller information:
net/ipv4/ping.c ping_check_bind_addr() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 1-u32max |
| PARAM_VALUE | 2 | tb_id | 1-u32max |
| FUZZY_MAX | 2 | tb_id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
net/ipv4/fib_frontend.c rtentry_to_fib_config() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | r sk_extract_addr |
| NS_CAPABLE | 0 | 12 | |
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->rtnl_mutex | |
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/raw.c raw_bind() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tb_id | 1-u32max |
| FUZZY_MAX | 2 | tb_id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | sk |
net/ipv4/fib_semantics.c fib_valid_prefsrc() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| PARAM_VALUE | 2 | tb_id | 0-253,255-u32max |
| CAPPED_DATA | 2 | tb_id | 1 |
| DATA_SOURCE | 1 | addr | $1 |
| FUZZY_MAX | 2 | tb_id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_valid_prefsrc() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| PARAM_VALUE | 2 | tb_id | 255 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sctp/protocol.c sctp_v4_available() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tb_id | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max[u] |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
net/ipv4/af_inet.c __inet_bind() -> inet_addr_type_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tb_id | 1-u32max |
| FUZZY_MAX | 2 | tb_id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |