mcl_core_bridge_inbound (mcl_core v1.0.0)
View SourceThe bridge's handler for an exported capability the LAN serves (docs/DESIGN.md §3, mcl-core#7): each mesh call is forwarded into the LAN transport with caller set to the mesh caller, as macula verified it (macula_response:caller/0).
The serving member decides the call as it decides any LAN call, with the mesh caller in place of a cluster node: its auth ({callers, {nodes, Ids}} against the mesh caller's id), then its guard pipeline, which counts the mesh caller. The guard runs there and only there: the bridge's own advertisement is unguarded (guard => none), so a forwarded call is counted once, not twice. macula's link has already applied the capability's auth at the bridge before this handler runs.