Lines Matching refs:sctp_flags

117 	if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {  in sctp_pathmtu_adjustment()
430 if (((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0)) { in sctp_abort()
431 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_abort()
478 inp->sctp_flags &= ~SCTP_PCB_FLAGS_BOUND_V6; /* I'm not v6! */ in sctp_attach()
525 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) { in sctp_close()
526 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_close()
584 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) || in sctp_sendm()
585 (inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE))) { in sctp_sendm()
664 KASSERT(inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE || in sctp_disconnect()
665 inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL, in sctp_disconnect()
803 if (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) { in sctp_flush()
813 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_CANT_READ; in sctp_flush()
865 if (!((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_shutdown()
866 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { in sctp_shutdown()
1042 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_fill_up_addresses_vrf()
1066 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_fill_up_addresses_vrf()
1267 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_max_size_addresses_vrf()
1353 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_do_connect_x()
1354 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp_do_connect_x()
1360 if ((inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) && in sctp_do_connect_x()
1366 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp_do_connect_x()
1378 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_do_connect_x()
1379 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { in sctp_do_connect_x()
1396 if (((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) && in sctp_do_connect_x()
1401 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_do_connect_x()
1414 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) { in sctp_do_connect_x()
1479 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||\
1480 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { \
1546 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
1606 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) {
1653 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1654 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1655 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1684 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1685 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1686 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1711 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1712 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1713 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1757 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1758 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1759 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1831 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1832 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
1855 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1856 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
1896 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1897 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1898 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
1973 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
1974 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
1975 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2021 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2022 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2023 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2049 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2050 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2051 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2187 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2267 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2285 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2457 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2458 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2459 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2472 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) &&
2684 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2685 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2686 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2741 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2742 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2743 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2773 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2774 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2775 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2894 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2895 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2896 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
2937 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2938 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
2939 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3056 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3057 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3058 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3114 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3115 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3116 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3147 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3148 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3149 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3259 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3260 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3261 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3368 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3369 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3370 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3396 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3397 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3398 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3424 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3425 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3426 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3452 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3453 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3454 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3480 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3481 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3482 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3508 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3509 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3510 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3536 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3537 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3538 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3564 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3565 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3566 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3592 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3593 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3594 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3695 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3696 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3697 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3766 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
3787 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
3798 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3799 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
3822 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == 0) {
3827 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) {
3885 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3886 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3887 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3930 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3931 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3932 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3939 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3981 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3982 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
3983 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
3990 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4017 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4065 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4066 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4067 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4074 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4106 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4146 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4147 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4148 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4155 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4218 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4219 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4220 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4232 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4319 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4320 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4321 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4357 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4468 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4469 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4470 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4480 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4509 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4510 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4511 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4521 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4550 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4551 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4552 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4562 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4591 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4592 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4593 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4600 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4891 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
4947 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4948 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4949 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4956 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
4981 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
4982 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
4983 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5127 if (((inp->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) != 0) &&
5183 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5184 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5185 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5192 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5553 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5554 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5555 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5600 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
5645 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5646 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5647 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5702 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
5703 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
5704 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
5868 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
6116 (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6123 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6124 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6125 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6136 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6209 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6210 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6211 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6223 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6265 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6266 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6267 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6276 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6450 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6451 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6452 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6554 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6555 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6556 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6580 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6581 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6582 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6610 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6611 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6612 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6640 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6641 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6642 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6680 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6681 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6682 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6728 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6729 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6730 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6758 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6759 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6760 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6788 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6789 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6790 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
6829 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
6830 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
6831 ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) &&
7008 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) ||
7009 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) {
7016 if (((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) &&
7023 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) {
7031 if ((inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) &&
7037 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7038 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) {
7044 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
7120 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
7142 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) == 0) &&
7143 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) &&
7159 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
7165 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) {
7186 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) == 0) &&
7187 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) &&
7208 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
7227 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7228 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) {
7235 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
7236 ((inp->sctp_flags & SCTP_PCB_FLAGS_WAS_CONNECTED) ||
7237 (inp->sctp_flags & SCTP_PCB_FLAGS_WAS_ABORTED))) {
7244 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) {
7252 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) == 0) {
7255 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7260 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7262 inp->sctp_flags &= ~SCTP_PCB_FLAGS_ACCEPTING;
7289 if (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) {
7309 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) {
7310 inp->sctp_flags &= ~SCTP_PCB_FLAGS_DONT_WAKE;
7311 if (inp->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) {
7312 inp->sctp_flags &= ~SCTP_PCB_FLAGS_WAKEOUTPUT;
7320 if (inp->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) {
7321 inp->sctp_flags &= ~SCTP_PCB_FLAGS_WAKEINPUT;
7407 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
7408 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) {
7500 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) == 0)) {