Lines Matching refs:pcbsp
288 struct inpcbpolicy *pcbsp = NULL;
304 pcbsp = sotoinpcb(so)->inp_sp;
308 pcbsp = sotoin6pcb(so)->in6p_sp;
313 if (!pcbsp){
340 if (pcbsp == NULL)
341 panic("ipsec4_getpolicybysock: pcbsp is NULL.\n");
345 currsp = pcbsp->sp_in;
348 currsp = pcbsp->sp_out;
359 if (pcbsp->priv) {
563 struct inpcbpolicy *pcbsp = NULL;
578 pcbsp = sotoin6pcb(so)->in6p_sp;
580 if (!pcbsp){
588 if (pcbsp == NULL)
589 panic("ipsec6_getpolicybysock: pcbsp is NULL.\n");
593 currsp = pcbsp->sp_in;
596 currsp = pcbsp->sp_out;
607 if (pcbsp->priv) {