Lines Matching refs:pki
162 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() local
166 pki->ipi_ifindex = 0; in svc_set_cmsg_data()
167 pki->ipi_spec_dst.s_addr = in svc_set_cmsg_data()
169 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
174 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() local
179 pki->ipi6_ifindex = daddr->sin6_scope_id; in svc_set_cmsg_data()
180 pki->ipi6_addr = daddr->sin6_addr; in svc_set_cmsg_data()
181 cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); in svc_set_cmsg_data()
503 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address4() local
510 daddr->sin_addr.s_addr = pki->ipi_spec_dst.s_addr; in svc_udp_get_dest_address4()
520 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address6() local
527 daddr->sin6_addr = pki->ipi6_addr; in svc_udp_get_dest_address6()
528 daddr->sin6_scope_id = pki->ipi6_ifindex; in svc_udp_get_dest_address6()