Home
last modified time | relevance | path

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

/net/nfc/hci/
Dcore.c286 struct nfc_target *targets; in nfc_hci_target_discovered() local
294 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in nfc_hci_target_discovered()
295 if (targets == NULL) in nfc_hci_target_discovered()
315 targets->supported_protocols = in nfc_hci_target_discovered()
317 if (targets->supported_protocols == 0xffffffff) { in nfc_hci_target_discovered()
322 targets->sens_res = be16_to_cpu(*(__be16 *)atqa_skb->data); in nfc_hci_target_discovered()
323 targets->sel_res = sak_skb->data[0]; in nfc_hci_target_discovered()
335 memcpy(targets->nfcid1, uid_skb->data, uid_skb->len); in nfc_hci_target_discovered()
336 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()
340 targets); in nfc_hci_target_discovered()
[all …]
/net/nfc/
Dcore.c273 if (dev->targets[i].idx == target_idx) in nfc_find_target()
274 return &dev->targets[i]; in nfc_find_target()
769 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
776 targets[i].idx = dev->target_next_idx++; in nfc_targets_found()
789 kfree(dev->targets); in nfc_targets_found()
790 dev->targets = NULL; in nfc_targets_found()
792 if (targets) { in nfc_targets_found()
793 dev->targets = kmemdup(targets, in nfc_targets_found()
797 if (!dev->targets) { in nfc_targets_found()
835 tg = &dev->targets[i]; in nfc_target_lost()
[all …]
Dnetlink.c145 rc = nfc_genl_send_target(skb, &dev->targets[i], cb, in nfc_genl_dump_targets()
/net/nfc/nci/
Dntf.c294 target = &ndev->targets[i]; in nci_add_new_target()
310 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()
326 memset(ndev->targets, 0, in nci_clear_target_list()
390 nfc_targets_found(ndev->nfc_dev, ndev->targets, in nci_rf_discover_ntf_packet()
475 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()
489 nfc_targets_found(ndev->nfc_dev, ndev->targets, ndev->n_targets); in nci_target_auto_activated()
Dcore.c900 if (ndev->targets[i].idx == target->idx) { in nci_activate_target()
901 nci_target = &ndev->targets[i]; in nci_activate_target()
/net/ipv4/netfilter/
DKconfig180 # `filter', generic and specific targets
216 # NAT + specific targets: nf_conntrack
259 # mangle + specific targets
308 # raw + specific targets
/net/bridge/netfilter/
DKconfig173 # targets
/net/netfilter/
DKconfig791 # alphabetically ordered list of targets
793 comment "Xtables targets"
889 targets, which enable the user to change the
969 tristate '"SNAT and DNAT" targets support'
972 This option enables the SNAT and DNAT targets.
/net/ipv6/netfilter/
DKconfig184 # The targets
/net/sched/
DKconfig776 tristate "IPtables targets"
779 Say Y here to be able to invoke iptables targets after successful