Defined in 4 files as a function:
- net/bridge/netfilter/ebtables.c, line 1790 (as a function)
- net/ipv4/netfilter/arp_tables.c, line 746 (as a function)
- net/ipv4/netfilter/ip_tables.c, line 887 (as a function)
- net/ipv6/netfilter/ip6_tables.c, line 903 (as a function)
Referenced in 4 files:
- net/bridge/netfilter/ebtables.c, line 1856
- net/ipv4/netfilter/arp_tables.c, line 793
- net/ipv4/netfilter/ip_tables.c, line 936
- net/ipv6/netfilter/ip6_tables.c, line 952
Smatch caller information:
net/bridge/netfilter/ebtables.c compat_table_info() -> compat_calc_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->nentries | 0-s32max |
| PARAM_VALUE | 3 | newinfo | 4809807620665212928,7442026194622898176 |
| PARAM_VALUE | 3 | *newinfo->hook_entry | 0-4294967295 |
| BUF_SIZE | 2 | base | 1-s32max |
| BUF_SIZE | 2 | base | 1-s32max |
| DATA_SOURCE | 1 | info | $0 |
| DATA_SOURCE | 3 | newinfo | $1 |
| NS_CAPABLE | 0 | 12 | |
| PARAM_COMPARE | 0 | e | >= $2 |
| PARAM_COMPARE | 0 | e | >= $2 |
| PARAM_COMPARE | 2 | base | <= $0 |
| RX_PATH | |||
| USER_DATA | 3 | newinfo->counters | 0-u32max |
| USER_DATA | 3 | newinfo->entries | 0-u32max |
| USER_DATA | 3 | newinfo->num_counters | 0-u32max |
| USER_DATA | 3 | newinfo->valid_hooks | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | info->nentries | |
| UNITS | 0 | e | unit_byte |
| USER_PTR | 3 | newinfo->hook_entry | |
| USER_PTR | 3 | newinfo->name |
net/ipv4/netfilter/ip_tables.c compat_table_info() -> compat_calc_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 0-18446744073709547519 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | newinfo | 3413215983755673600,3465130262433341440 |
| CAPPED_DATA | 0 | e | 1 |
| DATA_SOURCE | 1 | info | $0 |
| DATA_SOURCE | 3 | newinfo | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | info->number | |
| UNITS | 0 | e | unit_byte |
net/ipv6/netfilter/ip6_tables.c compat_table_info() -> compat_calc_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 0-18446744073709547519 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | newinfo | 689053081395081216,2186743464556855296 |
| CAPPED_DATA | 0 | e | 1 |
| DATA_SOURCE | 1 | info | $0 |
| DATA_SOURCE | 3 | newinfo | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | info->number | |
| UNITS | 0 | e | unit_byte |
net/ipv4/netfilter/arp_tables.c compat_table_info() -> compat_calc_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 0-18446744073709547519 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | newinfo | 1490376181877227520,8741446764290695168 |
| CAPPED_DATA | 0 | e | 1 |
| DATA_SOURCE | 1 | info | $0 |
| DATA_SOURCE | 3 | newinfo | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | info->number | |
| UNITS | 0 | e | unit_byte |