Home
last modified time | relevance | path

Searched refs:so_type (Results 1 – 18 of 18) sorted by relevance

/openbsd/usr.bin/systat/
H A Dnetstat.c277 if (type_map[ka->so_type] < type_map[kb->so_type]) in kf_comp()
279 if (type_map[ka->so_type] > type_map[kb->so_type]) in kf_comp()
286 if (ka->so_type == SOCK_DGRAM || ka->so_type == SOCK_STREAM) { in kf_comp()
292 } else if (ka->so_type == SOCK_RAW) { in kf_comp()
/openbsd/usr.bin/netstat/
H A Dinet.c119 if (type_map[ka->so_type] < type_map[kb->so_type]) in kf_comp()
121 if (type_map[ka->so_type] > type_map[kb->so_type]) in kf_comp()
128 if (ka->so_type == SOCK_DGRAM || ka->so_type == SOCK_STREAM) { in kf_comp()
134 } else if (ka->so_type == SOCK_RAW) { in kf_comp()
241 if (kf->so_type != SOCK_RAW || kf->so_family != AF_INET) in netdomainpr()
245 if (kf->so_type != SOCK_RAW || kf->so_family != AF_INET6) in netdomainpr()
310 if (af != kf->so_family || type != kf->so_type) { in netdomainpr()
312 type = kf->so_type; in netdomainpr()
357 } else if (kf->so_type == SOCK_RAW) { in netdomainpr()
1316 p("%#.4x", so_type, "\n "); in socket_dump()
H A Dunix.c75 FAKE_PTR(kf->so_pcb), socktype[kf->so_type], in unixdomainpr()
/openbsd/sys/nfs/
H A Dnfs_syscalls.c240 if ((so->so_type != SOCK_STREAM && so->so_type != SOCK_DGRAM) || in nfssvc_addsock()
246 if (so->so_type == SOCK_STREAM) in nfssvc_addsock()
263 if (so->so_type == SOCK_STREAM) { in nfssvc_addsock()
381 sotype = so->so_type; in nfssvc_nfsd()
H A Dnfs_srvsubs.c349 (slp->ns_so->so_type == SOCK_STREAM && ntohs(saddr->sin_port) == 20))) { in nfsrv_fhtovp()
H A Dnfs_socket.c1611 if (so->so_type == SOCK_STREAM) { in nfsrv_rcv()
H A Dnfs_serv.c3071 if (slp->ns_so->so_type == SOCK_DGRAM) in nfsrv_fsinfo()
/openbsd/sys/kern/
H A Duipc_usrreq.c267 switch (so->so_type) { in uipc_attach()
557 } else if (so->so_type == SOCK_SEQPACKET) in uipc_send()
883 if (so->so_type != so2->so_type) { in unp_connect()
969 if (so2->so_type != so->so_type) in unp_connect2()
973 switch (so->so_type) { in unp_connect2()
1005 switch (unp->unp_socket->so_type) { in unp_disconnect()
H A Duipc_socket.c196 so->so_type = type; in socreate()
235 switch (so->so_type) { in solisten()
604 if (so->so_type == SOCK_STREAM && (flags & MSG_EOR)) { in sosend()
913 so, so->so_type, so->so_rcv.sb_cc); in soreceive()
979 so, so->so_type, m, m->m_type); in soreceive()
1079 so, so->so_type, m, m->m_type); in soreceive()
1637 "m_type %d", so, so->so_type, m, m->m_type); in somove()
1674 "m_type %d", so, so->so_type, m, m->m_type); in somove()
1717 "m_type %d", so, so->so_type, *mp, (*mp)->m_type); in somove()
2163 *mtod(m, int *) = so->so_type; in sogetopt()
[all …]
H A Duipc_socket2.c192 so->so_type = head->so_type; in sonewconn()
377 KASSERT(so1->so_type == so2->so_type); in solock_pair()
H A Dkern_sysctl.c1506 kf->so_type = so->so_type; in fill_file()
1541 if (so->so_type == SOCK_RAW) in fill_file()
1569 if (so->so_type == SOCK_RAW) in fill_file()
/openbsd/usr.bin/fstat/
H A Dfstat.c750 if (kf->so_type != AF_UNIX) in socktrans()
764 if (kf->so_type > STYPEMAX) { in socktrans()
765 snprintf(stypebuf, sizeof(stypebuf), "?%d", kf->so_type); in socktrans()
768 stype = stypename[kf->so_type]; in socktrans()
/openbsd/lib/libkvm/
H A Dkvm_file2.c557 kf->so_type = sock.so_type; in fill_file()
600 if (sock.so_type == SOCK_RAW) in fill_file()
636 if (sock.so_type == SOCK_RAW) in fill_file()
/openbsd/sys/sys/
H A Dsocketvar.h129 short so_type; /* [I] generic type, see socket.h */ member
H A Dsysctl.h787 uint32_t so_type; /* SHORT: socket type */ member
/openbsd/sys/netinet/
H A Din_pcb.c392 !(so->so_type == SOCK_DGRAM && in in_pcbaddrisavail_lock()
394 !(so->so_type == SOCK_DGRAM && in in_pcbaddrisavail_lock()
H A Dip_mroute.c508 if (so->so_type != SOCK_RAW || in ip_mrouter_init()
/openbsd/sys/netinet6/
H A Dip6_mroute.c457 if (so->so_type != SOCK_RAW || in ip6_mrouter_init()