oonf_api: adapt for new sockets#3882
Conversation
32465ed to
8fad5d2
Compare
|
Rebased to current #3646. |
9b54f64 to
bff4a03
Compare
|
And now it's finally working! |
|
Oh boy :D Nice one :) I'm assuming the non-patch files are from a PR this PR depends on? (I'm sorry I'm not very up to speed currently, things have been a bit hectic :S) Edit: reading properly can go a long way >.< sorry, will have a look. |
bff4a03 to
73e58f8
Compare
Yes this PR is essentially only |
73e58f8 to
13b11e2
Compare
|
Rebased to current #3646 |
13b11e2 to
48810fa
Compare
|
Rebased to current #3646 |
There was a problem hiding this comment.
tbh I don't quite get this line :/ If the address family is v4, assume src is a sockaddr_in6 but then set its family to AF_INET instead of AF_INET6?
There was a problem hiding this comment.
You are right. That's an error. Will fix!
There was a problem hiding this comment.
Errr.... This change removes this line from the patch… reading diffs to diffs is hell :D
447b8f0 to
d74bb80
Compare
|
Rebased and squashed to current master |
fd3bffc to
63644e1
Compare
|
Whats the state on this? @Lotterleben: were you able to test this? And can you give an ack? |
63644e1 to
75b0962
Compare
|
Rebased to current master |
|
To make things easier: here's what this PR does to oonf: The patches changing types for use with |
|
RIOT's POSIX sockets do not support |
|
@haukepetersen I couldn't test it with my AODVv2 packets (still waaay behind on that port... doesnt have sockets again yet ^^), but I'll try with the oonf example app. |
|
nice. Lets try to get this in ASAP - as the CC110x driver is almost in, this is pretty much the last thing needed to get the RC out... |
|
Martine, were you able to build the exmaple app from within Edit: I think its the latter. Nevermind me then ^^ Sry |
|
I have to confess that I only tested if |
|
oh my god... the makefiles for these are like ten versions out dated Oo will fix. |
|
Mh… all the applications don't seem to use sockets anyway, if I see that correctly. Question is: What do you want to test then? |
75b0962 to
3536c84
Compare
|
Adapted example and tests Makefiles (though I don't understand how the mechanism is supposed to work with the tests) and squashed immediately. |
|
Let's see what Travis says. |
|
Travis is happy -> I would say we merge... |
|
There is no application that actually builds this modules, so I would be very happy if someone at least tries to compile it ;-) |
|
pkg/oonf_api/oonf_api/examples/rfc5444_reader_writer/ builds for me on native and on iotlab-m3 if I specify |
|
Should be enough for now. I'm not willing to fix other peoples errors right now ;-) |
oonf_api: adapt for new sockets
|
post ACK |
|
Sorry 😥 |
Adapts
oonf_apito useposix_socketsinstead ofpnet(inpkg/oonf_api/0001-add-RIOT-support.patch) and updates the following patches accordingly.Depends on #3646(merged) for functionality, but should also compile without it.