| /src/sys/netbt/ |
| sco_socket.c | 86 KASSERT(so->so_pcb == NULL); 99 return sco_attach_pcb((struct sco_pcb **)&so->so_pcb, &sco_proto, so); 105 KASSERT(so->so_pcb != NULL); 106 sco_detach_pcb((struct sco_pcb **)&so->so_pcb); 107 KASSERT(so->so_pcb == NULL); 113 struct sco_pcb *pcb = so->so_pcb; 127 struct sco_pcb *pcb = so->so_pcb; 148 struct sco_pcb *pcb = so->so_pcb; 161 struct sco_pcb *pcb = so->so_pcb; 183 struct sco_pcb *pcb = so->so_pcb; [all...] |
| rfcomm_socket.c | 89 KASSERT(so->so_pcb == NULL); 106 error = rfcomm_attach_pcb((struct rfcomm_dlc **)&so->so_pcb, 111 error = rfcomm_rcvd_pcb(so->so_pcb, sbspace(&so->so_rcv)); 113 rfcomm_detach_pcb((struct rfcomm_dlc **)&so->so_pcb); 122 KASSERT(so->so_pcb != NULL); 123 rfcomm_detach_pcb((struct rfcomm_dlc **)&so->so_pcb); 124 KASSERT(so->so_pcb == NULL); 130 struct rfcomm_dlc *pcb = so->so_pcb; 144 struct rfcomm_dlc *pcb = so->so_pcb; 165 struct rfcomm_dlc *pcb = so->so_pcb; [all...] |
| l2cap_socket.c | 90 KASSERT(so->so_pcb == NULL); 107 return l2cap_attach_pcb((struct l2cap_channel **)&so->so_pcb, 114 KASSERT(so->so_pcb != NULL); 115 l2cap_detach_pcb((struct l2cap_channel **)&so->so_pcb); 116 KASSERT(so->so_pcb == NULL); 122 struct l2cap_channel *pcb = so->so_pcb; 136 struct l2cap_channel *pcb = so->so_pcb; 157 struct l2cap_channel *pcb = so->so_pcb; 170 struct l2cap_channel *pcb = so->so_pcb; 194 if (so->so_pcb == NULL [all...] |
| hci_socket.c | 359 KASSERT(so->so_pcb == NULL); 386 so->so_pcb = pcb; 396 pcb = (struct hci_pcb *)so->so_pcb; 405 so->so_pcb = NULL; 421 struct hci_pcb *pcb = so->so_pcb; 455 struct hci_pcb *pcb = so->so_pcb; 487 struct hci_pcb *pcb = so->so_pcb; 544 struct hci_pcb *pcb = (struct hci_pcb *)so->so_pcb; 561 struct hci_pcb *pcb = (struct hci_pcb *)so->so_pcb; 595 struct hci_pcb *pcb = so->so_pcb; [all...] |
| /src/sys/netatalk/ |
| ddp_var.h | 40 #define sotoddpcb(so) ((struct ddpcb *)(so)->so_pcb)
|
| ddp_usrreq.c | 313 so->so_pcb = ddp; 323 so->so_pcb = NULL;
|
| /src/sys/sys/ |
| unpcb.h | 107 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
|
| socketvar.h | 141 void *so_pcb; /* protocol control block */ member in struct:socket
|
| /src/sys/netinet/ |
| sctp_peeloff.c | 91 inp = (struct sctp_inpcb *)head->so_pcb; 109 inp = (struct sctp_inpcb *)head->so_pcb; 116 n_inp = (struct sctp_inpcb *)so->so_pcb; 150 inp = (struct sctp_inpcb *)head->so_pcb; 171 n_inp = (struct sctp_inpcb *)newso->so_pcb;
|
| sctp_usrreq.c | 498 inp = (struct sctp_inpcb *)so->so_pcb; 516 inp = (struct sctp_inpcb *)so->so_pcb; 528 inp = (struct sctp_inpcb *)so->so_pcb; 565 inp = (struct sctp_inpcb *)so->so_pcb; 579 inp = (struct sctp_inpcb *)so->so_pcb; 606 inp = (struct sctp_inpcb *)so->so_pcb; 694 inp = (struct sctp_inpcb *)so->so_pcb; 810 inp = (struct sctp_inpcb *)so->so_pcb; 1158 inp = (struct sctp_inpcb *)so->so_pcb; 1334 inp = (struct sctp_inpcb *)so->so_pcb; [all...] |
| in_pcb.h | 216 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
|
| in_pcb.c | 260 so->so_pcb = inp; 694 so->so_pcb = NULL;
|
| sctp_pcb.h | 757 #define sotoin6pcb(so) ((struct in6pcb *)((so)->so_pcb))
|
| /src/sys/net/ |
| raw_cb.h | 54 #define sotorawcb(so) ((struct rawcb *)(so)->so_pcb)
|
| raw_cb.c | 108 so->so_pcb = NULL;
|
| rtsock_shared.c | 179 #define sotoroutecb(so) ((struct routecb *)(so)->so_pcb) 297 so->so_pcb = rp; 318 so->so_pcb = NULL;
|
| /src/usr.bin/netstat/ |
| unix.c | 90 unixdomainpr0(u_long so_pcb, u_long so_type, u_long rcvq, u_long sndq, 95 so_pcb, socktype[so_type], rcvq, sndq, inode, conn, refs, 112 if (kread((u_long)so->so_pcb, (char *)&unp, sizeof (unp))) 133 unixdomainpr0((u_long)so->so_pcb, so->so_type, so->so_rcv.sb_cc, 227 if (so->so_pcb)
|
| /src/sys/netcan/ |
| can_pcb.h | 87 #define sotocanpcb(so) ((struct canpcb *)(so)->so_pcb)
|
| can_pcb.c | 112 so->so_pcb = canp; 193 so->so_pcb = NULL;
|
| /src/sys/netinet6/ |
| sctp6_usrreq.c | 565 inp = (struct sctp_inpcb *)so->so_pcb; 582 inp = (struct sctp_inpcb *)so->so_pcb; 594 inp = (struct sctp_inpcb *)so->so_pcb; 634 inp = (struct sctp_inpcb *)so->so_pcb; 688 inp = (struct sctp_inpcb *)so->so_pcb; 705 inp = (struct sctp_inpcb *)so->so_pcb; 802 inp = (struct sctp_inpcb *)so->so_pcb; 926 inp6 = (struct in6pcb *)so->so_pcb; 927 inp = (struct sctp_inpcb *)so->so_pcb; 1060 inp = (struct sctp_inpcb *)so->so_pcb; [all...] |
| /src/usr.bin/fstat/ |
| fstat.c | 1126 if (so.so_pcb == NULL) 1128 if (kvm_read(kd, (u_long)so.so_pcb, (char *)&in4pcb, 1130 dprintf("can't read in4pcb at %p", so.so_pcb); 1151 if (so.so_pcb == NULL) 1153 if (kvm_read(kd, (u_long)so.so_pcb, (char *)&in6pcb, 1155 dprintf("can't read in6pcb at %p", so.so_pcb); 1171 if (so.so_pcb) { 1176 pcb[0] = so.so_pcb; 1188 dprintf("can't read unpcb at %p", so.so_pcb); 1235 if (so.so_pcb) { [all...] |
| /src/sys/dev/ |
| kttcp.c | 632 if ((pr->pr_flags & PR_WANTRCVD) && so->so_pcb) { 671 if (pr->pr_flags & PR_WANTRCVD && so->so_pcb) {
|
| /src/sys/netipsec/ |
| keysock.c | 381 so->so_pcb = kp; 396 so->so_pcb = NULL;
|
| /src/sys/kern/ |
| uipc_socket.c | 561 KASSERT(so->so_pcb == NULL); 690 if (so->so_pcb || (so->so_state & SS_NOFDREF) == 0) { 757 if (so->so_pcb == NULL) 777 if (so->so_pcb) { 1610 if ((pr->pr_flags & PR_WANTRCVD) && so->so_pcb) 1651 if (pr->pr_flags & PR_WANTRCVD && so->so_pcb)
|
| uipc_usrreq.c | 761 so->so_pcb = unp; 798 so->so_pcb = NULL; 1092 KASSERT(so->so_pcb != NULL); 1391 so->so_pcb = NULL;
|