Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- net/ipv4/netfilter/nf_nat_h323.c
- net/ipv4/netfilter/nf_nat_pptp.c
- net/netfilter/nf_nat_bpf.c, line 52
- net/netfilter/nf_nat_core.c
- net/netfilter/nf_nat_helper.c
- net/netfilter/nf_nat_masquerade.c
- net/netfilter/nf_nat_ovs.c, line 64
- net/netfilter/nf_nat_redirect.c, line 46
- net/netfilter/nf_nat_sip.c
- net/netfilter/nft_nat.c, line 125
- net/netfilter/xt_NETMAP.c
- net/netfilter/xt_nat.c
Smatch caller information:
net/ipv4/netfilter/nf_nat_h323.c ip_nat_callforwarding_expect() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 889941566656512 |
| PARAM_VALUE | 1 | range->flags | 1 |
| PARAM_VALUE | 2 | maniptype | 0 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| DATA_SOURCE | 0 | ct | $0 |
| BIT_INFO | 0 | ct->status | 0x0,0xfffffffffffffe7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/netfilter/nf_nat_h323.c ip_nat_callforwarding_expect() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 889941566656512 |
| PARAM_VALUE | 1 | range->flags | 3 |
| PARAM_VALUE | 2 | maniptype | 1 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/netfilter/nf_nat_h323.c ip_nat_q931_expect() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 5546617915255197696 |
| PARAM_VALUE | 1 | range->flags | 1 |
| PARAM_VALUE | 2 | maniptype | 0 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| DATA_SOURCE | 0 | ct | $0 |
| BIT_INFO | 0 | ct->status | 0x0,0xfffffffffffffe7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/netfilter/nf_nat_h323.c ip_nat_q931_expect() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 5546617915255197696 |
| PARAM_VALUE | 1 | range->flags | 3 |
| PARAM_VALUE | 2 | maniptype | 1 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_ovs.c nf_ct_nat_execute() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->status | 16-u64max |
| PARAM_VALUE | 1 | range | 4096-ptr_max |
| PARAM_VALUE | 2 | maniptype | 0-1 |
| CAPPED_DATA | 0 | ct | 1 |
| DATA_SOURCE | 0 | ct | $1 |
| DATA_SOURCE | 1 | range | $4 |
| DATA_SOURCE | 2 | maniptype | $5 |
| FUZZY_MAX | 2 | maniptype | 1 |
| BIT_INFO | 1 | range->flags | 0x1,0xffffffff |
| HARD_MAX | 2 | maniptype | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_nat_redirect.c nf_nat_redirect() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 7129827737953472512 |
| PARAM_VALUE | 2 | maniptype | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| MEM_ZERO | 1 | range | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nft_nat.c nft_nat_eval() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 4756212952868331520 |
| PARAM_VALUE | 1 | range->flags | 0-u16max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| MEM_ZERO | 1 | range |
net/netfilter/nf_nat_core.c __nf_nat_alloc_null_binding() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 172011255084904448 |
| PARAM_VALUE | 1 | range->base_proto.all | 0 |
| PARAM_VALUE | 1 | range->flags | 1 |
| PARAM_VALUE | 1 | range->max_proto.all | 0 |
| PARAM_VALUE | 1 | range->max_proto.gre.key | 0 |
| PARAM_VALUE | 1 | range->max_proto.icmp.id | 0 |
| PARAM_VALUE | 1 | range->min_proto.all | 0 |
| PARAM_VALUE | 1 | range->min_proto.gre.key | 0 |
| PARAM_VALUE | 1 | range->min_proto.icmp.id | 0 |
| PARAM_VALUE | 2 | maniptype | 0-1 |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| DATA_SOURCE | 0 | ct | $0 |
| DATA_SOURCE | 2 | maniptype | $1 |
| FUZZY_MAX | 2 | maniptype | 1 |
| HARD_MAX | 2 | maniptype | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nfnetlink_parse_nat_setup() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 8932928097334558720 |
| PARAM_VALUE | 1 | range->base_proto.all | 0 |
| PARAM_VALUE | 1 | range->flags | 1,3-25 |
| PARAM_VALUE | 1 | range->max_proto.gre.key | 0 |
| PARAM_VALUE | 1 | range->max_proto.icmp.id | 0 |
| PARAM_VALUE | 1 | range->min_proto.gre.key | 0 |
| PARAM_VALUE | 1 | range->min_proto.icmp.id | 0 |
| PARAM_VALUE | 2 | maniptype | 0-1 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| CAPPED_DATA | 0 | ct | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| DATA_SOURCE | 2 | maniptype | $1 |
| HARD_MAX | 2 | maniptype | 1 |
| MEM_ZERO | 1 | range | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/xt_NETMAP.c netmap_tg4() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 1554706007469924352 |
| PARAM_VALUE | 2 | maniptype | 0-1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| FUZZY_MAX | 2 | maniptype | 1 |
| HARD_MAX | 2 | maniptype | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_NETMAP.c netmap_tg6() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 5041480329858367488 |
| PARAM_VALUE | 2 | maniptype | 0-1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| FUZZY_MAX | 2 | maniptype | 1 |
| HARD_MAX | 2 | maniptype | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_dnat_target_v0() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 7552799584270376960 |
| PARAM_VALUE | 1 | range->base_proto.all | 0 |
| PARAM_VALUE | 2 | maniptype | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_dnat_target_v1() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 844463665665970176 |
| PARAM_VALUE | 2 | maniptype | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_dnat_target_v2() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 2 | maniptype | 1 |
| BUF_SIZE | 1 | range | 8-s32max |
| BUF_SIZE | 1 | range | 8-s32max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_snat_target_v0() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 8719466489875812352 |
| PARAM_VALUE | 1 | range->base_proto.all | 0 |
| PARAM_VALUE | 2 | maniptype | 0 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_snat_target_v1() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 1 | range | 8469289578392698880 |
| PARAM_VALUE | 2 | maniptype | 0 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_nat.c xt_snat_target_v2() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| PARAM_VALUE | 2 | maniptype | 0 |
| BUF_SIZE | 1 | range | 8-s32max |
| BUF_SIZE | 1 | range | 8-s32max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/nf_nat_sip.c nf_nat_sip_expected() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | range | 7872344000740814848 |
| PARAM_VALUE | 1 | range->flags | 3 |
| PARAM_VALUE | 2 | maniptype | 1 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| DATA_SOURCE | 0 | ct | $0 |
| BIT_INFO | 0 | ct->status | 0x0,0xfffffffffffffe7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_sip.c nf_nat_sip_expected() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->ext | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 7872344000740814848 |
| PARAM_VALUE | 1 | range->flags | 1,3 |
| PARAM_VALUE | 2 | maniptype | 0 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_helper.c nf_nat_follow_master() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 3037096800316616704 |
| PARAM_VALUE | 1 | range->flags | 1 |
| PARAM_VALUE | 2 | maniptype | 0 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| DATA_SOURCE | 0 | ct | $0 |
| BIT_INFO | 0 | ct->status | 0x0,0xfffffffffffffe7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_helper.c nf_nat_follow_master() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 3037096800316616704 |
| PARAM_VALUE | 1 | range->flags | 3 |
| PARAM_VALUE | 2 | maniptype | 1 |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| BUF_SIZE | 0 | ct | (-1)-s32max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/netfilter/nf_nat_pptp.c pptp_nat_expected() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ct_general.use.refs.counter | 1 |
| PARAM_VALUE | 0 | ct->ct_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ct_net.net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->ct_general.use.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ct->master->ext | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->status | 16-u64max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->proto.gre.stream_timeout | 4500000 |
| PARAM_VALUE | 0 | ct->proto.gre.timeout | 150000 |
| PARAM_VALUE | 0 | ct->status | 0 |
| PARAM_VALUE | 0 | ct->timeout | 0 |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 1807358191036780544 |
| PARAM_VALUE | 1 | range->flags | 1,3 |
| PARAM_VALUE | 2 | maniptype | 0 |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/netfilter/nf_nat_pptp.c pptp_nat_expected() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ct_general.use.refs.counter | 1 |
| PARAM_VALUE | 0 | ct->ct_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ct_net.net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->ct_general.use.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ct->master->ext | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->master->status | 16-u64max |
| PARAM_VALUE | 0 | ct->master->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->proto.gre.stream_timeout | 4500000 |
| PARAM_VALUE | 0 | ct->proto.gre.timeout | 150000 |
| PARAM_VALUE | 0 | ct->status | 0,16-u64max |
| PARAM_VALUE | 0 | ct->timeout | 0 |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 1807358191036780544 |
| PARAM_VALUE | 1 | range->flags | 1,3 |
| PARAM_VALUE | 2 | maniptype | 1 |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_masquerade.c nf_nat_masquerade_ipv4() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 1181043456504438784 |
| PARAM_VALUE | 1 | range->max_addr.ip | 1-u32max |
| PARAM_VALUE | 1 | range->min_addr.ip | 1-u32max |
| PARAM_VALUE | 2 | maniptype | 0 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_nat_masquerade.c nf_nat_masquerade_ipv6() -> nf_nat_setup_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | range | 5455692393955094528 |
| PARAM_VALUE | 2 | maniptype | 0 |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |