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

Changeset 4523


Ignore:
Timestamp:
Oct 6, 2009, 1:47:40 PM (8 years ago)
Author:
stud-dettling
Message:
  • Provided the possibility to set the downstream bit in the PC-MRM.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ntlp/branches/20090610-qos-nslp-aho/include/mri_pc.h

    r3489 r4523  
    111111
    112112        bool get_downstream() const { return ! ( flags & Direction ); }
     113        void set_downstream(bool down);
    113114
    114115        uint16 get_flags() const { return flags; }
     
    348349}
    349350
     351inline void mri_pathcoupled::set_downstream(bool down) {
     352        if (! down)
     353                flags = flags | Direction;
     354}
     355
    350356//@}
    351357
Note: See TracChangeset for help on using the changeset viewer.