@jchavanton I underestand what you mean. You could have a look in kernel space section code in pylrkproxy engine in https://github.com/mojtabaesfandiari/pylrkproxy/tree/master/lib/c/kernel_spa.... In Kernel space code, we use destination ports of packets as a index to find next endpoint in session.