I'm trying to send packets via socket to multicast address. hopLimit
by default == 1. I need hopLimit == 255
by default.
I can change hopLimit
for all packets that was sent through this socket using IPV6_MULTICAST_HOPS setsockopt
.
But I need something like system default value for hopLimit
for multicast sending.
I found sysctl
option. But only for OpenBSD
net.inet6.ip6.defmcasthlim
I cannot found the similar option for armLinux