/net/netfilter/ |
D | nf_conntrack_helper.c | 57 struct nf_conntrack_helper *helper; in __nf_ct_helper_find() local 65 hlist_for_each_entry_rcu(helper, &nf_ct_helper_hash[h], hnode) { in __nf_ct_helper_find() 66 if (nf_ct_tuple_src_mask_cmp(tuple, &helper->tuple, &mask)) in __nf_ct_helper_find() 67 return helper; in __nf_ct_helper_find() 127 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument 129 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put() 130 module_put(helper->me); in nf_conntrack_helper_put() 186 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument 190 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put() 235 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local [all …]
|
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() 103 if (help->helper->data_len == 0) in nfnl_cthelper_from_nlattr() 115 if (help->helper->data_len && in nfnl_cthelper_to_nlattr() 116 nla_put(skb, CTA_HELP_INFO, help->helper->data_len, &help->data)) in nfnl_cthelper_to_nlattr() 168 nfnl_cthelper_parse_expect_policy(struct nf_conntrack_helper *helper, in nfnl_cthelper_parse_expect_policy() argument [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 help->helper = helper; in xt_ct_set_helper() 183 if (info->helper[0]) { in xt_ct_tg_check() 184 if (strnlen(info->helper, sizeof(info->helper)) == sizeof(info->helper)) { in xt_ct_tg_check() 189 ret = xt_ct_set_helper(ct, info->helper, par); in xt_ct_tg_check() 213 nf_conntrack_helper_put(help->helper); in xt_ct_tg_check() 236 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_check_v0() [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_expect.c | 312 exp->helper = NULL; in nf_ct_expect_init() 372 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() local 380 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert() 382 if (helper) { in nf_ct_expect_insert() 384 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert() 420 struct nf_conntrack_helper *helper; in __nf_ct_expect_check() local 446 helper = rcu_dereference_protected(master_help->helper, in __nf_ct_expect_check() 448 if (helper) { in __nf_ct_expect_check() 449 p = &helper->expect_policy[expect->class]; in __nf_ct_expect_check() 609 struct nf_conntrack_helper *helper; in exp_seq_show() local [all …]
|
D | nf_conntrack_netlink.c | 211 struct nf_conntrack_helper *helper; in ctnetlink_dump_helpinfo() local 217 helper = rcu_dereference(help->helper); in ctnetlink_dump_helpinfo() 218 if (!helper) in ctnetlink_dump_helpinfo() 224 if (nla_put_string(skb, CTA_HELP_NAME, helper->name)) in ctnetlink_dump_helpinfo() 227 if (helper->to_nlattr) in ctnetlink_dump_helpinfo() 228 helper->to_nlattr(skb, ct); in ctnetlink_dump_helpinfo() 1891 struct nf_conntrack_helper *helper; in ctnetlink_change_helper() local 1910 helper = rcu_dereference(help->helper); in ctnetlink_change_helper() 1911 if (helper && !strcmp(helper->name, helpname)) in ctnetlink_change_helper() 1920 if (help && help->helper) { in ctnetlink_change_helper() [all …]
|
D | nf_conntrack_netbios_ns.c | 46 static struct nf_conntrack_helper helper __read_mostly = { 61 return nf_conntrack_helper_register(&helper); in nf_conntrack_netbios_ns_init() 66 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 | 69 const struct nf_conntrack_helper *helper; in nft_ct_get_eval() local 117 helper = rcu_dereference(help->helper); in nft_ct_get_eval() 118 if (helper == NULL) in nft_ct_get_eval() 120 strncpy((char *)dest, helper->name, NF_CT_HELPER_NAME_LEN); in nft_ct_get_eval() 1104 rcu_assign_pointer(help->helper, to_assign); in nft_ct_helper_obj_eval() 1113 const struct nf_conntrack_helper *helper; in nft_ct_helper_obj_dump() local 1118 helper = priv->helper4; in nft_ct_helper_obj_dump() 1121 helper = priv->helper6; in nft_ct_helper_obj_dump() 1124 helper = priv->helper4; in nft_ct_helper_obj_dump() 1127 if (nla_put_string(skb, NFTA_CT_HELPER_NAME, helper->name)) in nft_ct_helper_obj_dump()
|
D | nf_conntrack_broadcast.c | 61 exp->tuple.src.u.udp.port = help->helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help() 69 exp->helper = NULL; in nf_conntrack_broadcast_help()
|
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_core.c | 1174 if (help && help->helper) in __nf_conntrack_confirm() 1595 if (exp->helper) { in init_conntrack() 1598 rcu_assign_pointer(help->helper, exp->helper); in init_conntrack() 2070 const struct nf_conntrack_helper *helper; in nf_confirm_cthelper() local 2078 helper = rcu_dereference(help->helper); in nf_confirm_cthelper() 2079 if (!helper) in nf_confirm_cthelper() 2082 if (!(helper->flags & NF_CT_HELPER_F_USERSPACE)) in nf_confirm_cthelper()
|
D | nf_conntrack_h323_main.c | 692 exp->helper = &nf_conntrack_helper_h245; in expect_h245() 815 exp->helper = nf_conntrack_helper_q931; in expect_callforwarding() 1278 exp->helper = nf_conntrack_helper_q931; in expect_q931() 1350 exp->helper = nf_conntrack_helper_ras; in process_gcf() 1562 exp->helper = nf_conntrack_helper_q931; in process_acf() 1616 exp->helper = nf_conntrack_helper_q931; in process_lcf()
|
D | nf_conntrack_sip.c | 927 nfct_help(exp->master)->helper != nfct_help(ct)->helper || in set_expected_rtp_rtcp() 1295 exp->helper = nfct_help(ct)->helper; in process_register_request()
|
D | Kconfig | 273 tracking doesn't deal with broadcasts. This helper tracks locally 293 tracking doesn't deal with broadcasts. This helper tracks locally 348 TFTP connection tracking helper, this is required depending 827 the helper to be used. 1301 tristate '"helper" match support' 1306 tracked by a conntrack-helper, ie. nf_conntrack_ftp
|
/net/openvswitch/ |
D | conntrack.c | 58 struct nf_conntrack_helper *helper; member 436 const struct nf_conntrack_helper *helper; in ovs_ct_helper() local 451 helper = rcu_dereference(help->helper); in ovs_ct_helper() 452 if (!helper) in ovs_ct_helper() 478 err = helper->help(skb, protoff, ct, ctinfo); in ovs_ct_helper() 701 if (info->helper) { in skb_nfct_cached() 705 if (help && rcu_access_pointer(help->helper) != info->helper) in skb_nfct_cached() 1015 if (info->commit && info->helper && !nfct_help(ct)) { in __ovs_ct_lookup() 1337 struct nf_conntrack_helper *helper; in ovs_ct_add_helper() local 1341 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 | 307 comment 'IPVS application helper' 310 tristate "FTP protocol helper" 318 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.
|