nfc_alloc_recv_skb(9)
β¨ nfc_alloc_recv_skb β¨
okay so bestie, welcome to the Kernel API Manual π you're literally about to learn how to grab yourself an skb for data exchange responses, and honestly? it's giving essential NFC core knowledge π¦
πΈ NAME πΈ
nfc_alloc_recv_skb β allocate a skb for data exchange responses π
like, that's the whole job. it hands you a socket buffer so your data exchange replies have somewhere cute to live π
β SYNOPSIS β
struct sk_buff * nfc_alloc_recv_skb (unsigned int size , gfp_t gfp );
no cap, that's the whole signature β it returns a struct sk_buff * and takes two lil arguments π«Ά
π ARGUMENTS π
sizeβ size to allocate π this is literally how much room you're asking for, so pick it wisely bestiegfpβ gfp flags β the allocation vibes, passed straight through
π¦ SEE ALSO π¦
main character energy lives in the kernel file ./net/nfc/core.c π₯ and here's the whole friend group, no one left out:
nfc_fw_download_done(9)nfc_dev_up(9)nfc_dev_down(9)nfc_start_poll(9)nfc_stop_poll(9)nfc_activate_target(9)nfc_deactivate_target(9)nfc_data_exchange(9)nfc_alloc_send_skb(9)nfc_targets_found(9)nfc_target_lost(9)nfc_allocate_device(9)nfc_register_device(9)nfc_unregister_rfkill(9)nfc_remove_device(9)nfc_unregister_device(9)
π and that's the page, bestie! this icon lives at ./net/nfc, dated October 2026, and it's part of the Kernel API Manual β go forth and allocate slayfully β¨ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms