Searched refs:unpcb (Results 1 – 7 of 7) sorted by relevance
| /openbsd/src/sys/sys/ |
| D | unpcb.h | 69 struct unpcb { struct 74 struct unpcb *unp_conn; /* [s] control block of connected argument 77 SLIST_HEAD(,unpcb) unp_refs; /* [s] referencing socket linked list */ argument 78 SLIST_ENTRY(unpcb) unp_nextref; /* [s] link in unp_refs list */ 86 LIST_ENTRY(unpcb) unp_link; /* [G] link in per-AF list of sockets */ argument 102 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb)) 139 void unp_detach(struct unpcb *); 140 void unp_disconnect(struct unpcb *);
|
| /openbsd/src/sys/kern/ |
| D | uipc_usrreq.c | 93 void uipc_setaddr(const struct unpcb *, struct mbuf *); 99 static inline void unp_ref(struct unpcb *); 100 static inline void unp_rele(struct unpcb *); 117 LIST_HEAD(unp_head, unpcb) unp_head = 164 pool_init(&unpcb_pool, sizeof(struct unpcb), 0, in unp_init() 169 unp_ref(struct unpcb *unp) in unp_ref() 175 unp_rele(struct unpcb *unp) in unp_rele() 183 struct unpcb *unp, *unp2; in unp_solock_peer() 216 uipc_setaddr(const struct unpcb *unp, struct mbuf *nam) in uipc_setaddr() 261 struct unpcb *unp; in uipc_attach() [all …]
|
| D | kern_sysctl.c | 1580 struct unpcb *unpcb = so->so_pcb; in fill_file() local 1582 kf->f_msgcount = unpcb->unp_msgcount; in fill_file() 1584 kf->unp_conn = PTRTOINT64(unpcb->unp_conn); in fill_file() 1586 SLIST_FIRST(&unpcb->unp_refs)); in fill_file() 1588 SLIST_NEXT(unpcb, unp_nextref)); in fill_file() 1589 kf->v_un = PTRTOINT64(unpcb->unp_vnode); in fill_file() 1590 kf->unp_addr = PTRTOINT64(unpcb->unp_addr); in fill_file() 1592 if (unpcb->unp_addr != NULL) { in fill_file() 1593 struct sockaddr_un *un = mtod(unpcb->unp_addr, in fill_file()
|
| D | uipc_socket.c | 2220 struct unpcb *unp = sotounpcb(so); in sogetopt()
|
| /openbsd/src/lib/libkvm/ |
| D | kvm_file2.c | 653 struct unpcb unpcb; in fill_file() local 655 if (KREAD(kd, (u_long)sock.so_pcb, &unpcb)) { in fill_file() 659 kf->f_msgcount = unpcb.unp_msgcount; in fill_file() 660 kf->unp_conn = PTRTOINT64(unpcb.unp_conn); in fill_file() 662 SLIST_FIRST(&unpcb.unp_refs)); in fill_file() 664 SLIST_NEXT(&unpcb, unp_nextref)); in fill_file() 665 kf->v_un = PTRTOINT64(unpcb.unp_vnode); in fill_file() 666 if (unpcb.unp_addr != NULL) { in fill_file() 670 if (KREAD(kd, (u_long)unpcb.unp_addr, &mb)) { in fill_file() 681 kf->unp_addr = PTRTOINT64(unpcb.unp_addr); in fill_file()
|
| /openbsd/src/usr.bin/netstat/ |
| D | unix.c | 92 struct unpcb unp; in unpcb_dump()
|
| /openbsd/src/distrib/sets/lists/comp/ |
| D | mi | 1423 ./usr/include/sys/unpcb.h
|