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.c272 if (dev->targets[i].idx == target_idx) in nfc_find_target()
273 return &dev->targets[i]; in nfc_find_target()
764 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
771 targets[i].idx = dev->target_next_idx++; in nfc_targets_found()
784 kfree(dev->targets); in nfc_targets_found()
785 dev->targets = NULL; in nfc_targets_found()
787 if (targets) { in nfc_targets_found()
788 dev->targets = kmemdup(targets, in nfc_targets_found()
792 if (!dev->targets) { in nfc_targets_found()
830 tg = &dev->targets[i]; in nfc_target_lost()
[all …]
Dnetlink.c153 rc = nfc_genl_send_target(skb, &dev->targets[i], cb, in nfc_genl_dump_targets()
/net/nfc/nci/
Dntf.c272 target = &ndev->targets[i]; in nci_add_new_target()
288 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()
304 memset(ndev->targets, 0, in nci_clear_target_list()
368 nfc_targets_found(ndev->nfc_dev, ndev->targets, in nci_rf_discover_ntf_packet()
451 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()
465 nfc_targets_found(ndev->nfc_dev, ndev->targets, ndev->n_targets); in nci_target_auto_activated()
Dcore.c886 if (ndev->targets[i].idx == target->idx) { in nci_activate_target()
887 nci_target = &ndev->targets[i]; in nci_activate_target()
/net/ipv4/netfilter/
DKconfig174 # `filter', generic and specific targets
210 # NAT + specific targets: nf_conntrack
253 # mangle + specific targets
302 # raw + specific targets
/net/bridge/netfilter/
DKconfig175 # targets
/net/ipv6/netfilter/
DKconfig181 # The targets
/net/netfilter/
DKconfig763 # alphabetically ordered list of targets
765 comment "Xtables targets"
861 targets, which enable the user to change the
942 tristate '"SNAT and DNAT" targets support'
945 This option enables the SNAT and DNAT targets.
/net/sched/
DKconfig700 tristate "IPtables targets"
703 Say Y here to be able to invoke iptables targets after successful