-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng_tapnet: initial import of a pure Ethernet device for native #2558
Conversation
} | ||
#endif | ||
|
||
static int _marshall_ethernet(ng_tapnet_t *dev, uint8_t *buffer, ng_pktsnip_t *pkt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reversed packet order for sending in ng_pktbuf
makes this very clunky, since I basically need to start at the end of a single linked list and than have to work my way up to the front. Any idea @haukepetersen?
46ad7f3
to
d2a24a1
Compare
Tested with adapted version of #2525. |
b398a76
to
ecd439e
Compare
Rebased to #2579. |
I think you're eager to get an award for using the most labels. ;) |
Sure, just let me add a Windows implementation and some Make system changes for this and I'm good to go ;-P |
0dec700
to
367ca79
Compare
added #2598 as a dependency |
644d9c3
to
2a712cb
Compare
Rebased to current master |
bb0116d
to
7ba0fd0
Compare
Can you describe this in more detail? |
Can't reproduce.. today no packets are received at all. |
I just noticed: If I don't rebase on master, it doesn't build at all:
|
Needs rebase I guess :-) |
f2a3071
to
a2b10da
Compare
Rebased to current #2600 and addressed some comments. (#2558 (comment) needs a bigger overhaul). |
Is the test working for you? (On a set of interfaces freshly created with |
} | ||
} | ||
else { | ||
errx(EXIT_FAILURE, "internal error _rx_event"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compare #2686
I'd like to take this over, working on it right now. |
Please do :-) |
Superseded by #2776 |
This introduces
ng_tapnet
which is basicallynativenet
without all the RIOT-proprietary headers (so pure Ethernet frames) but with full ng_netdev support.Depends on #2661(merged).Depends on #2706(merged).Depends on #2600 for multicast.
Open issues: