Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 10 of 10) sorted by relevance

/net/nfc/
Dcore.c231 if (dev->targets[i].idx == target_idx) in nfc_find_target()
232 return &dev->targets[i]; in nfc_find_target()
608 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
615 targets[i].idx = dev->target_next_idx++; in nfc_targets_found()
628 kfree(dev->targets); in nfc_targets_found()
629 dev->targets = NULL; in nfc_targets_found()
631 if (targets) { in nfc_targets_found()
632 dev->targets = kmemdup(targets, in nfc_targets_found()
636 if (!dev->targets) { in nfc_targets_found()
674 tg = &dev->targets[i]; in nfc_target_lost()
[all …]
Dnetlink.c148 rc = nfc_genl_send_target(skb, &dev->targets[i], cb, in nfc_genl_dump_targets()
/net/nfc/hci/
Dcore.c194 struct nfc_target *targets; in nfc_hci_target_discovered() local
202 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in nfc_hci_target_discovered()
203 if (targets == NULL) in nfc_hci_target_discovered()
223 targets->supported_protocols = in nfc_hci_target_discovered()
225 if (targets->supported_protocols == 0xffffffff) { in nfc_hci_target_discovered()
230 targets->sens_res = be16_to_cpu(*(u16 *)atqa_skb->data); in nfc_hci_target_discovered()
231 targets->sel_res = sak_skb->data[0]; in nfc_hci_target_discovered()
243 memcpy(targets->nfcid1, uid_skb->data, uid_skb->len); in nfc_hci_target_discovered()
244 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()
248 targets); in nfc_hci_target_discovered()
[all …]
/net/nfc/nci/
Dntf.c234 target = &ndev->targets[i]; in nci_add_new_target()
250 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()
266 memset(ndev->targets, 0, in nci_clear_target_list()
325 nfc_targets_found(ndev->nfc_dev, ndev->targets, in nci_rf_discover_ntf_packet()
399 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()
413 nfc_targets_found(ndev->nfc_dev, ndev->targets, ndev->n_targets); in nci_target_auto_activated()
Dcore.c517 if (ndev->targets[i].idx == target->idx) { in nci_activate_target()
518 nci_target = &ndev->targets[i]; in nci_activate_target()
/net/ipv4/netfilter/
DKconfig92 # `filter', generic and specific targets
133 # NAT + specific targets: nf_conntrack
220 # mangle + specific targets
268 # raw + specific targets
/net/ipv6/netfilter/
DKconfig126 # The targets
/net/bridge/netfilter/
DKconfig136 # targets
/net/sched/
DKconfig579 tristate "IPtables targets"
582 Say Y here to be able to invoke iptables targets after successful
/net/netfilter/
DKconfig477 # alphabetically ordered list of targets
479 comment "Xtables targets"
575 targets, which enable the user to change the