Defined in 1 files as a function:
Referenced in 17 files:
- net/netfilter/ipvs/ip_vs_nfct.c, line 93
- net/netfilter/nf_conncount.c, line 78
- net/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_netlink.c
- net/netfilter/nf_conntrack_proto.c
- net/netfilter/nf_conntrack_seqadj.c, line 69
- net/netfilter/nf_conntrack_sip.c
- net/netfilter/nf_conntrack_standalone.c
- net/netfilter/nf_flow_table_core.c
- net/netfilter/nf_nat_core.c
- net/netfilter/nf_nat_proto.c, line 648
- net/netfilter/nf_nat_sip.c
- net/netfilter/nft_ct.c
- net/netfilter/xt_HMARK.c, line 100
- net/netfilter/xt_conntrack.c
- net/openvswitch/conntrack.c, line 827
- net/sched/act_ct.c
Smatch caller information:
net/netfilter/nf_conntrack_standalone.c ct_seq_show() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_tuplehash_to_ctrack |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/netfilter/nf_conntrack_standalone.c ct_seq_show() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_tuplehash_to_ctrack |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/sched/act_ct.c tcf_ct_flow_table_add_action_nat() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $1 |
| LOCK2 | &pool->lock |
net/sched/act_ct.c tcf_ct_flow_table_process_conn() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| DATA_SOURCE | 0 | ct | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_flow_table_core.c flow_offload_fixup_ct() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_flow_table_core.c flow_offload_get_timeout() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_flow_table_core.c nf_flow_table_extend_ct_timeout() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_conncount.c already_closed() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &list->list_lock | ||
| TYPE_LOCK | (struct nf_conncount_list)->list_lock |
net/netfilter/nf_conntrack_netlink.c ctnetlink_change_helper() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| 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/nf_conntrack_netlink.c ctnetlink_change_protoinfo() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ct->timeout | 0-s32max[c] |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_netlink.c ctnetlink_create_conntrack() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_conntrack_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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/nf_conntrack_netlink.c ctnetlink_create_conntrack() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_conntrack_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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/nf_conntrack_netlink.c ctnetlink_dump_protoinfo() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_netlink.c ctnetlink_proto_size() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_seqadj.c nf_ct_tcp_seqadj_set() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $1 |
net/netfilter/nf_nat_core.c nf_nat_allow_clash() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| BUF_SIZE | 0 | ct | (-1),1-s32max |
| CAPPED_DATA | 0 | ct | 1 |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_nat_proto_remove() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | global &nf_conntrack_mutex | ||
| LOCK2 | lockp |
net/openvswitch/conntrack.c __ovs_ct_lookup() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct | 1 |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_nat_proto.c nf_nat_inet_port_was_mangled() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_sip.c mangle_packet() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
net/netfilter/nf_nat_sip.c nf_nat_sip() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
net/netfilter/nf_nat_sip.c nf_nat_sip() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
net/netfilter/nf_nat_sip.c nf_nat_sip_seq_adjust() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 0,8-u64max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
net/netfilter/xt_HMARK.c hmark_ct_set_htuple() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/nf_conntrack_sip.c ct_sip_parse_transport() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
net/netfilter/nf_conntrack_sip.c ct_sip_parse_transport() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
net/netfilter/nft_ct.c nft_ct_get_eval() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
net/netfilter/nft_ct.c nft_ct_helper_obj_eval() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r skb_nfct |
net/netfilter/ipvs/ip_vs_nfct.c ip_vs_update_conntrack() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/xt_conntrack.c ct_proto_port_check() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/xt_conntrack.c ct_proto_port_check_v3() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| PARAM_VALUE | 0 | ct->tuplehash | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_proto.c nf_ct_l4proto_log_invalid() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $1 |
| STR_LEN | 0 | ct | (-1),3 |
| STR_LEN | 0 | ct | (-1),3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ct->proto.tcp.last_end | 0-u32max[c] |
| USER_DATA | 0 | ct->proto.tcp.last_ack | 0-u32max |
| USER_DATA | 0 | ct->proto.tcp.last_seq | 0-u32max |
| USER_DATA | 0 | ct->proto.tcp.last_win | 0-u16max |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &ct->lock |
net/netfilter/nf_conntrack_proto.c nf_ct_tcp_fixup() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | global &nf_conntrack_mutex | ||
| LOCK2 | lockp |
net/netfilter/nf_conntrack_core.c gc_worker_can_early_drop() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| CAPPED_DATA | 0 | ct->ct_net.net | 1 |
| DATA_SOURCE | 0 | ct | $0 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
net/netfilter/nf_conntrack_core.c nf_conntrack_handle_packet() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 8-u64max |
| DATA_SOURCE | 0 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_conntrack_core.c nf_conntrack_set_closing() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_to_nf_conn |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_destroy() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &nft_ct_pcpu_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_resolve_clash() -> nf_ct_protonum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ct | 4096-ptr_max |
| DATA_SOURCE | 0 | ct | r nf_ct_tuplehash_to_ctrack |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |