Lines Matching refs:so_type
520 switch (so->so_type) {
558 switch (so->so_type) {
878 if (so->so_type != SOCK_STREAM && so->so_type != SOCK_SEQPACKET)
945 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET,
946 ("%s: socktype %d", __func__, so->so_type));
997 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM ||
998 so->so_type == SOCK_SEQPACKET,
999 ("%s: socktype %d", __func__, so->so_type));
1010 switch (so->so_type) {
1108 switch (so->so_type) {
1214 KASSERT(so->so_type == SOCK_STREAM,
1389 if (so->so_type == SOCK_STREAM)
1570 if (so->so_type != so2->so_type) {
1667 if (so2->so_type != so->so_type)
1672 switch (so->so_type) {
1715 switch (unp->unp_socket->so_type) {
1923 if ((unp->unp_socket->so_type == SOCK_STREAM ||
1924 (unp->unp_socket->so_type == SOCK_SEQPACKET)) && unp2 != NULL) {