3 ms·
I've never seen snabbswitch before, are there any lua extensions to get it to emulate tcp/ip stack and present the data stream to your lua code??
by easytiger 12y ago
I've never seen snabbswitch before, are there any lua extensions to get it to emulate tcp/ip stack and present the data stream to your lua code??
- metafex 12y agoIt basically talks to certain network-cards directly, bypassing the TCP/IP stack. AFAIK it presents raw ethernet packets to the lua code which have to be parsed by the application (i don't know exactly if there isn't some code present in the repo to deal with sockets and such directly). The repo: https://github.com/SnabbCo/snabbswitch https://github.com/SnabbCo/snabbswitch Under src/apps there are some examples.
- srcmap 12y agois it a .ko or an user space app?
- justincormack 12y agoUserspace, it mmaps that PCI space itself.