Lines Matching refs:sctp_flags

117 	if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {  in sctp_pathmtu_adjustment()
431 if (((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0)) { in sctp_abort()
432 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_abort()
479 inp->sctp_flags &= ~SCTP_PCB_FLAGS_BOUND_V6; /* I'm not v6! */ in sctp_attach()
526 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) { in sctp_close()
527 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_close()
585 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) || in sctp_sendm()
586 (inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE))) { in sctp_sendm()
665 KASSERT(inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE || in sctp_disconnect()
666 inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL, in sctp_disconnect()
793 if (!((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_shutdown()
794 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) in sctp_shutdown()
827 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_CANT_READ; in sctp_shutdown()
1037 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_fill_up_addresses_vrf()
1061 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_fill_up_addresses_vrf()
1262 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_max_size_addresses_vrf()
1348 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_do_connect_x()
1349 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp_do_connect_x()
1355 if ((inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) && in sctp_do_connect_x()
1361 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp_do_connect_x()
1373 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_do_connect_x()
1374 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { in sctp_do_connect_x()
1391 if (((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) && in sctp_do_connect_x()
1396 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_do_connect_x()
1409 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) { in sctp_do_connect_x()
1474 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||\
1475 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { \
1541 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
1601 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) {
1648 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1649 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1650 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1679 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1680 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1681 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1706 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1707 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1708 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1752 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1753 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1754 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1826 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1827 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
1850 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1851 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
1891 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1892 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1893 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1968 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1969 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1970 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2016 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2017 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2018 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2044 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2045 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2046 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2182 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2262 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2280 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2452 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2453 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2454 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2467 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) &&
2679 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2680 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2681 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2736 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2737 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2738 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2768 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2769 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2770 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2889 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2890 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2891 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2932 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2933 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2934 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3051 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3052 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3053 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3109 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3110 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3111 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3142 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3143 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3144 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3254 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3255 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3256 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3363 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3364 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3365 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3391 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3392 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3393 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3419 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3420 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3421 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3447 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3448 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3449 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3475 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3476 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3477 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3503 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3504 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3505 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3531 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3532 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3533 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3559 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3560 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3561 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3587 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3588 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3589 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3690 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3691 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3692 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3761 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
3782 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
3793 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3794 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
3817 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == 0) {
3822 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) {
3880 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3881 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3882 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3925 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3926 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3927 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3934 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3976 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3977 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3978 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3985 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4012 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4060 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4061 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4062 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4069 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4101 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4141 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4142 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4143 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4150 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4213 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4214 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4215 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4227 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4314 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4315 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4316 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4352 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4463 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4464 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4465 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4475 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4504 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4505 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4506 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4516 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4545 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4546 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4547 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4557 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4586 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4587 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4588 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4595 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4886 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
4942 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4943 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4944 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4951 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4976 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4977 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4978 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5122 if (((inp->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) != 0) &&
5178 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5179 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5180 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5187 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5548 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5549 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5550 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5595 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
5640 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5641 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5642 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5697 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5698 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5699 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5863 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
6111 (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6118 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6119 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6120 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6131 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6204 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6205 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6206 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6218 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6260 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6261 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6262 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6271 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6445 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6446 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6447 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6549 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6550 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6551 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6575 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6576 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6577 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6605 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6606 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6607 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6635 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6636 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6637 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6675 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6676 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6677 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6723 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6724 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6725 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6753 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6754 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6755 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6783 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6784 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6785 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6824 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6825 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6826 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
7003 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) ||
7004 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) {
7011 if (((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) &&
7018 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) {
7026 if ((inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) &&
7032 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7033 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) {
7039 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
7115 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
7137 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) == 0) &&
7138 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) &&
7154 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
7160 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) {
7181 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) == 0) &&
7182 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) &&
7203 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
7222 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7223 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) {
7230 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7231 ((inp->sctp_flags & SCTP_PCB_FLAGS_WAS_CONNECTED) ||
7232 (inp->sctp_flags & SCTP_PCB_FLAGS_WAS_ABORTED))) {
7239 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) {
7247 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) == 0) {
7250 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7255 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7257 inp->sctp_flags &= ~SCTP_PCB_FLAGS_ACCEPTING;
7284 if (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) {
7304 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) {
7305 inp->sctp_flags &= ~SCTP_PCB_FLAGS_DONT_WAKE;
7306 if (inp->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) {
7307 inp->sctp_flags &= ~SCTP_PCB_FLAGS_WAKEOUTPUT;
7315 if (inp->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) {
7316 inp->sctp_flags &= ~SCTP_PCB_FLAGS_WAKEINPUT;
7384 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
7385 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
7474 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) == 0)) {