/* Copy the UDP datagram's destination address to the rqstp structure. The 'destination' address in this case is the address to which the peer sent the datagram, i.e. our local address. For multihomed hosts, this can change from msg to msg. Note that only the IP address changes, the port number should remain the same.  */
static int svc_udp_get_dest_address(struct svc_rqst *rqstp, struct cmsghdr *cmh)
/* Copy the UDP datagram's destination address to the rqstp structure. The 'destination' address in this case is the address to which the peer sent the datagram, i.e. our local address. For multihomed hosts, this can change from msg to msg. Note that only the IP address changes, the port number should remain the same.  */
static int svc_udp_get_dest_address(struct svc_rqst *rqstp, struct cmsghdr *cmh)
{
	switch (cmh->cmsg_level) {
	case SOL_IP:
		return svc_udp_get_dest_address4(rqstp, cmh);
	case SOL_IPV6:
		return svc_udp_get_dest_address6(rqstp, cmh);
	}
	return 0;
}