-
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
dns: Review for DNS implementation #3823
Conversation
@@ -40,7 +40,7 @@ extern "C" { | |||
#endif | |||
|
|||
/** | |||
* @brief Priority of the pktdump thread | |||
* @brief Priority of the UDP thread |
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.
unrelated. Move this into it's own PR (:
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.
Will do tomorrow. :)
1fc48cb
to
514b669
Compare
b2e7a4a
to
2d34785
Compare
Implementation is finished if you ask me :) maybe sending the RTR_ADV needs some attention to get the DNS servers and send them in his RTR_ADV. |
Great! But please know, that we are currently in feature freeze for the release, so a proper review might take a while. |
Np, enough other stuff to make ^_^ |
@DipSwitch may it be possible to use the conn interface for application protocols? This way other future network stacks would also profit from your implementation. |
For DNS I also need to be able to receive a timeout callback from the timer if the DNS "leases" expire. This can also be done from an |
needs rebase |
How about this one? I don't have the time to rewrite to |
IMO it's fine not to use conn for now. We may consider changing/replacing conn with something simpler anyway IMO. (Just a personal opinion so far.) |
In that case no need to wait for another PR :) Need to squash? |
The conn API still WIP so this one would be postponed. |
@DipSwitch does this PR still waits for another PR? #3921 was closed without merging |
It worked the last time I tested it. And rewriting later isn't a problem :)
|
FYI the sock API introduced in #5533 (rename will happen today) supports timeouts natively. |
@DipSwitch ping? |
GNRC port for |
I heard @kaspar030 is working on a DNS port based on |
Sorry fall of the radar for a while... I can rebase this weekend, tested it a few weeks ago and still works like a charm :) Also porting to sock isn't a problem imho :) |
Postponed due to feature freeze. |
@kaspar030 @DipSwitch ping? |
Yes, I have a working synchronous dns client in https://github.com/kaspar030/sock/tree/master/dns, just need to find time to update nanocoap's makefile to include this. |
This PR does a little more, but I don't have time to review... |
Would review when sock-port is there :-) |
@DipSwitch ping? |
Postponed due to feature freeze |
@DipSwitch any news on the sock adaptation? |
I don't disagree. It seems both PRs are duplicates and unfortunately @DipSwitch hasn't bee available for quite some time. Reopen if I'm mistaken! |
Sorry @DipSwitch and thanks for the efforts you put into this. Hope to see you active again soon. Maybe you can provide help within #6694?! |
Can someone please review my DNS implementation?
Re-Write to use
conn
API depends on #3921Re-Writing to
conn
loses the capability of zero-copy since I now could allocate the packet buffer at maximum size and reallocate it to the size that it actually is after filling it.