ip: Allow ip_mreqn support for IP_MULTICAST_IF,IP_{ADD,DROP}_MEMBERSHIP- ip_mreqn.imr_ifindex takes precendence over ip_mreqn.imr_address, if it's not 0. This strictly follows what Linux does.-
ip: Allow ip_mreqn support for IP_MULTICAST_IF,IP_{ADD,DROP}_MEMBERSHIP- ip_mreqn.imr_ifindex takes precendence over ip_mreqn.imr_address, if it's not 0. This strictly follows what Linux does.- Allow ip_mreq for IP_MULTICAST_IF as what Linux does.While I'm here, remove unnecessary critical section amongIP_MULTICAST_IF, IP_{ADD,DROP}_MEMBERSHIP.Bump kernel version.Requested-by: tuxillo
show more ...
test: Add bunch of tests for udp protocolThey test various combination of bind(2), connect(2) and sendto(2)for both unicast and multicast. Unicast tests work w/ udpecho intools/netrate. Multica
test: Add bunch of tests for udp protocolThey test various combination of bind(2), connect(2) and sendto(2)for both unicast and multicast. Unicast tests work w/ udpecho intools/netrate. Multicast tests work w/ mcastsend.