diff options
author | Paul Davey <paul.davey@alliedtelesis.co.nz> | 2020-09-08 10:04:07 +1200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-10 12:25:51 -0700 |
commit | c8715a8e9f38906e73d6d78764216742db13ba0e (patch) | |
tree | e6dc103986d2225073173e28fefefedd8ee5d51c /samples/rpmsg | |
parent | 501cb008906631a019f3ab2104a17ef8b2651ed0 (diff) |
ipmr: Add high byte of VIF ID to igmpmsg
Use the unused3 byte in struct igmpmsg to hold the high 8 bits of the
VIF ID.
If using more than 255 IPv4 multicast interfaces it is necessary to have
access to a VIF ID for cache reports that is wider than 8 bits, the VIF
ID present in the igmpmsg reports sent to mroute_sk was only 8 bits wide
in the igmpmsg header. Adding the high 8 bits of the 16 bit VIF ID in
the unused byte allows use of more than 255 IPv4 multicast interfaces.
Signed-off-by: Paul Davey <paul.davey@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/rpmsg')
0 files changed, 0 insertions, 0 deletions