[riot-notifications] [RIOT-OS/RIOT] WIP net/sock dns: make header payload pointer c++ compliant (#11302)

llueder notifications at github.com
Wed Mar 27 22:34:51 CET 2019


### Contribution description

Same as #11299 
I would like to keep discussions which are not specific for this dns case over at #11299 

In this special case, the struct is not packed, so I wrapped the solution that @jcarrano suggested for this case in the discussion in #10248 into the same form as in #11299
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11302

-- Commit Summary --

  * net/sock/dns: define sock_dns_hdr_payload_ptr and auxiliary struct
  * net/sock/dns: remove convenience pointer in sock_dns_hdr_t

-- File Changes --

    M sys/include/net/sock/dns.h (19)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11302.patch
https://github.com/RIOT-OS/RIOT/pull/11302.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190327/85048360/attachment.html>


More information about the notifications mailing list