Lines Matching full:av
1639 struct sctp_assoc_value *av; local
1641 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1642 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1645 av->assoc_value = stcb->asoc.idata_supported;
1651 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
1654 av->assoc_value = 1;
1656 av->assoc_value = 0;
1671 struct sctp_assoc_value *av; local
1673 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1674 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1676 av->assoc_value = stcb->asoc.sctp_cmt_on_off;
1682 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
1684 av->assoc_value = inp->sctp_cmt_on_off;
1698 struct sctp_assoc_value *av; local
1700 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1701 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1703 av->assoc_value = stcb->asoc.congestion_control_module;
1709 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
1711 av->assoc_value = inp->sctp_ep.sctp_default_cc_module;
1744 struct sctp_assoc_value *av; local
1746 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1747 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1749 av->assoc_value = stcb->asoc.stream_scheduling_module;
1755 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
1757 av->assoc_value = inp->sctp_ep.sctp_default_ss_module;
1771 struct sctp_stream_value *av; local
1773 SCTP_CHECK_AND_CAST(av, optval, struct sctp_stream_value, *optsize);
1774 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1776 if ((av->stream_id >= stcb->asoc.streamoutcnt) ||
1777 … (stcb->asoc.ss_functions.sctp_ss_get_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id],
1778 &av->stream_value) < 0)) {
1797 struct sctp_assoc_value *av; local
1799 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1802 if (av->assoc_value == AF_INET) {
1803 av->assoc_value = sizeof(struct sockaddr_in);
1808 if (av->assoc_value == AF_INET6) {
1809 av->assoc_value = sizeof(struct sockaddr_in6);
1882 struct sctp_assoc_value *av; local
1884 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1885 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1888 av->assoc_value = stcb->asoc.context;
1894 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
1896 av->assoc_value = inp->sctp_context;
2007 struct sctp_assoc_value *av; local
2009 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
2010 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
2013 av->assoc_value = stcb->asoc.max_burst;
2019 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
2021 av->assoc_value = inp->sctp_ep.max_burst;
2035 struct sctp_assoc_value *av; local
2037 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
2038 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
2041 av->assoc_value = stcb->asoc.sctp_frag_point;
2047 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
2049 av->assoc_value = inp->sctp_frag_point;
3382 struct sctp_assoc_value *av; local
3384 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3385 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3388 av->assoc_value = stcb->asoc.ecn_supported;
3394 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3396 av->assoc_value = inp->ecn_supported;
3410 struct sctp_assoc_value *av; local
3412 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3413 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3416 av->assoc_value = stcb->asoc.prsctp_supported;
3422 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3424 av->assoc_value = inp->prsctp_supported;
3438 struct sctp_assoc_value *av; local
3440 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3441 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3444 av->assoc_value = stcb->asoc.auth_supported;
3450 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3452 av->assoc_value = inp->auth_supported;
3466 struct sctp_assoc_value *av; local
3468 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3469 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3472 av->assoc_value = stcb->asoc.asconf_supported;
3478 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3480 av->assoc_value = inp->asconf_supported;
3494 struct sctp_assoc_value *av; local
3496 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3497 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3500 av->assoc_value = stcb->asoc.reconfig_supported;
3506 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3508 av->assoc_value = inp->reconfig_supported;
3522 struct sctp_assoc_value *av; local
3524 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3525 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3528 av->assoc_value = stcb->asoc.nrsack_supported;
3534 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3536 av->assoc_value = inp->nrsack_supported;
3550 struct sctp_assoc_value *av; local
3552 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3553 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3556 av->assoc_value = stcb->asoc.pktdrop_supported;
3562 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3564 av->assoc_value = inp->pktdrop_supported;
3578 struct sctp_assoc_value *av; local
3580 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3581 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3584 av->assoc_value = (uint32_t)stcb->asoc.local_strreset_support;
3590 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3592 av->assoc_value = (uint32_t)inp->local_strreset_support;
3681 struct sctp_assoc_value *av; local
3683 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
3684 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3687 av->assoc_value = stcb->asoc.max_cwnd;
3693 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3695 av->assoc_value = inp->max_cwnd;
3870 struct sctp_assoc_value *av; local
3872 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
3873 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3883 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
3885 if (av->assoc_value == 0) {
3912 struct sctp_assoc_value *av; local
3914 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
3915 if (av->assoc_value > SCTP_CMT_MAX) {
3920 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3922 stcb->asoc.sctp_cmt_on_off = av->assoc_value;
3928 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
3929 (av->assoc_id == SCTP_ALL_ASSOC)))) {
3931 inp->sctp_cmt_on_off = av->assoc_value;
3935 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
3936 (av->assoc_id == SCTP_ALL_ASSOC))) {
3940 stcb->asoc.sctp_cmt_on_off = av->assoc_value;
3953 struct sctp_assoc_value *av; local
3956 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
3957 if ((av->assoc_value != SCTP_CC_RFC2581) &&
3958 (av->assoc_value != SCTP_CC_HSTCP) &&
3959 (av->assoc_value != SCTP_CC_HTCP) &&
3960 (av->assoc_value != SCTP_CC_RTCC)) {
3965 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
3967 stcb->asoc.cc_functions = sctp_cc_functions[av->assoc_value];
3968 stcb->asoc.congestion_control_module = av->assoc_value;
3979 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
3980 (av->assoc_id == SCTP_ALL_ASSOC)))) {
3982 inp->sctp_ep.sctp_default_cc_module = av->assoc_value;
3986 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
3987 (av->assoc_id == SCTP_ALL_ASSOC))) {
3991 stcb->asoc.cc_functions = sctp_cc_functions[av->assoc_value];
3992 stcb->asoc.congestion_control_module = av->assoc_value;
4039 struct sctp_assoc_value *av; local
4041 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
4042 if ((av->assoc_value != SCTP_SS_DEFAULT) &&
4043 (av->assoc_value != SCTP_SS_RR) &&
4044 (av->assoc_value != SCTP_SS_RR_PKT) &&
4045 (av->assoc_value != SCTP_SS_PRIO) &&
4046 (av->assoc_value != SCTP_SS_FB) &&
4047 (av->assoc_value != SCTP_SS_FCFS)) {
4052 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4055 stcb->asoc.ss_functions = sctp_ss_functions[av->assoc_value];
4056 stcb->asoc.stream_scheduling_module = av->assoc_value;
4063 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
4064 (av->assoc_id == SCTP_ALL_ASSOC)))) {
4066 inp->sctp_ep.sctp_default_ss_module = av->assoc_value;
4070 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
4071 (av->assoc_id == SCTP_ALL_ASSOC))) {
4076 stcb->asoc.ss_functions = sctp_ss_functions[av->assoc_value];
4077 stcb->asoc.stream_scheduling_module = av->assoc_value;
4088 struct sctp_stream_value *av; local
4090 SCTP_CHECK_AND_CAST(av, optval, struct sctp_stream_value, optsize);
4091 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4093 if ((av->stream_id >= stcb->asoc.streamoutcnt) ||
4094 … (stcb->asoc.ss_functions.sctp_ss_set_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id],
4095 av->stream_value) < 0)) {
4102 (av->assoc_id == SCTP_CURRENT_ASSOC)) {
4106 if (av->stream_id < stcb->asoc.streamoutcnt) {
4109 &stcb->asoc.strmout[av->stream_id],
4110 av->stream_value);
4132 struct sctp_assoc_value *av; local
4134 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
4135 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4138 stcb->asoc.context = av->assoc_value;
4144 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
4145 (av->assoc_id == SCTP_ALL_ASSOC)))) {
4147 inp->sctp_context = av->assoc_value;
4151 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
4152 (av->assoc_id == SCTP_ALL_ASSOC))) {
4156 stcb->asoc.context = av->assoc_value;
4573 struct sctp_assoc_value *av; local
4575 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
4576 if (av->assoc_value & (~SCTP_ENABLE_VALUE_MASK)) {
4581 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4583 stcb->asoc.local_strreset_support = (uint8_t)av->assoc_value;
4589 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
4590 (av->assoc_id == SCTP_ALL_ASSOC)))) {
4592 inp->local_strreset_support = (uint8_t)av->assoc_value;
4596 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
4597 (av->assoc_id == SCTP_ALL_ASSOC))) {
4601 stcb->asoc.local_strreset_support = (uint8_t)av->assoc_value;
4933 struct sctp_assoc_value *av; local
4935 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
4936 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4939 stcb->asoc.max_burst = av->assoc_value;
4945 ((av->assoc_id == SCTP_FUTURE_ASSOC) ||
4946 (av->assoc_id == SCTP_ALL_ASSOC)))) {
4948 inp->sctp_ep.max_burst = av->assoc_value;
4952 ((av->assoc_id == SCTP_CURRENT_ASSOC) ||
4953 (av->assoc_id == SCTP_ALL_ASSOC))) {
4957 stcb->asoc.max_burst = av->assoc_value;
4967 struct sctp_assoc_value *av; local
4969 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
4970 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
4973 stcb->asoc.sctp_frag_point = av->assoc_value;
4979 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
4981 inp->sctp_frag_point = av->assoc_value;
6565 struct sctp_assoc_value *av; local
6567 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6568 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6578 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6580 if (av->assoc_value == 0) {
6595 struct sctp_assoc_value *av; local
6597 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6598 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6608 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6610 if (av->assoc_value == 0) {
6625 struct sctp_assoc_value *av; local
6627 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6628 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6638 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6639 if ((av->assoc_value == 0) &&
6649 if (av->assoc_value == 0) {
6665 struct sctp_assoc_value *av; local
6667 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6668 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6678 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6679 if ((av->assoc_value != 0) &&
6689 if (av->assoc_value == 0) {
6713 struct sctp_assoc_value *av; local
6715 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6716 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6726 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6728 if (av->assoc_value == 0) {
6743 struct sctp_assoc_value *av; local
6745 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6746 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6756 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6758 if (av->assoc_value == 0) {
6773 struct sctp_assoc_value *av; local
6775 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6776 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6786 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6788 if (av->assoc_value == 0) {
6803 struct sctp_assoc_value *av; local
6806 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
6807 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
6810 stcb->asoc.max_cwnd = av->assoc_value;
6827 (av->assoc_id == SCTP_FUTURE_ASSOC))) {
6829 inp->max_cwnd = av->assoc_value;