Home
last modified time | relevance | path

Searched refs:so_pcb (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/freebsd/net/
H A Draw_cb.c113 KASSERT(so->so_pcb == rp, ("raw_detach: so_pcb != rp")); in raw_detach()
115 so->so_pcb = NULL; in raw_detach()
H A Draw_cb.h51 #define sotorawcb(so) ((struct rawcb *)(so)->so_pcb)
/f-stack/freebsd/netinet/
H A Dsctp_peeloff.c61 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_can_peel_off()
95 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_do_peeloff()
114 n_inp = (struct sctp_inpcb *)so->so_pcb; in sctp_do_peeloff()
H A Dsctp_usrreq.c421 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_abort()
448 so->so_pcb = NULL; in sctp_abort()
468 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach()
483 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach()
498 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_bind()
521 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_close()
563 so->so_pcb = NULL; in sctp_close()
586 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_sendm()
671 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_disconnect()
820 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_flush()
[all …]
H A Dip_divert.c582 inp = (struct inpcb *)so->so_pcb; in div_attach()
/f-stack/freebsd/netgraph/bluetooth/include/
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_hci_raw.h62 ((struct ng_btsocket_hci_raw_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))
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c473 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_abort()
499 so->so_pcb = NULL; in sctp6_abort()
518 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach()
532 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach()
558 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_bind()
685 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_send()
791 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_connect()
942 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_getaddr()
1044 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_peeraddr()
/f-stack/freebsd/netipsec/
H A Dkeysock.c285 KASSERT(so->so_pcb == NULL, ("key_attach: so_pcb != NULL")); in key_attach()
298 so->so_pcb = (caddr_t)kp; in key_attach()
303 so->so_pcb = (caddr_t) 0; in key_attach()
/f-stack/freebsd/kern/
H A Dsys_socket.c386 kif->kf_un.kf_sock.kf_sock_pcb = (uintptr_t)so->so_pcb; in soo_fill_kinfo()
391 if (so->so_pcb != NULL) { in soo_fill_kinfo()
392 inpcb = (struct inpcb *)(so->so_pcb); in soo_fill_kinfo()
403 if (so->so_pcb != NULL) { in soo_fill_kinfo()
404 unpcb = (struct unpcb *)(so->so_pcb); in soo_fill_kinfo()
H A Duipc_socket.c464 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL")); in sodealloc()
702 __func__, head->so_pcb, sbuf_data(&descrsb),
718 __func__, head->so_pcb);
739 __func__, head->so_pcb);
745 __func__, head->so_pcb);
812 __func__, head->so_pcb);
833 __func__, head->so_pcb);
839 __func__, head->so_pcb);
2899 aso.so_pcb = so->so_pcb;
4269 xso->so_pcb = (uintptr_t)so->so_pcb;
H A Duipc_ktls.c756 inp = so->so_pcb; in ktls_try_toe()
898 error = ktls_alloc_snd_tag(so->so_pcb, tls, force, &mst); in ktls_try_ifnet()
1141 inp = so->so_pcb; in ktls_enable_tx()
1166 inp = so->so_pcb; in ktls_get_rx_mode()
1187 inp = so->so_pcb; in ktls_get_tx_mode()
1219 inp = so->so_pcb; in ktls_set_tx_mode()
H A Duipc_debug.c457 db_printf("so_pcb: %p ", so->so_pcb); in db_print_socket()
H A Duipc_usrreq.c524 KASSERT(so->so_pcb == NULL, ("uipc_attach: so_pcb != NULL")); in uipc_attach()
555 so->so_pcb = unp; in uipc_attach()
771 unp = so1->so_pcb; in uipc_connect2()
773 unp2 = so2->so_pcb; in uipc_connect2()
853 unp->unp_socket->so_pcb = NULL; in uipc_detach()
/f-stack/freebsd/sys/
H A Dunpcb.h132 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
H A Dsocketvar.h98 void *so_pcb; /* protocol control block */ member
508 kvaddr_t so_pcb; /* kernel address of struct inpcb */ member
/f-stack/tools/compat/include/sys/
H A Dunpcb.h132 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
H A Dsocketvar.h98 void *so_pcb; /* protocol control block */ member
508 kvaddr_t so_pcb; /* kernel address of struct inpcb */ member
/f-stack/freebsd/netgraph/
H A Dng_socket.c163 #define sotongpcb(so) ((struct ngpcb *)(so)->so_pcb)
614 so->so_pcb = (caddr_t)pcbp; in ng_attach_common()
654 pcbp->ng_socket->so_pcb = NULL; in ng_detach_common()
/f-stack/tools/netstat/
H A Dunix.c327 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
H A Dinet.c172 xso->so_pcb = (uintptr_t)so->so_pcb; in sotoxsocket()
402 (u_long)so->so_pcb); in protopr()
/f-stack/freebsd/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c635 so->so_pcb = (caddr_t) pcb; in ng_btsocket_l2cap_raw_attach()
1180 so->so_pcb = NULL; in ng_btsocket_l2cap_raw_detach()
H A Dng_btsocket_hci_raw.c936 so->so_pcb = (caddr_t) pcb; in ng_btsocket_hci_raw_attach()
1537 so->so_pcb = NULL; in ng_btsocket_hci_raw_detach()

12