Understanding swarmkit routing mesh

Hello everyone, I am currently trying to understand how the swarmkit routing mesh works (behind the hoods), I searched the swarmkit GitHub repo but it did not yield many results, where can I get the part of the swarmkit repository that implements the routing mesh.

Thanks