diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-01-08 14:29:01 -0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-14 18:16:13 +0100 |
commit | 318116a6ff36bee13c725a247a9395e80bcfbd6b (patch) | |
tree | e1189f75713d98983e5b81c3155e12851dde00d8 /slirp/dhcpv6.h | |
parent | 676e26800357a569bdbe71e3edccb70e8bbb5aba (diff) |
slirp: add in6_dhcp_multicast()
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/dhcpv6.h')
-rw-r--r-- | slirp/dhcpv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/dhcpv6.h b/slirp/dhcpv6.h index 9189cd3f2d..3373f6cb89 100644 --- a/slirp/dhcpv6.h +++ b/slirp/dhcpv6.h @@ -17,6 +17,9 @@ 0x00, 0x00, 0x00, 0x00,\ 0x00, 0x01, 0x00, 0x02 } } +#define in6_dhcp_multicast(a)\ + in6_equal(a, &(struct in6_addr)ALLDHCP_MULTICAST) + void dhcpv6_input(struct sockaddr_in6 *srcsas, struct mbuf *m); #endif |