Searched refs:so_pcb (Results 1 – 21 of 21) sorted by relevance
| /openbsd/src/usr.bin/netstat/ |
| D | unix.c | 62 if (kf->so_pcb == -1) in unixdomainpr() 63 kf->so_pcb = 0; in unixdomainpr() 75 FAKE_PTR(kf->so_pcb), socktype[kf->so_type], in unixdomainpr()
|
| D | inet.c | 170 if (pcbaddr == kf[i].so_pcb) { in protopr() 171 inpcb_dump(kf[i].so_pcb, in protopr() 178 inpcb_dump(kf[i].so_pcb, in protopr() 187 if (pcbaddr == kf[i].so_pcb) { in protopr() 195 if (kf[i].so_family == AF_LOCAL && (kf[i].so_pcb != 0 || in protopr() 199 if (kf[i].so_family == AF_INET && kf[i].so_pcb != 0 && in protopr() 203 if (kf[i].so_family == AF_INET6 && kf[i].so_pcb != 0 && in protopr() 230 if (kf->so_pcb == -1) in netdomainpr() 231 kf->so_pcb = 0; in netdomainpr() 336 kf->inp_ppcb : kf->so_pcb)); in netdomainpr() [all …]
|
| /openbsd/src/usr.bin/fstat/ |
| D | fstat.c | 672 } else if (kf->so_pcb) { in print_inet_details() 674 hide((void *)(uintptr_t)kf->so_pcb); in print_inet_details() 718 } else if (kf->so_pcb) { in print_inet6_details() 720 hide((void *)(uintptr_t)kf->so_pcb); in print_inet6_details() 800 if (kf->so_pcb) { in socktrans() 802 hide((void *)(uintptr_t)kf->so_pcb); in socktrans()
|
| /openbsd/src/sys/net/ |
| D | if_ethersubr.c | 1399 if (so->so_pcb != NULL) in ether_frm_attach() 1416 so->so_pcb = ep; in ether_frm_attach() 1439 ep = so->so_pcb; in ether_frm_detach() 1446 so->so_pcb = NULL; /* shares a ref with the list */ in ether_frm_detach() 1499 ep = so->so_pcb; in ether_frm_bind() 1562 ep = so->so_pcb; in ether_frm_connect() 1604 ep = so->so_pcb; in ether_frm_disconnect() 1642 ep = so->so_pcb; in ether_frm_send() 1785 struct ether_pcb *ep = so->so_pcb; in ether_frm_sockaddr() 1793 struct ether_pcb *ep = so->so_pcb; in ether_frm_peeraddr() [all …]
|
| D | rtsock.c | 168 #define sotortpcb(so) ((struct rtpcb *)(so)->so_pcb) 235 so->so_pcb = rop; in route_attach() 284 so->so_pcb = NULL; in route_detach()
|
| D | pfkeyv2.c | 148 #define sotokeycb(so) ((struct pkpcb *)(so)->so_pcb) 286 so->so_pcb = kp; in pfkeyv2_attach() 337 so->so_pcb = NULL; in pfkeyv2_detach()
|
| /openbsd/src/lib/libkvm/ |
| D | kvm_file2.c | 559 kf->so_pcb = PTRTOINT64(sock.so_pcb); in fill_file() 584 if (!sock.so_pcb) in fill_file() 590 if (KREAD(kd, (u_long)sock.so_pcb, &inpcb)) { in fill_file() 620 if (KREAD(kd, (u_long)sock.so_pcb, &inpcb)) { in fill_file() 655 if (KREAD(kd, (u_long)sock.so_pcb, &unpcb)) { in fill_file()
|
| /openbsd/src/sys/sys/ |
| D | unpcb.h | 102 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
|
| D | socketvar.h | 126 void *so_pcb; /* [s] protocol control block */ member
|
| D | sysctl.h | 789 uint64_t so_pcb; /* PTR: socket pcb */ member
|
| /openbsd/src/sys/kern/ |
| D | uipc_usrreq.c | 186 unp = so->so_pcb; in unp_solock_peer() 264 if (so->so_pcb) in uipc_attach() 299 so->so_pcb = unp; in uipc_attach() 830 so->so_pcb = NULL; in unp_detach()
|
| D | kern_sysctl.c | 1510 kf->so_pcb = PTRTOINT64(so->so_pcb); in fill_file() 1512 kf->so_pcb = -1; in fill_file() 1524 if (so->so_pcb == NULL) { in fill_file() 1531 struct inpcb *inpcb = so->so_pcb; in fill_file() 1553 struct inpcb *inpcb = so->so_pcb; in fill_file() 1580 struct unpcb *unpcb = so->so_pcb; in fill_file()
|
| D | uipc_socket.c | 305 if (so->so_pcb || (so->so_state & SS_NOFDREF) == 0) { in sofree() 375 if (so->so_pcb == NULL) in soclose() 396 if (so->so_pcb) { in soclose() 1827 sosp->so_pcb == NULL) in somove() 2536 (*pr)("so_pcb: %p\n", so->so_pcb); in so_print()
|
| /openbsd/src/sys/netinet/ |
| D | in_pcb.h | 263 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
|
| D | ip_divert.c | 270 if (so->so_pcb != NULL) in divert_attach()
|
| D | in_pcb.c | 269 so->so_pcb = inp; in in_pcballoc() 587 so->so_pcb = NULL; in in_pcbdetach() 639 if (so->so_pcb == NULL) { in in_pcbsolock_ref()
|
| D | raw_ip.c | 482 if (so->so_pcb) in rip_attach()
|
| D | udp_usrreq.c | 1103 if (so->so_pcb != NULL) in udp_attach()
|
| D | tcp_usrreq.c | 480 if (so->so_pcb) in tcp_attach()
|
| /openbsd/src/sys/netinet6/ |
| D | ip6_divert.c | 278 if (so->so_pcb != NULL) in divert6_attach()
|
| D | raw_ip6.c | 600 if (so->so_pcb) in rip6_attach()
|