Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 26 files:
- include/net/ip_vs.h, line 2195
- net/ipv4/netfilter/ipt_SYNPROXY.c, line 74
- net/ipv6/netfilter/ip6t_SYNPROXY.c, line 77
- net/netfilter/nf_conntrack_proto.c, line 606
- net/netfilter/nf_conntrack_standalone.c, line 1107
- net/netfilter/nft_connlimit.c, line 82
- net/netfilter/nft_ct.c
- net/netfilter/nft_flow_offload.c, line 177
- net/netfilter/nft_masq.c, line 70
- net/netfilter/nft_nat.c, line 257
- net/netfilter/nft_redir.c, line 74
- net/netfilter/nft_synproxy.c, line 171
- net/netfilter/xt_CONNSECMARK.c, line 105
- net/netfilter/xt_CT.c, line 175
- net/netfilter/xt_MASQUERADE.c
- net/netfilter/xt_NETMAP.c
- net/netfilter/xt_REDIRECT.c
- net/netfilter/xt_cluster.c, line 137
- net/netfilter/xt_connbytes.c, line 114
- net/netfilter/xt_connlabel.c, line 62
- net/netfilter/xt_connlimit.c, line 90
- net/netfilter/xt_connmark.c
- net/netfilter/xt_conntrack.c, line 270
- net/netfilter/xt_helper.c, line 59
- net/netfilter/xt_nat.c
- net/netfilter/xt_state.c, line 42
Smatch caller information:
net/netfilter/nft_synproxy.c nft_synproxy_do_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv6/netfilter/ip6t_SYNPROXY.c synproxy_tg6_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_state.c state_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nf_conntrack_standalone.c nf_conntrack_pernet_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ct.stat | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ct.sysctl_acct | 0-1 |
| PARAM_VALUE | 0 | net->ct.sysctl_checksum | 1 |
| PARAM_VALUE | 0 | net->ct.sysctl_events | 2 |
| PARAM_VALUE | 0 | net->ct.sysctl_tstamp | 0-1 |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | net->proc_net->nlink | 0-4294967295 |
| PARAM_VALUE | 0 | net->proc_net_stat->nlink | 0-4294967295 |
| PARAM_VALUE | 0 | net->sysctls.dir.header.parent | 0 |
| PARAM_VALUE | 0 | net->sysctls.dir.header.parent->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | net->sysctls.dir.header.type | 0-1 |
| PARAM_VALUE | 0 | net->sysctls.dir.header.used | 0 |
| PARAM_VALUE | 1 | nfproto | 1 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 0 | net->user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | net->user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/netfilter/xt_helper.c helper_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_nat.c nft_nat_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | nfproto | r nla_get_be32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nfproto | 0-255 |
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_redir.c nft_redir_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_connlimit.c connlimit_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_NETMAP.c netmap_tg4_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_NETMAP.c netmap_tg6_checkentry() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_nat.c xt_nat_checkentry() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nfproto | 1-2,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_nat.c xt_nat_checkentry_v0() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_CONNSECMARK.c connsecmark_tg_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_connbytes.c connbytes_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_masq.c nft_masq_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_REDIRECT.c redirect_tg4_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_REDIRECT.c redirect_tg6_checkentry() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_connlabel.c connlabel_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_cluster.c xt_cluster_mt_checkentry() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_connlimit.c nft_connlimit_do_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_connmark.c connmark_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_connmark.c connmark_tg_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/ipvs/ip_vs_ctl.c ip_vs_register_conntrack() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ipvs->service_mutex | ||
| TYPE_LOCK | (struct netns_ipvs)->service_mutex |
net/netfilter/nft_ct.c nft_ct_expect_obj_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | nfproto | 1-2,10 |
| CAPPED_DATA | 1 | nfproto | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| 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 | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nft_ct.c nft_ct_get_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_ct.c nft_ct_helper_obj_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | nfproto | 0-63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| 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 | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nft_ct.c nft_ct_set_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_ct.c nft_ct_timeout_obj_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | nfproto | 0-63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| 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 | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/xt_conntrack.c conntrack_mt_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_CT.c xt_ct_tg_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/nft_flow_offload.c nft_flow_offload_init() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv4/netfilter/ipt_SYNPROXY.c synproxy_tg4_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_MASQUERADE.c masquerade_tg6_checkentry() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/netfilter/xt_MASQUERADE.c masquerade_tg_check() -> nf_ct_netns_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |