NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4541


Ignore:
Timestamp:
Oct 12, 2009, 2:16:03 AM (8 years ago)
Author:
stud-dettling
Message:
  • Implemented "Tear-Down on old path" for case where upstream signaling is needed. The Tear-Down happens Hop-by-Hop from the CRN towards the QNI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • qos-nslp/branches/20090610-qos-nslp-aho/src/QoS_StateModule.cpp

    r4540 r4541  
    32893289                context->set_is_maybe_dead_end(true);
    32903290                context->unlock();
     3291
     3292                // send tearing RESERVE
     3293                uint32 rsn_own;
     3294                context->lock();
     3295                context->get_rsn_own(rsn_own);
     3296                context->unlock();
     3297                rsn_own++;
     3298
     3299                reservereq *res = new reservereq();
     3300                res->set_rsn(new rsn(rsn_own));
     3301                res->set_tear_flag();
     3302
     3303                known_nslp_pdu* pdu = dynamic_cast<known_nslp_pdu*>(res);
     3304                assert(pdu != NULL);
     3305
     3306                SignalingMsg* sigmsg = new SignalingMsg();
     3307                sigmsg->set_msg(pdu);
     3308                sigmsg->set_sig_mri(rcvd_mri);
     3309                sigmsg->set_downstream(!down);
     3310                sigmsg->set_sid(*rcvd_sid);
     3311                sigmsg->send_or_delete();
    32913312            }
    32923313        }
Note: See TracChangeset for help on using the changeset viewer.