$wgDBname
Diagram illustrates packet flow through Atheros8316 switch chip.
Simplified initial egress ports determination. Does not take into account vlan table lookup results + ingress ports vlan-mode.