qeth_bridge_emit_host_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qeth_bridge_emit_host_event(9) β€” the Kernel API Manual era

okay so bestie, we're in the Kernel API Manual today and the main character is qeth_bridge_emit_host_event πŸŽ€ this one is literally the bridgeport address change notification girlie, and she's out here telling the world (well, udev) when addresses move. no cap.


✨ NAME ✨

qeth_bridge_emit_host_event β€” bridgeport address change notification πŸ¦‹


🌸 SYNOPSIS 🌸

void qeth_bridge_emit_host_event (struct qeth_card *card , enum
qeth_an_event_type evtype , u8 code , struct net_if_token *token ,
struct mac_addr_lnid *addr_lnid );

she takes five args and returns nothing. void queen behavior, honestly πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • card β€” a qeth_card structure pointer, used for udev events. it's giving "here's the context bestie" 🫢
  • evtype β€” "normal" register/unregister, or abort, or reset. heads up: for abort and reset, token and addr_lnid are unused and may be NULL 🫧 (so like, don't stress about filling them in for those two, fr fr)
  • code β€” the event bitmask, and pay attention because this is the whole vibe check:
    • high order bit 0x80 with value 1 means removal of an object, 0 means addition of an object
    • 0x01 β€” VLAN
    • 0x02 β€” MAC
    • 0x03 β€” VLAN and MAC
  • token β€” a "network token" structure identifying the physical address of the port πŸ”₯
  • addr_lnid β€” pointer to a structure with MAC address and VLAN ID πŸ“

πŸ‘‘ DESCRIPTION πŸ‘‘

so the way that this works: this function gets called when registrations and deregistrations are reported by the hardware 😭 and also when notifications are enabled β€” for all currently registered addresses. like she shows up for the whole roster, not just the new girls. iconic. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/s390/net/qeth_l2_main.c and her whole friend group:


πŸ’€ friendly reminder: abort and reset events genuinely don't touch token or addr_lnid, so NULL is allowed there β€” not a bug, that's just her lifestyle.

okay that's the whole page, you ate that πŸ’… this came from ./drivers/s390/net, October 2026, filed under qeth_bridge_emit_host_event(9) β€” mwah, go forth and emit those events babes πŸŒˆπŸ’œ

πŸ“¦ where this page comes from