Lines Matching refs:rp
232 struct rawcb *rp)
238 KASSERT(rp != NULL, ("%s: rp is NULL", __func__));
247 rp->rcb_socket == NULL ||
248 rp->rcb_socket->so_fibnum == fibnum)
297 struct rawcb *rp;
303 rp = malloc(sizeof *rp, M_PCB, M_WAITOK | M_ZERO);
305 so->so_pcb = (caddr_t)rp;
308 rp = sotorawcb(so);
311 free(rp, M_PCB);
315 switch(rp->rcb_proto.sp_protocol) {
350 struct rawcb *rp = sotorawcb(so);
352 KASSERT(rp != NULL, ("rts_detach: rp == NULL"));
355 switch(rp->rcb_proto.sp_protocol) {
559 struct rawcb *rp = NULL;
894 rp = sotorawcb(so);
931 if (rp) {
936 unsigned short family = rp->rcb_proto.sp_family;
937 rp->rcb_proto.sp_family = 0;
939 rp->rcb_proto.sp_family = family;