/net/netfilter/ |
D | nfnetlink_cthelper.c | 35 struct nf_conntrack_helper helper; member 45 struct nf_conntrack_helper *helper; in nfnl_userspace_cthelper() local 52 helper = rcu_dereference(help->helper); in nfnl_userspace_cthelper() 53 if (helper == NULL) in nfnl_userspace_cthelper() 57 if ((helper->flags & in nfnl_userspace_cthelper() 63 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; in nfnl_userspace_cthelper() 99 const struct nf_conntrack_helper *helper; in nfnl_cthelper_from_nlattr() local 104 helper = rcu_dereference(help->helper); in nfnl_cthelper_from_nlattr() 105 if (!helper || helper->data_len == 0) in nfnl_cthelper_from_nlattr() 116 const struct nf_conntrack_helper *helper; in nfnl_cthelper_to_nlattr() local [all …]
|
D | nf_conntrack_helper.c | 104 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument 106 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put() 107 module_put(helper->me); in nf_conntrack_helper_put() 163 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument 167 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put() 192 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local 209 helper = rcu_dereference(help->helper); in __nf_ct_try_assign_helper() 215 if (helper == NULL) { in __nf_ct_try_assign_helper() 217 RCU_INIT_POINTER(help->helper, NULL); in __nf_ct_try_assign_helper() 229 struct nf_conntrack_helper *tmp = rcu_dereference(help->helper); in __nf_ct_try_assign_helper() [all …]
|
D | xt_CT.c | 76 struct nf_conntrack_helper *helper; in xt_ct_set_helper() local 86 helper = nf_conntrack_helper_try_module_get(helper_name, par->family, in xt_ct_set_helper() 88 if (helper == NULL) { in xt_ct_set_helper() 95 nf_conntrack_helper_put(helper); in xt_ct_set_helper() 99 rcu_assign_pointer(help->helper, helper); in xt_ct_set_helper() 141 struct nf_conntrack_helper *helper; in xt_ct_put_helper() local 149 helper = rcu_dereference_raw(help->helper); in xt_ct_put_helper() 150 if (helper) in xt_ct_put_helper() 151 nf_conntrack_helper_put(helper); in xt_ct_put_helper() 197 if (info->helper[0]) { in xt_ct_tg_check() [all …]
|
D | xt_helper.c | 29 const struct nf_conntrack_helper *helper; in helper_mt() local 42 helper = rcu_dereference(master_help->helper); in helper_mt() 43 if (!helper) in helper_mt() 49 ret ^= !strncmp(helper->name, info->name, in helper_mt() 50 strlen(helper->name)); in helper_mt()
|
D | nf_conntrack_broadcast.c | 23 const struct nf_conntrack_helper *helper; in nf_conntrack_broadcast_help() local 63 helper = rcu_dereference(help->helper); in nf_conntrack_broadcast_help() 64 if (helper) in nf_conntrack_broadcast_help() 65 exp->tuple.src.u.udp.port = helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help() 73 exp->helper = NULL; in nf_conntrack_broadcast_help()
|
D | nf_conntrack_expect.c | 328 exp->helper = NULL; in nf_ct_expect_init() 389 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() local 397 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert() 399 if (helper) { in nf_ct_expect_insert() 401 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert() 439 struct nf_conntrack_helper *helper; in __nf_ct_expect_check() local 465 helper = rcu_dereference_protected(master_help->helper, in __nf_ct_expect_check() 467 if (helper) { in __nf_ct_expect_check() 468 p = &helper->expect_policy[expect->class]; in __nf_ct_expect_check() 629 struct nf_conntrack_helper *helper; in exp_seq_show() local [all …]
|
D | nf_conntrack_netlink.c | 227 struct nf_conntrack_helper *helper; in ctnetlink_dump_helpinfo() local 233 helper = rcu_dereference(help->helper); in ctnetlink_dump_helpinfo() 234 if (!helper) in ctnetlink_dump_helpinfo() 240 if (nla_put_string(skb, CTA_HELP_NAME, helper->name)) in ctnetlink_dump_helpinfo() 243 if (helper->to_nlattr) in ctnetlink_dump_helpinfo() 244 helper->to_nlattr(skb, ct); in ctnetlink_dump_helpinfo() 1928 struct nf_conntrack_helper *helper; in ctnetlink_change_helper() local 1947 helper = rcu_dereference(help->helper); in ctnetlink_change_helper() 1948 if (helper && !strcmp(helper->name, helpname)) in ctnetlink_change_helper() 1957 if (help && help->helper) { in ctnetlink_change_helper() [all …]
|
D | nf_conntrack_netbios_ns.c | 47 static struct nf_conntrack_helper helper __read_mostly = { 62 return nf_conntrack_helper_register(&helper); in nf_conntrack_netbios_ns_init() 67 nf_conntrack_helper_unregister(&helper); in nf_conntrack_netbios_ns_fini()
|
D | nf_conntrack_snmp.c | 53 static struct nf_conntrack_helper helper __read_mostly = { 66 return nf_conntrack_helper_register(&helper); in nf_conntrack_snmp_init() 71 nf_conntrack_helper_unregister(&helper); in nf_conntrack_snmp_fini()
|
D | nft_ct.c | 70 const struct nf_conntrack_helper *helper; in nft_ct_get_eval() local 118 helper = rcu_dereference(help->helper); in nft_ct_get_eval() 119 if (helper == NULL) in nft_ct_get_eval() 121 strncpy((char *)dest, helper->name, NF_CT_HELPER_NAME_LEN); in nft_ct_get_eval() 1153 rcu_assign_pointer(help->helper, to_assign); in nft_ct_helper_obj_eval() 1162 const struct nf_conntrack_helper *helper; in nft_ct_helper_obj_dump() local 1167 helper = priv->helper4; in nft_ct_helper_obj_dump() 1170 helper = priv->helper6; in nft_ct_helper_obj_dump() 1173 helper = priv->helper4; in nft_ct_helper_obj_dump() 1176 if (nla_put_string(skb, NFTA_CT_HELPER_NAME, helper->name)) in nft_ct_helper_obj_dump()
|
D | nf_conntrack_proto.c | 131 const struct nf_conntrack_helper *helper; in nf_confirm() local 135 helper = rcu_dereference(help->helper); in nf_confirm() 136 if (helper) { in nf_confirm() 137 ret = helper->help(skb, in nf_confirm()
|
D | nf_conntrack_sip.c | 927 nfct_help(exp->master)->helper != nfct_help(ct)->helper || in set_expected_rtp_rtcp() 1232 struct nf_conntrack_helper *helper; in process_register_request() local 1293 helper = rcu_dereference(nfct_help(ct)->helper); in process_register_request() 1294 if (!helper) in process_register_request() 1300 exp->helper = helper; in process_register_request()
|
D | nf_conntrack_core.c | 1288 if (help && help->helper) in __nf_conntrack_confirm() 1785 if (exp->helper) { in init_conntrack() 1788 rcu_assign_pointer(help->helper, exp->helper); in init_conntrack() 2275 const struct nf_conntrack_helper *helper; in nf_confirm_cthelper() local 2283 helper = rcu_dereference(help->helper); in nf_confirm_cthelper() 2284 if (!helper) in nf_confirm_cthelper() 2287 if (!(helper->flags & NF_CT_HELPER_F_USERSPACE)) in nf_confirm_cthelper()
|
D | nf_conntrack_h323_main.c | 645 exp->helper = &nf_conntrack_helper_h245; in expect_h245() 769 exp->helper = nf_conntrack_helper_q931; in expect_callforwarding() 1236 exp->helper = nf_conntrack_helper_q931; in expect_q931() 1308 exp->helper = nf_conntrack_helper_ras; in process_gcf() 1525 exp->helper = nf_conntrack_helper_q931; in process_acf() 1579 exp->helper = nf_conntrack_helper_q931; in process_lcf()
|
D | Kconfig | 299 tracking doesn't deal with broadcasts. This helper tracks locally 319 tracking doesn't deal with broadcasts. This helper tracks locally 374 TFTP connection tracking helper, this is required depending 875 the helper to be used. 1348 tristate '"helper" match support' 1353 tracked by a conntrack-helper, ie. nf_conntrack_ftp
|
/net/openvswitch/ |
D | conntrack.c | 60 struct nf_conntrack_helper *helper; member 440 const struct nf_conntrack_helper *helper; in ovs_ct_helper() local 455 helper = rcu_dereference(help->helper); in ovs_ct_helper() 456 if (!helper) in ovs_ct_helper() 482 err = helper->help(skb, protoff, ct, ctinfo); in ovs_ct_helper() 705 if (info->helper) { in skb_nfct_cached() 709 if (help && rcu_access_pointer(help->helper) != info->helper) in skb_nfct_cached() 1019 info->helper && !nfct_help(ct)) { in __ovs_ct_lookup() 1356 struct nf_conntrack_helper *helper; in ovs_ct_add_helper() local 1360 helper = nf_conntrack_helper_try_module_get(name, info->family, in ovs_ct_add_helper() [all …]
|
/net/bpfilter/ |
D | Kconfig | 12 tristate "bpfilter kernel module with user mode helper" 17 This builds bpfilter kernel module with embedded user mode helper
|
/net/mpls/ |
D | Kconfig | 22 This is helper module to allow segmentation of non-MPLS GSO packets
|
/net/dns_resolver/ |
D | Kconfig | 20 helper "/sbin/dns.resolver" via /etc/request-key.conf.
|
/net/netfilter/ipvs/ |
D | Kconfig | 319 comment 'IPVS application helper' 322 tristate "FTP protocol helper" 330 clients in ftp connections directly, so FTP protocol helper is
|
/net/ipv4/ |
D | Kconfig | 183 This is helper module to demultiplex GRE packets on GRE version field criteria.
|