Searched refs:so_pcb (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11-stable/sys/net/
H A Draw_cb.h49 #define sotorawcb(so) ((struct rawcb *)(so)->so_pcb)
H A Draw_cb.c111 KASSERT(so->so_pcb == rp, ("raw_detach: so_pcb != rp"));
113 so->so_pcb = NULL;
/freebsd-11-stable/sys/netnatm/
H A Dnatm.c126 npcb = (struct natmpcb *)so->so_pcb;
127 KASSERT(npcb == NULL, ("natm_usr_attach: so_pcb != NULL"));
139 so->so_pcb = npcb = npcb_alloc(M_WAITOK);
149 npcb = (struct natmpcb *)so->so_pcb;
154 so->so_pcb = NULL;
168 npcb = (struct natmpcb *)so->so_pcb;
240 npcb = (struct natmpcb *)so->so_pcb;
282 npcb = (struct natmpcb *)so->so_pcb;
317 npcb = (struct natmpcb *)so->so_pcb;
340 npcb = (struct natmpcb *)so->so_pcb;
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_hci_raw.h60 ((struct ng_btsocket_hci_raw_pcb *)((so)->so_pcb))
H A Dng_btsocket_l2cap.h88 ((struct ng_btsocket_l2cap_raw_pcb *)((so)->so_pcb))
184 ((struct ng_btsocket_l2cap_pcb *)((so)->so_pcb))
H A Dng_btsocket_sco.h98 ((struct ng_btsocket_sco_pcb *)((so)->so_pcb))
H A Dng_btsocket_rfcomm.h308 ((struct ng_btsocket_rfcomm_pcb *)((so)->so_pcb))
/freebsd-11-stable/sys/netinet/
H A Dsctp_peeloff.c60 inp = (struct sctp_inpcb *)head->so_pcb;
94 inp = (struct sctp_inpcb *)head->so_pcb;
113 n_inp = (struct sctp_inpcb *)so->so_pcb;
H A Dsctp_usrreq.c430 inp = (struct sctp_inpcb *)so->so_pcb;
456 so->so_pcb = NULL;
475 inp = (struct sctp_inpcb *)so->so_pcb;
490 inp = (struct sctp_inpcb *)so->so_pcb;
505 inp = (struct sctp_inpcb *)so->so_pcb;
527 inp = (struct sctp_inpcb *)so->so_pcb;
568 so->so_pcb = NULL;
592 inp = (struct sctp_inpcb *)so->so_pcb;
674 inp = (struct sctp_inpcb *)so->so_pcb;
828 inp = (struct sctp_inpcb *)so->so_pcb;
[all...]
/freebsd-11-stable/sys/sys/
H A Dunpcb.h123 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
H A Dsocketvar.h79 void *so_pcb; /* protocol control block */ member in struct:socket
175 caddr_t so_pcb; /* another convenient handle */ member in struct:xsocket
/freebsd-11-stable/sys/netinet6/
H A Dsctp6_usrreq.c485 inp = (struct sctp_inpcb *)so->so_pcb;
510 so->so_pcb = NULL;
529 inp = (struct sctp_inpcb *)so->so_pcb;
543 inp = (struct sctp_inpcb *)so->so_pcb;
571 inp = (struct sctp_inpcb *)so->so_pcb;
703 inp = (struct sctp_inpcb *)so->so_pcb;
808 inp6 = (struct in6pcb *)so->so_pcb;
810 inp = (struct sctp_inpcb *)so->so_pcb;
959 inp = (struct sctp_inpcb *)so->so_pcb;
1061 inp = (struct sctp_inpcb *)so->so_pcb;
[all...]
/freebsd-11-stable/sys/netipsec/
H A Dkeysock.c283 KASSERT(so->so_pcb == NULL, ("key_attach: so_pcb != NULL"));
296 so->so_pcb = (caddr_t)kp;
301 so->so_pcb = (caddr_t) 0;
/freebsd-11-stable/usr.bin/fstat/
H A Dfstat.c367 else if (sock.so_pcb != 0)
368 printf(" %lx", (u_long)sock.so_pcb);
372 if (sock.so_pcb != 0) {
373 printf(" %lx", (u_long)sock.so_pcb);
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsock.c217 if (KMCPY(i, s->so_pcb, sizeof(*i)) == -1)
219 fprintf(stderr, "kvm_read(%#lx,%#lx,%lu) - so_pcb - failed\n",
220 (u_long)s->so_pcb, (u_long)i, (u_long)sizeof(*i));
/freebsd-11-stable/sys/kern/
H A Dsys_socket.c353 kif->kf_un.kf_sock.kf_sock_pcb = (uintptr_t)so->so_pcb;
358 if (so->so_pcb != NULL) {
359 inpcb = (struct inpcb *)(so->so_pcb);
366 if (so->so_pcb != NULL) {
367 unpcb = (struct unpcb *)(so->so_pcb);
H A Duipc_debug.c454 db_printf("so_pcb: %p ", so->so_pcb);
H A Duipc_socket.c436 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL"));
583 __func__, head->so_pcb, head->so_qlen, overcount);
596 __func__, head->so_pcb);
618 __func__, head->so_pcb);
624 __func__, head->so_pcb);
2417 aso.so_pcb = so->so_pcb;
3624 xso->so_pcb = so->so_pcb;
[all...]
/freebsd-11-stable/usr.bin/netstat/
H A Dunix.c320 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc,
H A Dinet.c168 xso->so_pcb = so->so_pcb;
476 (u_long)so->so_pcb);
/freebsd-11-stable/lib/libprocstat/
H A Dlibprocstat.h152 uint64_t so_pcb; member in struct:sockstat
H A Dlibprocstat.c1491 sock->so_pcb = (uintptr_t)s.so_pcb;
1500 if (s.so_pcb) {
1501 if (kvm_read(kd, (u_long)s.so_pcb,
1505 (void *)s.so_pcb);
1513 if (s.so_pcb) {
1514 if (kvm_read(kd, (u_long)s.so_pcb, (char *)&unpcb,
1517 (void *)s.so_pcb);
1555 sock->so_pcb = kif->kf_un.kf_sock.kf_sock_pcb;
/freebsd-11-stable/sys/netgraph/
H A Dng_socket.c161 #define sotongpcb(so) ((struct ngpcb *)(so)->so_pcb)
601 so->so_pcb = (caddr_t)pcbp;
641 pcbp->ng_socket->so_pcb = NULL;
/freebsd-11-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c534 (unsigned long) so.so_pcb,
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c633 so->so_pcb = (caddr_t) pcb;
1138 so->so_pcb = NULL;

Completed in 251 milliseconds

12