]> git.proxmox.com Git - mirror_qemu.git/commit
slirp: Make RA build more flexible
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 26 Mar 2017 18:28:11 +0000 (20:28 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 28 Mar 2017 22:49:04 +0000 (00:49 +0200)
commite42f869b5118fa9ac64dcea624276204567fc581
tree92344b6279dc094af89713bcfb93b445d15e1dcf
parent51149a2ac1ed962e04c48fe591f2b6b288755af6
slirp: Make RA build more flexible

Do not hardcode the RA size at all, use a pl_size variable which
accounts the accumulated size, and fill rip->ip_pl at the end.

This will allow to make some blocks optional.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
slirp/ip6_icmp.c