Git Product home page Git Product logo

netmap-tutorial's People

Contributors

giuseppelettieri avatar vmaffione avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netmap-tutorial's Issues

make error

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)) {

typo error on vale-tutorial.pdf page 16

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.

Don't get TCP packets when expected with netmap

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!

nm_recv.c.txt

Cannot load mymodule_lin.ko

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.