summaryrefslogtreecommitdiffstats
path: root/slirp/mbuf.h
diff options
context:
space:
mode:
authorSamuel Thibault2016-02-22 22:29:21 +0100
committerSamuel Thibault2016-03-23 00:57:01 +0100
commit67e3eee45460129cbc5a90fb9f74eb52594281cd (patch)
tree1fbd93c803f75e45b926b9883e5a3dc2df84e8f1 /slirp/mbuf.h
parentslirp: send icmp6 errors when UDP send failed (diff)
downloadqemu-67e3eee45460129cbc5a90fb9f74eb52594281cd.tar.gz
qemu-67e3eee45460129cbc5a90fb9f74eb52594281cd.tar.xz
qemu-67e3eee45460129cbc5a90fb9f74eb52594281cd.zip
Avoid embedding struct mbuf in other structures
struct mbuf uses a C99 open char array to allow inlining data. Inlining this in another structure is however a GNU extension. The inlines used so far in struct Slirp were actually only needed as head of struct mbuf lists. This replaces these inline with mere struct quehead, and use casts as appropriate. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'slirp/mbuf.h')
0 files changed, 0 insertions, 0 deletions