tb_xdomain_alloc_out_hopid(9)
π tb_xdomain_alloc_out_hopid(9) β like, the Kernel API Manual bestie β¨
okay so real talk, this is tb_xdomain_alloc_out_hopid, straight outta the Kernel API Manual, and it is literally the function that hands you an output HopID for tunneling. yes queen, we're doing Thunderbolt plumbing today π¦
πΈ NAME πΈ
tb_xdomain_alloc_out_hopid β Allocate output HopID for tunneling π«
β¨ SYNOPSIS β¨
int tb_xdomain_alloc_out_hopid (struct tb_xdomain *xd , int hopid );
π ARGUMENTS π
xdβ the XDomain connection, bestie. that's your whole vibe right there π«Άhopidβ your preferred HopID, or-1if you're feeling chaotic and just want the next available one π
π DESCRIPTION π
not me explaining this but okay: the HopID that comes back is guaranteed to be within the range supported by the output lane adapter. no cap, it's fully in range π
and when you're done with it? call tb_xdomain_release_out_hopid to release the allocated HopID. give it back, don't be a HopID hoarder π
π₯ RETURN π₯
- Allocated HopID β on success, slay β¨
-ENOSPCβ if there are no more available HopIDs π the well is dry, bestie- Negative errno β another error occurred, which is giving "it's complicated" π
π SEE ALSO π
Kernel file ./drivers/thunderbolt/xdomain.c plus the whole squad:
tb_xdomain_response(9)tb_xdomain_request(9)tb_register_protocol_handler(9)tb_unregister_protocol_handler(9)tb_register_service_driver(9)tb_unregister_service_driver(9)tb_service_properties_changed(9)tb_xdomain_alloc(9)tb_xdomain_add(9)tb_xdomain_remove(9)tb_xdomain_unregister(9)tb_xdomain_lane_bonding_enable(9)tb_xdomain_lane_bonding_disable(9)tb_xdomain_alloc_in_hopid(9)tb_xdomain_release_in_hopid(9)tb_xdomain_release_out_hopid(9)tb_xdomain_enable_paths(9)tb_xdomain_disable_paths(9)tb_xdomain_find_by_uuid(9)tb_xdomain_find_by_link_depth(9)tb_xdomain_find_by_route(9)tb_register_property_dir(9)tb_unregister_property_dir(9)
ngl if you came here looking for tb_xdomain_release_out_hopid(9), it's right up there in the list, bestie β go be free π§
and that's the page! footer tea: this one lives in ./drivers/thunderbolt, dated October 2026, and it's tb_xdomain_alloc_out_hopid(9) the whole way down. periodt. ππ
π¦ 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