Home
last modified time | relevance | path

Searched refs:cmh (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/net/sunrpc/
Dsvcsock.c133 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) in svc_set_cmsg_data() argument
139 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data()
141 cmh->cmsg_level = SOL_IP; in svc_set_cmsg_data()
142 cmh->cmsg_type = IP_PKTINFO; in svc_set_cmsg_data()
145 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
150 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data()
152 cmh->cmsg_level = SOL_IPV6; in svc_set_cmsg_data()
153 cmh->cmsg_type = IPV6_PKTINFO; in svc_set_cmsg_data()
157 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
234 struct cmsghdr *cmh = &buffer.hdr; in svc_sendto() local
[all …]