Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- net/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_pptp.c, line 111
- net/netfilter/nf_conntrack_proto_icmp.c, line 130
- net/netfilter/nf_nat_core.c
- net/netfilter/nf_nat_proto.c
- net/openvswitch/conntrack.c, line 507
- net/sched/act_ct.c, line 215
Smatch caller information:
net/netfilter/nf_conntrack_proto_icmp.c nf_conntrack_inet_error() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 2591633623931514880 |
| PARAM_VALUE | 1 | orig | 4805566798185836544 |
| PARAM_VALUE | 1 | orig->dst.dir | 0 |
| PARAM_VALUE | 1 | orig->dst.u.all | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.code | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| PARAM_VALUE | 1 | orig->src.l3num | 2,10 |
| PARAM_VALUE | 1 | orig->src.u.all | 0 |
| PARAM_VALUE | 1 | orig->src.u.icmp.id | 0 |
| MEM_ZERO | 1 | orig | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sched/act_ct.c tcf_ct_flow_table_add_action_nat() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 6714483911469834240 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
net/netfilter/nf_nat_core.c find_appropriate_src() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 5005165613332402176 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| DATA_SOURCE | 0 | inverse | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_setup_info() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 415299221262680064 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_setup_info() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 5723842243501383680 |
| PARAM_VALUE | 1 | orig | 5005165613332402176 |
| PARAM_VALUE | 1 | orig->dst.dir | 0-1 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_used_tuple() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 1932675414588473344 |
| PARAM_VALUE | 1 | orig | 415299221262680064,5005165613332402176 |
| PARAM_VALUE | 1 | orig->dst.dir | 0-1 |
| PARAM_VALUE | 1 | orig->dst.protonum | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| DATA_SOURCE | 1 | orig | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_used_tuple_harder() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 5617160553991720960 |
| PARAM_VALUE | 1 | orig | 5005165613332402176 |
| PARAM_VALUE | 1 | orig->dst.dir | 0-1 |
| PARAM_VALUE | 1 | orig->dst.protonum | 1,6,17,47,58,132 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| PARAM_VALUE | 1 | orig->dst.u3.ip | 0 |
| PARAM_VALUE | 1 | orig->src.u.all | 0 |
| PARAM_VALUE | 1 | orig->src.u.dccp.port | 0 |
| PARAM_VALUE | 1 | orig->src.u.gre.key | 0 |
| PARAM_VALUE | 1 | orig->src.u.icmp.id | 0 |
| PARAM_VALUE | 1 | orig->src.u.sctp.port | 0 |
| PARAM_VALUE | 1 | orig->src.u.tcp.port | 0 |
| PARAM_VALUE | 1 | orig->src.u.udp.port | 0 |
| PARAM_VALUE | 1 | orig->src.u3.in.s_addr | 0 |
| DATA_SOURCE | 1 | orig | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_used_tuple_new() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 8615796962290716672 |
| PARAM_VALUE | 1 | orig | 415299221262680064 |
| PARAM_VALUE | 1 | orig->dst.dir | 0-1 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| DATA_SOURCE | 1 | orig | $0 |
| MEM_ZERO | 1 | orig | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/openvswitch/conntrack.c ovs_ct_find_existing() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 5973667168972992512 |
| PARAM_VALUE | 1 | orig | 6674458642521038848 |
| PARAM_VALUE | 1 | orig->dst.dir | 0 |
| PARAM_VALUE | 1 | orig->dst.u.all | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.code | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| PARAM_VALUE | 1 | orig->src.l3num | 2,10 |
| PARAM_VALUE | 1 | orig->src.u.all | 0 |
| PARAM_VALUE | 1 | orig->src.u.icmp.id | 0 |
| MEM_ZERO | 1 | orig | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_nat_proto.c nf_nat_icmp_reply_translation() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 1217104431275888640 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_proto.c nf_nat_icmpv6_reply_translation() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 4448108980086480896 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_nat_proto.c nf_nat_manip_pkt() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 9119380991337828352 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_conntrack_pptp.c pptp_expectfn() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 6415527852076617728 |
| PARAM_VALUE | 1 | orig | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_conntrack_core.c init_conntrack() -> nf_ct_invert_tuple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inverse | 1263848043033329664 |
| PARAM_VALUE | 1 | orig | 849491992696750080 |
| PARAM_VALUE | 1 | orig->dst.dir | 0 |
| PARAM_VALUE | 1 | orig->dst.u.all | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.code | 0 |
| PARAM_VALUE | 1 | orig->dst.u.icmp.type | 0 |
| PARAM_VALUE | 1 | orig->src.l3num | 0 |
| PARAM_VALUE | 1 | orig->src.u.all | 0 |
| PARAM_VALUE | 1 | orig->src.u.icmp.id | 0 |
| DATA_SOURCE | 1 | orig | $2 |
| MEM_ZERO | 1 | orig | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |