dns: handle incoming packets in the separate dns_recv() function
The separation of incoming packets handling makes it much easier
to run barebox dns client on top of picotcp network stack in the future.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 69957c5 commit 8bbc1064c78cdf658c837b996170b8eab8cbcb3d
@Antony Pavlov Antony Pavlov authored on 30 Jun 2015
Sascha Hauer committed on 1 Jul 2015
Showing 1 changed file
View
net/dns.c