STRUCT FW_CDEV_RECEIVE_PHY_PACKETS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct fw_cdev_receive_phy_packets β€” Kernel API Manual ✨

okay bestie, so this page is literally all about struct fw_cdev_receive_phy_packets, and it's giving "start reception of PHY packets" energy. no cap, that's the whole NAME. let's get into it 🫢


🌸 NAME 🌸

struct fw_cdev_receive_phy_packets β€” start reception of PHY packets πŸ’…


✨ SYNOPSIS ✨

okay so the struct is literally this and nothing else, she's simple and iconic:

struct fw_cdev_receive_phy_packets {
    __u64 closure;
};

πŸŽ€ Members πŸŽ€

  • closure β€” this one gets passed right back to userspace in phy packet events. it's giving "you'll see this again, boo" πŸ’«

πŸ¦‹ Description πŸ¦‹

so basically, this ioctl is the main character that activates the issuing of either FW_CDEV_EVENT_PHY_PACKET_RECEIVED or FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 πŸ”₯ β€” and that happens due to incoming PHY packets from any node on the same bus as the device. like, any node. the whole bus is invited to the party fr fr.

⚠️ but bestie listen β€” this ioctl is only permitted on device files which represent a local node. that's the vibe check and you must pass it, periodt.

🌈 SEE ALSO 🌈

the kernel file is ./include/uapi/linux/firewire-cdev.h and it comes with a whole friend group of structs, iykyk:

  • struct fw_cdev_event_common(9)
  • struct fw_cdev_event_bus_reset(9)
  • struct fw_cdev_event_response(9)
  • struct fw_cdev_event_response2(9)
  • struct fw_cdev_event_request(9)
  • struct fw_cdev_event_request2(9)
  • struct fw_cdev_event_request3(9)
  • struct fw_cdev_event_iso_interrupt(9)
  • struct fw_cdev_event_iso_interrupt_mc(9)
  • struct fw_cdev_event_iso_resource(9)
  • struct fw_cdev_event_phy_packet(9)
  • struct fw_cdev_event_phy_packet2(9)
  • union fw_cdev_event(9)
  • struct fw_cdev_get_info(9)
  • struct fw_cdev_send_request(9)
  • struct fw_cdev_send_response(9)
  • struct fw_cdev_allocate(9)
  • struct fw_cdev_deallocate(9)
  • struct fw_cdev_initiate_bus_reset(9)
  • struct fw_cdev_add_descriptor(9)
  • struct fw_cdev_remove_descriptor(9)
  • struct fw_cdev_create_iso_context(9)
  • struct fw_cdev_set_iso_channels(9)
  • struct fw_cdev_iso_packet(9)
  • struct fw_cdev_queue_iso(9)
  • struct fw_cdev_start_iso(9)
  • struct fw_cdev_stop_iso(9)
  • struct fw_cdev_flush_iso(9)
  • struct fw_cdev_get_cycle_timer(9)
  • struct fw_cdev_get_cycle_timer2(9)
  • struct fw_cdev_allocate_iso_resource(9)
  • struct fw_cdev_send_stream_packet(9)
  • struct fw_cdev_send_phy_packet(9)

and that's the whole page, bestie β€” no skips, no crumbs left behind πŸ§šπŸ’œ

sign-off szn: this lil masterpiece lives in ./include/uapi/linux and the date on it is October 2026 ⭐ so yeah, she's from the future and she ate. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from