Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
fbf216f8
Commit
fbf216f8
authored
7 years ago
by
Martine Lenders
Committed by
Martine Lenders
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gnrc_sock_dns: Move DNS server end point to implementation
parent
8eab80c3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sys/net/application_layer/dns/dns.c
+3
-0
3 additions, 0 deletions
sys/net/application_layer/dns/dns.c
tests/gnrc_sock_dns/main.c
+0
-3
0 additions, 3 deletions
tests/gnrc_sock_dns/main.c
with
3 additions
and
3 deletions
sys/net/application_layer/dns/dns.c
+
3
−
0
View file @
fbf216f8
...
...
@@ -28,6 +28,9 @@
/* min domain name length is 1, so minimum record length is 7 */
#define DNS_MIN_REPLY_LEN (unsigned)(sizeof(sock_dns_hdr_t ) + 7)
/* global DNS server UDP endpoint */
sock_udp_ep_t
sock_dns_server
;
static
ssize_t
_enc_domain_name
(
uint8_t
*
out
,
const
char
*
domain_name
)
{
/*
...
...
This diff is collapsed.
Click to expand it.
tests/gnrc_sock_dns/main.c
+
0
−
3
View file @
fbf216f8
...
...
@@ -35,9 +35,6 @@
#define DNS_SERVER "[2001:db8::1]:53"
#endif
/* global DNS server UDP endpoint */
sock_udp_ep_t
sock_dns_server
;
/* import "ifconfig" shell command, used for printing addresses */
extern
int
_gnrc_netif_config
(
int
argc
,
char
**
argv
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment