cmh               146 net/sunrpc/svcsock.c static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh)
cmh               152 net/sunrpc/svcsock.c 			struct in_pktinfo *pki = CMSG_DATA(cmh);
cmh               154 net/sunrpc/svcsock.c 			cmh->cmsg_level = SOL_IP;
cmh               155 net/sunrpc/svcsock.c 			cmh->cmsg_type = IP_PKTINFO;
cmh               159 net/sunrpc/svcsock.c 			cmh->cmsg_len = CMSG_LEN(sizeof(*pki));
cmh               164 net/sunrpc/svcsock.c 			struct in6_pktinfo *pki = CMSG_DATA(cmh);
cmh               167 net/sunrpc/svcsock.c 			cmh->cmsg_level = SOL_IPV6;
cmh               168 net/sunrpc/svcsock.c 			cmh->cmsg_type = IPV6_PKTINFO;
cmh               171 net/sunrpc/svcsock.c 			cmh->cmsg_len = CMSG_LEN(sizeof(*pki));
cmh               248 net/sunrpc/svcsock.c 	struct cmsghdr *cmh = &buffer.hdr;
cmh               258 net/sunrpc/svcsock.c 			.msg_control	= cmh,
cmh               263 net/sunrpc/svcsock.c 		svc_set_cmsg_data(rqstp, cmh);
cmh               441 net/sunrpc/svcsock.c 				     struct cmsghdr *cmh)
cmh               443 net/sunrpc/svcsock.c 	struct in_pktinfo *pki = CMSG_DATA(cmh);
cmh               446 net/sunrpc/svcsock.c 	if (cmh->cmsg_type != IP_PKTINFO)
cmh               458 net/sunrpc/svcsock.c 				     struct cmsghdr *cmh)
cmh               460 net/sunrpc/svcsock.c 	struct in6_pktinfo *pki = CMSG_DATA(cmh);
cmh               463 net/sunrpc/svcsock.c 	if (cmh->cmsg_type != IPV6_PKTINFO)
cmh               480 net/sunrpc/svcsock.c 				    struct cmsghdr *cmh)
cmh               482 net/sunrpc/svcsock.c 	switch (cmh->cmsg_level) {
cmh               484 net/sunrpc/svcsock.c 		return svc_udp_get_dest_address4(rqstp, cmh);
cmh               486 net/sunrpc/svcsock.c 		return svc_udp_get_dest_address6(rqstp, cmh);
cmh               505 net/sunrpc/svcsock.c 	struct cmsghdr *cmh = &buffer.hdr;
cmh               508 net/sunrpc/svcsock.c 		.msg_control = cmh,
cmh               556 net/sunrpc/svcsock.c 	if (!svc_udp_get_dest_address(rqstp, cmh)) {
cmh               558 net/sunrpc/svcsock.c 				     cmh->cmsg_level, cmh->cmsg_type);