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

12

/freebsd-12-stable/sys/net/
H A Draw_cb.h51 #define sotorawcb(so) ((struct rawcb *)(so)->so_pcb)
H A Draw_cb.c113 KASSERT(so->so_pcb == rp, ("raw_detach: so_pcb != rp"));
115 so->so_pcb = NULL;
/freebsd-12-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_hci_raw.h62 ((struct ng_btsocket_hci_raw_pcb *)((so)->so_pcb))
H A Dng_btsocket_l2cap.h90 ((struct ng_btsocket_l2cap_raw_pcb *)((so)->so_pcb))
186 ((struct ng_btsocket_l2cap_pcb *)((so)->so_pcb))
H A Dng_btsocket_sco.h100 ((struct ng_btsocket_sco_pcb *)((so)->so_pcb))
H A Dng_btsocket_rfcomm.h310 ((struct ng_btsocket_rfcomm_pcb *)((so)->so_pcb))
/freebsd-12-stable/sys/netinet/
H A Dsctp_peeloff.c61 inp = (struct sctp_inpcb *)head->so_pcb;
95 inp = (struct sctp_inpcb *)head->so_pcb;
114 n_inp = (struct sctp_inpcb *)so->so_pcb;
H A Dsctp_usrreq.c420 inp = (struct sctp_inpcb *)so->so_pcb;
446 so->so_pcb = NULL;
465 inp = (struct sctp_inpcb *)so->so_pcb;
480 inp = (struct sctp_inpcb *)so->so_pcb;
495 inp = (struct sctp_inpcb *)so->so_pcb;
517 inp = (struct sctp_inpcb *)so->so_pcb;
558 so->so_pcb = NULL;
582 inp = (struct sctp_inpcb *)so->so_pcb;
664 inp = (struct sctp_inpcb *)so->so_pcb;
808 inp = (struct sctp_inpcb *)so->so_pcb;
[all...]
/freebsd-12-stable/sys/sys/
H A Dunpcb.h130 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
H A Dsocketvar.h97 void *so_pcb; /* protocol control block */ member in struct:socket
496 kvaddr_t so_pcb; /* kernel address of struct inpcb */ member in struct:xsocket
/freebsd-12-stable/lib/libprocstat/
H A Dlibprocstat_compat.c66 uint64_t so_pcb; member in struct:freebsd11_sockstat
147 sock_compat->so_pcb = sock.so_pcb;
H A Dlibprocstat.h154 uint64_t so_pcb; member in struct:sockstat
H A Dlibprocstat.c1496 sock->so_pcb = (uintptr_t)s.so_pcb;
1505 if (s.so_pcb) {
1506 if (kvm_read(kd, (u_long)s.so_pcb,
1510 (void *)s.so_pcb);
1520 if (s.so_pcb) {
1521 if (kvm_read(kd, (u_long)s.so_pcb, (char *)&unpcb,
1524 (void *)s.so_pcb);
1564 sock->so_pcb = kif->kf_un.kf_sock.kf_sock_pcb;
/freebsd-12-stable/sys/netipsec/
H A Dkeysock.c285 KASSERT(so->so_pcb == NULL, ("key_attach: so_pcb != NULL"));
298 so->so_pcb = (caddr_t)kp;
303 so->so_pcb = (caddr_t) 0;
/freebsd-12-stable/sys/netinet6/
H A Dsctp6_usrreq.c475 inp = (struct sctp_inpcb *)so->so_pcb;
500 so->so_pcb = NULL;
518 inp = (struct sctp_inpcb *)so->so_pcb;
532 inp = (struct sctp_inpcb *)so->so_pcb;
558 inp = (struct sctp_inpcb *)so->so_pcb;
688 inp = (struct sctp_inpcb *)so->so_pcb;
790 inp = (struct sctp_inpcb *)so->so_pcb;
939 inp = (struct sctp_inpcb *)so->so_pcb;
1041 inp = (struct sctp_inpcb *)so->so_pcb;
/freebsd-12-stable/usr.bin/fstat/
H A Dfstat.c427 else if (sock.so_pcb != 0)
428 printf(" %lx", (u_long)sock.so_pcb);
437 if (sock.so_pcb != 0) {
438 printf(" %lx", (u_long)sock.so_pcb);
/freebsd-12-stable/contrib/ipfilter/ipsend/
H A Dsock.c219 if (KMCPY(i, s->so_pcb, sizeof(*i)) == -1)
221 fprintf(stderr, "kvm_read(%#lx,%#lx,%lu) - so_pcb - failed\n",
222 (u_long)s->so_pcb, (u_long)i, (u_long)sizeof(*i));
/freebsd-12-stable/sys/kern/
H A Dsys_socket.c381 kif->kf_un.kf_sock.kf_sock_pcb = (uintptr_t)so->so_pcb;
386 if (so->so_pcb != NULL) {
387 inpcb = (struct inpcb *)(so->so_pcb);
398 if (so->so_pcb != NULL) {
399 unpcb = (struct unpcb *)(so->so_pcb);
H A Duipc_debug.c457 db_printf("so_pcb: %p ", so->so_pcb);
H A Duipc_socket.c454 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL"));
601 __func__, head->so_pcb, head->sol_qlen, overcount);
614 __func__, head->so_pcb);
636 __func__, head->so_pcb);
642 __func__, head->so_pcb);
708 __func__, head->so_pcb);
729 __func__, head->so_pcb);
735 __func__, head->so_pcb);
2657 aso.so_pcb
[all...]
/freebsd-12-stable/usr.bin/netstat/
H A Dunix.c319 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc,
H A Dinet.c171 xso->so_pcb = (uintptr_t)so->so_pcb;
398 (u_long)so->so_pcb);
/freebsd-12-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-12-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c535 (unsigned long) so.so_pcb,
/freebsd-12-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c635 so->so_pcb = (caddr_t) pcb;
1140 so->so_pcb = NULL;

Completed in 307 milliseconds

12