Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 107) sorted by relevance

12345

/net/nfc/
Ddigital_technology.c173 struct nfc_target *target);
226 struct nfc_target *target = arg; in digital_in_recv_ats() local
249 rc = digital_target_found(ddev, target, NFC_PROTO_ISO14443); in digital_in_recv_ats()
253 kfree(target); in digital_in_recv_ats()
260 struct nfc_target *target) in digital_in_send_rats() argument
273 target); in digital_in_send_rats()
283 struct nfc_target *target = arg; in digital_in_recv_sel_res() local
310 rc = digital_in_send_sdd_req(ddev, target); in digital_in_recv_sel_res()
317 target->sel_res = sel_res; in digital_in_recv_sel_res()
324 rc = digital_in_send_rats(ddev, target); in digital_in_recv_sel_res()
[all …]
/net/netfilter/
Dnft_compat.c66 par->target = xt; in nft_compat_set_par()
76 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() local
80 nft_compat_set_par((struct xt_action_param *)&pkt->xt, target, info); in nft_target_eval_xt()
82 ret = target->target(skb, &pkt->xt); in nft_target_eval_xt()
102 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() local
106 nft_compat_set_par((struct xt_action_param *)&pkt->xt, target, info); in nft_target_eval_bridge()
108 ret = target->target(skb, &pkt->xt); in nft_target_eval_bridge()
141 struct xt_target *target, void *info, in nft_target_set_tgchk_param() argument
166 par->target = target; in nft_target_set_tgchk_param()
225 struct xt_target *target = expr->ops->data; in nft_target_init() local
[all …]
Dx_tables.c52 struct list_head target; member
72 int xt_register_target(struct xt_target *target) in xt_register_target() argument
74 u_int8_t af = target->family; in xt_register_target()
77 list_add(&target->list, &xt[af].target); in xt_register_target()
84 xt_unregister_target(struct xt_target *target) in xt_unregister_target() argument
86 u_int8_t af = target->family; in xt_unregister_target()
89 list_del(&target->list); in xt_unregister_target()
95 xt_register_targets(struct xt_target *target, unsigned int n) in xt_register_targets() argument
101 err = xt_register_target(&target[i]); in xt_register_targets()
109 xt_unregister_targets(target, i); in xt_register_targets()
[all …]
Dxt_NFQUEUE.c79 if (par->target->revision == 2 && info->flags > 1) in nfqueue_tg_check()
81 if (par->target->revision == 3 && info->flags & ~NFQ_FLAG_MASK) in nfqueue_tg_check()
116 .target = nfqueue_tg,
125 .target = nfqueue_tg_v1,
134 .target = nfqueue_tg_v2,
143 .target = nfqueue_tg_v3,
DKconfig67 `CONNMARK' target and `connmark' match. Similar to the mark value
78 packets using the CONNSECMARK target and copied back from
79 connections to packets with the same target, with the packets
123 via the CT target.
575 x_tables match/target extensions over the nf_tables
620 tristate 'nfmark target and match support'
623 This option adds the "MARK" target and "mark" match.
627 The target allows you to create rules in the "mangle" table which alter
634 tristate 'ctmark target and match support'
639 This option adds the "CONNMARK" target and "connmark" match.
[all …]
Dxt_nat.c23 par->target->name); in xt_nat_checkentry_v0()
109 .target = xt_snat_target_v0,
121 .target = xt_dnat_target_v0,
132 .target = xt_snat_target_v1,
142 .target = xt_dnat_target_v1,
Dxt_DSCP.c121 .target = dscp_tg,
130 .target = dscp_tg6,
140 .target = tos_tg,
149 .target = tos_tg6,
/net/bridge/netfilter/
Debt_mark.c25 int action = info->target & -16; in ebt_mark_tg()
36 return info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg()
44 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg_check()
49 tmp = info->target & ~EBT_VERDICT_BITS; in ebt_mark_tg_check()
58 compat_uint_t target; member
67 kern->target = user->target; in mark_tg_compat_from_user()
76 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
86 .target = ebt_mark_tg,
Debt_snat.c28 if (!(info->target & NAT_ARP_BIT) && in ebt_snat_tg()
42 return info->target | ~EBT_VERDICT_BITS; in ebt_snat_tg()
50 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_snat_tg_check()
56 tmp = info->target | EBT_VERDICT_BITS; in ebt_snat_tg_check()
68 .target = ebt_snat_tg,
DKconfig126 the 'nfmark' value in the frame. This can be set by the mark target.
128 target.
161 tristate "ebt: arp reply target support"
164 This option adds the arp reply target, which allows
170 tristate "ebt: dnat target support"
172 This option adds the MAC DNAT target, which allows altering the MAC
178 tristate "ebt: mark target support"
180 This option adds the mark target, which allows marking frames by
183 target.
188 tristate "ebt: redirect target support"
[all …]
Debtables.c91 par->target = w->u.watcher; in ebt_do_watcher()
93 w->u.watcher->target(skb, par); in ebt_do_watcher()
242 if (!t->u.target->target) in ebt_do_table()
245 acpar.target = t->u.target; in ebt_do_table()
247 verdict = t->u.target->target(skb, &acpar); in ebt_do_table()
411 par->target = watcher; in ebt_check_watcher()
618 par.target = w->u.watcher; in ebt_cleanup_watcher()
621 if (par.target->destroy != NULL) in ebt_cleanup_watcher()
622 par.target->destroy(&par); in ebt_cleanup_watcher()
623 module_put(par.target->me); in ebt_cleanup_watcher()
[all …]
Debt_dnat.c26 return info->target; in ebt_dnat_tg()
34 if (BASE_CHAIN && info->target == EBT_RETURN) in ebt_dnat_tg_check()
55 .target = ebt_dnat_tg,
/net/nfc/nci/
Dntf.c193 struct nfc_target *target, in nci_add_new_protocol() argument
230 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
231 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
232 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
233 if (target->nfcid1_len > 0) { in nci_add_new_protocol()
234 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol()
235 target->nfcid1_len); in nci_add_new_protocol()
240 target->sensb_res_len = nfcb_poll->sensb_res_len; in nci_add_new_protocol()
241 if (target->sensb_res_len > 0) { in nci_add_new_protocol()
242 memcpy(target->sensb_res, nfcb_poll->sensb_res, in nci_add_new_protocol()
[all …]
/net/sched/
Dact_ipt.c43 struct xt_target *target; in ipt_init_target() local
47 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target()
49 if (IS_ERR(target)) in ipt_init_target()
50 return PTR_ERR(target); in ipt_init_target()
52 t->u.kernel.target = target; in ipt_init_target()
56 par.target = target; in ipt_init_target()
63 module_put(t->u.kernel.target->me); in ipt_init_target()
72 .target = t->u.kernel.target, in ipt_destroy_target()
76 if (par.target->destroy != NULL) in ipt_destroy_target()
77 par.target->destroy(&par); in ipt_destroy_target()
[all …]
Dsch_pie.c41 psched_time_t target; /* user specified target delay in pschedtime */ member
85 params->target = PSCHED_NS2TICKS(20 * NSEC_PER_MSEC); /* 20 ms */ in pie_params_init()
112 if ((q->vars.qdelay < q->params.target / 2) in drop_early()
202 u32 target = nla_get_u32(tb[TCA_PIE_TARGET]); in pie_change() local
205 q->params.target = PSCHED_NS2TICKS((u64)target * NSEC_PER_USEC); in pie_change()
365 delta += alpha * ((qdelay - q->params.target)); in calculate_probability()
418 if ((q->vars.qdelay < q->params.target / 2) && in calculate_probability()
419 (q->vars.qdelay_old < q->params.target / 2) && in calculate_probability()
473 ((u32) PSCHED_TICKS2NS(q->params.target)) / in pie_dump()
/net/ipv4/netfilter/
Darpt_mangle.c12 target(struct sk_buff *skb, const struct xt_action_param *par) in target() function
54 return mangle->target; in target()
65 if (mangle->target != NF_DROP && mangle->target != NF_ACCEPT && in checkentry()
66 mangle->target != XT_CONTINUE) in checkentry()
74 .target = target,
Dip_tables.c172 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum()
174 *chainname = t->target.data; in get_chainname_rulenum()
180 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum()
319 IP_NF_ASSERT(t->u.kernel.target); in ipt_do_table()
328 if (!t->u.kernel.target->target) { in ipt_do_table()
360 acpar.target = t->u.kernel.target; in ipt_do_table()
363 verdict = t->u.kernel.target->target(skb, &acpar); in ipt_do_table()
414 (strcmp(t->target.u.user.name, in mark_source_chains()
419 if ((strcmp(t->target.u.user.name, in mark_source_chains()
451 if (strcmp(t->target.u.user.name, in mark_source_chains()
[all …]
Darp_tables.c243 if (!t->u.kernel.target->target) { in arpt_do_table()
275 acpar.target = t->u.kernel.target; in arpt_do_table()
277 verdict = t->u.kernel.target->target(skb, &acpar); in arpt_do_table()
342 (strcmp(t->target.u.user.name, in mark_source_chains()
347 if ((strcmp(t->target.u.user.name, in mark_source_chains()
380 if (strcmp(t->target.u.user.name, in mark_source_chains()
412 .target = t->u.kernel.target, in check_target()
426 struct xt_target *target; in find_check_entry() local
433 target = xt_request_find_target(NFPROTO_ARP, t->u.user.name, in find_check_entry()
435 if (IS_ERR(target)) { in find_check_entry()
[all …]
Dnf_nat_l3proto_ipv4.c81 const struct nf_conntrack_tuple *target, in nf_nat_ipv4_manip_pkt() argument
94 target, maniptype)) in nf_nat_ipv4_manip_pkt()
99 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); in nf_nat_ipv4_manip_pkt()
100 iph->saddr = target->src.u3.ip; in nf_nat_ipv4_manip_pkt()
102 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); in nf_nat_ipv4_manip_pkt()
103 iph->daddr = target->dst.u3.ip; in nf_nat_ipv4_manip_pkt()
190 struct nf_conntrack_tuple target; in nf_nat_icmp_reply_translation() local
235 nf_ct_invert_tuplepr(&target, &ct->tuplehash[!dir].tuple); in nf_nat_icmp_reply_translation()
237 if (!nf_nat_ipv4_manip_pkt(skb, 0, l4proto, &target, manip)) in nf_nat_icmp_reply_translation()
/net/vmw_vsock/
Dvmci_transport_notify.h50 int (*poll_in) (struct sock *sk, size_t target,
52 int (*poll_out) (struct sock *sk, size_t target,
59 int (*recv_init) (struct sock *sk, size_t target,
61 int (*recv_pre_block) (struct sock *sk, size_t target,
63 int (*recv_pre_dequeue) (struct sock *sk, size_t target,
65 int (*recv_post_dequeue) (struct sock *sk, size_t target,
Dvmci_transport_notify_qstate.c168 size_t target, bool *data_ready_now) in vmci_transport_notify_pkt_poll_in() argument
189 size_t target, bool *space_avail_now) in vmci_transport_notify_pkt_poll_out() argument
211 size_t target, in vmci_transport_notify_pkt_recv_init() argument
220 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { in vmci_transport_notify_pkt_recv_init()
221 PKT_FIELD(vsk, write_notify_min_window) = target + 1; in vmci_transport_notify_pkt_recv_init()
243 size_t target, in vmci_transport_notify_pkt_recv_pre_block() argument
263 size_t target, in vmci_transport_notify_pkt_recv_post_dequeue() argument
399 size_t target, in vmci_transport_notify_pkt_recv_pre_dequeue() argument
Dvmci_transport_notify.c347 size_t target, bool *data_ready_now) in vmci_transport_notify_pkt_poll_in() argument
371 size_t target, bool *space_avail_now) in vmci_transport_notify_pkt_poll_out() argument
401 size_t target, in vmci_transport_notify_pkt_recv_init() argument
412 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { in vmci_transport_notify_pkt_recv_init()
413 PKT_FIELD(vsk, write_notify_min_window) = target + 1; in vmci_transport_notify_pkt_recv_init()
437 size_t target, in vmci_transport_notify_pkt_recv_pre_block() argument
443 if (!send_waiting_read(sk, target)) { in vmci_transport_notify_pkt_recv_pre_block()
463 size_t target, in vmci_transport_notify_pkt_recv_pre_dequeue() argument
483 size_t target, in vmci_transport_notify_pkt_recv_post_dequeue() argument
/net/ipv6/netfilter/
Dip6_tables.c206 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum()
208 *chainname = t->target.data; in get_chainname_rulenum()
214 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum()
351 IP_NF_ASSERT(t->u.kernel.target); in ip6t_do_table()
360 if (!t->u.kernel.target->target) { in ip6t_do_table()
390 acpar.target = t->u.kernel.target; in ip6t_do_table()
393 verdict = t->u.kernel.target->target(skb, &acpar); in ip6t_do_table()
442 (strcmp(t->target.u.user.name, in mark_source_chains()
447 if ((strcmp(t->target.u.user.name, in mark_source_chains()
479 if (strcmp(t->target.u.user.name, in mark_source_chains()
[all …]
/net/ipv6/
Dexthdrs_core.c186 int target, unsigned short *fragoff, int *flags) in ipv6_find_hdr() argument
212 found = (nexthdr == target); in ipv6_find_hdr()
215 if (target < 0 || found) in ipv6_find_hdr()
253 if (target < 0 && in ipv6_find_hdr()
271 if (flags && (*flags & IP6_FH_F_AUTH) && (target < 0)) in ipv6_find_hdr()
Dndisc.c538 .target = *solicited_addr, in ndisc_send_na()
601 .target = *solicit, in ndisc_send_ns()
682 struct in6_addr *target = (struct in6_addr *)&neigh->primary_key; in ndisc_solicit() local
694 __func__, target); in ndisc_solicit()
696 ndisc_send_ns(dev, target, target, saddr); in ndisc_solicit()
700 addrconf_addr_solict_mult(target, &mcaddr); in ndisc_solicit()
701 ndisc_send_ns(dev, target, &mcaddr, saddr); in ndisc_solicit()
751 if (ipv6_addr_is_multicast(&msg->target)) { in ndisc_recv_ns()
792 ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1); in ndisc_recv_ns()
826 ifp = ipv6_get_ifaddr(net, &msg->target, mdev, 1); in ndisc_recv_ns()
[all …]

12345