diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-11-20 15:38:36 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-11-20 15:38:36 +0000 |
commit | 98a66671cf6900b6239ac1b48638ffa835e75c27 (patch) | |
tree | e2e11db47365f6187bcec0bf49fdb86d8790202e /sys/src/9/ip/ipaux.c | |
parent | 0ed8a3bd7b1bbe2a3857f2abcaabdc4edd2d8b05 (diff) |
devip: lilu dallas multicast.
Allow accepting udp "connections" using a multicast local address.
Before, it was only possible to receive multicast using the headers
option. Having a connection orirented stream can be very usefull
when receiving multicast audio data. One gets a "connection" for
every source.
Implement (optional) support for IGMPv2 and MLDv1.
This can be usefull if bridges on the network have IGMP/MLD snooping
enabled, and wont forward multicast traffic unless we report what
we excpect. This is experimental for now, so the igmp protocol
must be manually added to the kernel configuration.
Diffstat (limited to 'sys/src/9/ip/ipaux.c')
-rw-r--r-- | sys/src/9/ip/ipaux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/9/ip/ipaux.c b/sys/src/9/ip/ipaux.c index 731176782..bd4be1349 100644 --- a/sys/src/9/ip/ipaux.c +++ b/sys/src/9/ip/ipaux.c @@ -196,8 +196,7 @@ enum void ipv62smcast(uchar *smcast, uchar *a) { - assert(IPaddrlen == 16); - memmove(smcast, v6solicitednode, IPaddrlen); + ipmove(smcast, v6solicitednode); smcast[13] = a[13]; smcast[14] = a[14]; smcast[15] = a[15]; |