Lines Matching refs:pki
159 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() local
163 pki->ipi_ifindex = 0; in svc_set_cmsg_data()
164 pki->ipi_spec_dst.s_addr = in svc_set_cmsg_data()
166 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
171 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() local
176 pki->ipi6_ifindex = daddr->sin6_scope_id; in svc_set_cmsg_data()
177 pki->ipi6_addr = daddr->sin6_addr; in svc_set_cmsg_data()
178 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
372 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address4() local
379 daddr->sin_addr.s_addr = pki->ipi_spec_dst.s_addr; in svc_udp_get_dest_address4()
389 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address6() local
396 daddr->sin6_addr = pki->ipi6_addr; in svc_udp_get_dest_address6()
397 daddr->sin6_scope_id = pki->ipi6_ifindex; in svc_udp_get_dest_address6()