qeth_bridge_emit_host_event(9)
π 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β aqeth_cardstructure 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,tokenandaddr_lnidare unused and may beNULLπ«§ (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
0x80with value1means removal of an object,0means addition of an object 0x01β VLAN0x02β MAC0x03β VLAN and MAC
- high order bit
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:
qeth_l2_pnso(9)qeth_l2_dev2br_fdb_notify(9)qeth_l2_dev2br_an_set(9)qeth_l2_br2dev_worker(9)qeth_l2_bridge_setlink(9)qeth_l2_detect_dev2br_support(9)qeth_bridgeport_query_support(9)qeth_bridgeport_query_ports(9)qeth_bridgeport_setrole(9)qeth_bridgeport_an_set(9)qeth_bridgeport_allowed(9)
π friendly reminder: abort and reset events genuinely don't touchtokenoraddr_lnid, soNULLis 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
- 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