Lines Matching refs:rp
161 key_sendup0(rp, m, promisc)
162 struct rawcb *rp;
194 if (!sbappendaddr(&rp->rcb_socket->so_rcv, (struct sockaddr *)&key_src,
202 sorwakeup(rp->rcb_socket);
218 struct rawcb *rp;
248 LIST_FOREACH(rp, &rawcb_list, list)
250 if (rp->rcb_proto.sp_family != PF_KEY)
252 if (rp->rcb_proto.sp_protocol
253 && rp->rcb_proto.sp_protocol != PF_KEY_V2) {
257 kp = (struct keycb *)rp;
259 socket_lock(rp->rcb_socket, 1);
265 if (((struct keycb *)rp)->kp_promisc) {
267 (void)key_sendup0(rp, n, 1);
273 if (so && sotorawcb(so) == rp) {
274 socket_unlock(rp->rcb_socket, 1);
294 socket_unlock(rp->rcb_socket, 1);
306 socket_unlock(rp->rcb_socket, 1);
316 key_sendup0(rp, n, 0);
317 socket_unlock(rp->rcb_socket, 1);