netmap-unipi / netmap-tutorial Goto Github PK
View Code? Open in Web Editor NEWNetmap tutorial at SIGCOMM 2017 and AsiaBSDCon 2018
Netmap tutorial at SIGCOMM 2017 and AsiaBSDCon 2018
Sink.c: In the function ‘udp_port_match’:
Sink.c:52:13: Error: ‘struct udphdr’ does not have a member named ‘uh_dport’
If (udph->uh_dport == htons(udp_port)) {
vale-tutorial.pdf page 16:
% pkt-gen -i vale0:vi0 –f tx (another terminal)
% pkt-gen -i vale0:vi1 –f rx % vale-ctl –n vi2
% vale-ctl –a vale0:vi2 (another terminal)
% pkt-gen –i vale0:vi2 –f tx (you don't see packets)
# it should be -f rx, since the module logic is to send packets
to port +1, 0 tx, 1 rx, so 2 can not receive packets.
I retrofitted sink.c
to receive TCP instead of UDP, but for some reason, no TCP packets are received when I issue a TCP connect from elsewhere.
Exact same actions with tcpdump and, naturally, I would see a few TCP packets coming through and I would expect same behavior with tcp-ed sync.c (attched as nm_recv.c.txt), but no, I only see a few ARP packets coming through after a TCP connect (followed by a bunch of unrelated IPPROTO_UDP (type 17) or IPPROTO_IGMP (2), but no IPPROTO_TCP (6) whatsoever). I tried googling netmap tcp tutorial, but only presentations/info I already saw earlier come up (as well as Sandstorm). Would greatly appreciate a netmap-TCP tutorial or example. Thank you very much!
mymodule_lin: Unknown symbol netmap_bdg_ctl (err 0)
mymodule_lin: Unknown symbol netmap_bdg_learning (err 0)
These are the errors printed by "dmesg | tail"
I downloaded this repo, and in "mymodule/LINUX" I typed:
make KSRC=/usr/src/linux-headers-XXX NSRC=/home/XXX/netmap
or
make KSRC=/usr/src/linux-sources-XXX NSRC=/home/XXX/netmap
neither worked
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.