What are you trying to achieve?
My application uses multicast IP communication. On sender side I can report target multicast IP address in existing net.peer.ip attribute. However on receiver side I have two IP addresses: sender IP and multicast IP address (latter one obtained using IP_PKTINFO socket option). Sender IP can be reported in net.peer.ip, but there is no separate attribute which could be used for multicast IP.
Similar issue exists for UDP Broadcast, where packets are sent to broadcast addresses.
Please define new attibute(s) for this purpose, e.g. net.multicast.ip and net.broadcast.ip. Alternatively you can define one generic one net.group.ip. Please also clarify how sender should report target IP address - by using old net.peer.ip attribute only, new one only or both.
What are you trying to achieve?
My application uses multicast IP communication. On sender side I can report target multicast IP address in existing
net.peer.ipattribute. However on receiver side I have two IP addresses: sender IP and multicast IP address (latter one obtained usingIP_PKTINFOsocket option). Sender IP can be reported innet.peer.ip, but there is no separate attribute which could be used for multicast IP.Similar issue exists for UDP Broadcast, where packets are sent to broadcast addresses.
Please define new attibute(s) for this purpose, e.g.
net.multicast.ipandnet.broadcast.ip. Alternatively you can define one generic onenet.group.ip. Please also clarify how sender should report target IP address - by using oldnet.peer.ipattribute only, new one only or both.