Home
last modified time | relevance | path

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

12

/freebsd/sys/netipsec/
H A Dkeysock.c221 if (so != NULL && so->so_pcb == kp) in key_sendup_mbuf()
241 error = key_sendup0(so->so_pcb, m, 0); in key_sendup_mbuf()
265 KASSERT(so->so_pcb == NULL, ("key_attach: so_pcb != NULL")); in key_attach()
281 so->so_pcb = kp; in key_attach()
302 struct keycb *kp = so->so_pcb; in key_detach()
309 so->so_pcb = NULL; in key_detach()
/freebsd/sys/netinet/
H A Dsctp_peeloff.c58 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_can_peel_off()
92 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_do_peeloff()
111 n_inp = (struct sctp_inpcb *)so->so_pcb; in sctp_do_peeloff()
H A Dip_divert.c583 so->so_pcb = dcb; in div_attach()
599 struct divcb *dcb = so->so_pcb; in div_detach()
601 so->so_pcb = NULL; in div_detach()
628 dcb = so->so_pcb; in div_bind()
H A Dsctp_usrreq.c421 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_abort()
445 so->so_pcb = NULL; in sctp_abort()
462 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach()
477 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach()
492 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_bind()
514 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_close()
554 so->so_pcb = NULL; in sctp_close()
573 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_sendm()
659 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_disconnect()
781 struct sctp_inpcb *inp = (struct sctp_inpcb *)so->so_pcb; in sctp_shutdown()
[all …]
/freebsd/lib/libprocstat/
H A Dlibprocstat_compat.c63 uint64_t so_pcb; member
185 sock_compat->inp_ppcb = sock.so_pcb; in freebsd11_procstat_get_socket_info()
187 sock_compat->so_pcb = sock.so_pcb; in freebsd11_procstat_get_socket_info()
H A Dlibprocstat.h159 uint64_t so_pcb; member
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_btsocket_l2cap.h89 ((struct ng_btsocket_l2cap_raw_pcb *)((so)->so_pcb))
184 ((struct ng_btsocket_l2cap_pcb *)((so)->so_pcb))
H A Dng_btsocket_hci_raw.h61 ((struct ng_btsocket_hci_raw_pcb *)((so)->so_pcb))
H A Dng_btsocket_sco.h99 ((struct ng_btsocket_sco_pcb *)((so)->so_pcb))
H A Dng_btsocket_rfcomm.h309 ((struct ng_btsocket_rfcomm_pcb *)((so)->so_pcb))
/freebsd/sys/dev/hyperv/hvsock/
H A Dhv_sock.c227 if (!so || !so->so_pcb) { in hvs_remove_socket_from_list()
241 if (!so || !so->so_pcb) { in hvs_insert_socket_on_list()
366 so->so_pcb = (void *)pcb; in hvs_trans_attach()
391 so->so_pcb = NULL; in hvs_trans_detach()
1489 pcb = so->so_pcb; in hvsock_open_conn_passive()
1490 new_pcb = new_so->so_pcb; in hvsock_open_conn_passive()
1531 pcb = so->so_pcb; in hvsock_open_conn_active()
1598 pcb = so->so_pcb; in hvsock_open_connection()
1714 so->so_pcb = NULL; in hvsock_detach()
H A Dhv_sock.h92 ((struct hvs_pcb *)((so)->so_pcb))
/freebsd/usr.bin/fstat/
H A Dfstat.c419 if (sock.so_pcb != 0) in print_socket_info()
420 printf(" %lx", (u_long)sock.so_pcb); in print_socket_info()
429 if (sock.so_pcb != 0) { in print_socket_info()
430 printf(" %lx", (u_long)sock.so_pcb); in print_socket_info()
/freebsd/sys/netinet6/
H A Dsctp6_usrreq.c443 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach()
457 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach()
483 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_bind()
603 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_send()
756 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_connect()
898 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_getaddr()
993 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_peeraddr()
/freebsd/sbin/ipf/ipsend/
H A Dsock.c213 if (KMCPY(i, s->so_pcb, sizeof(*i)) == -1) in find_tcp()
216 (u_long)s->so_pcb, (u_long)i, (u_long)sizeof(*i)); in find_tcp()
/freebsd/sys/sys/
H A Dunpcb.h128 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
H A Dsocketvar.h116 void *so_pcb; /* protocol control block */ member
608 kvaddr_t so_pcb; /* kernel address of struct inpcb */ member
/freebsd/sys/kern/
H A Dsys_socket.c386 kif->kf_un.kf_sock.kf_sock_pcb = (uintptr_t)so->so_pcb; in soo_fill_kinfo()
391 kif->kf_un.kf_sock.kf_sock_inpcb = (uintptr_t)so->so_pcb; in soo_fill_kinfo()
402 if (so->so_pcb != NULL) { in soo_fill_kinfo()
403 unpcb = (struct unpcb *)(so->so_pcb); in soo_fill_kinfo()
H A Duipc_ktls.c710 tls->inp = so->so_pcb; in ktls_create_session()
875 inp = so->so_pcb; in ktls_try_toe()
1104 error = ktls_alloc_snd_tag(so->so_pcb, tls, force, &mst); in ktls_try_ifnet()
1110 error = ktls_alloc_rcv_tag(so->so_pcb, tls, &mst); in ktls_try_ifnet()
1432 inp = so->so_pcb; in ktls_enable_tx()
1468 inp = so->so_pcb; in ktls_get_rx_mode()
1531 inp = so->so_pcb; in ktls_get_tx_mode()
1564 inp = so->so_pcb; in ktls_set_tx_mode()
1683 inp = so->so_pcb; in ktls_reset_receive_tag()
H A Duipc_socket.c867 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL")); in sodealloc()
1135 "occurrences)\n", head->so_pcb,
1144 head->so_pcb, sbuf_data(&descrsb), qlen,
1165 __func__, head->so_pcb);
1212 __func__, head->so_pcb);
1241 __func__, head->so_pcb);
1323 __func__, head->so_pcb);
1344 __func__, head->so_pcb);
1350 __func__, head->so_pcb);
5035 xso->so_pcb = (uintptr_t)so->so_pcb;
H A Duipc_debug.c416 db_printf("so_pcb: %p ", so->so_pcb); in db_print_socket()
/freebsd/sys/netlink/
H A Dnetlink_var.h80 #define sotonlpcb(so) ((struct nlpcb *)(so)->so_pcb)
/freebsd/sys/netgraph/
H A Dng_socket.c161 #define sotongpcb(so) ((struct ngpcb *)(so)->so_pcb)
619 so->so_pcb = (caddr_t)pcbp; in ng_attach_common()
659 pcbp->ng_socket->so_pcb = NULL; in ng_detach_common()
/freebsd/usr.bin/netstat/
H A Dunix.c310 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
H A Dinet.c160 xso->so_pcb = (uintptr_t)so->so_pcb; in sotoxsocket()
376 (u_long)so->so_pcb); in protopr()

12