• Leigh Stoller's avatar
    Add more MLE support. Here is a sample NS file that demonstrates the · 958fc09d
    Leigh Stoller authored
    new code. Note that this commit implements only the frontend part.
    
    set n1 [$ns node]
    set n2 [$ns node]
    set n3 [$ns node]
    
    set seg1 [$ns duplex-link $n1 $n2 * 0ms DropTail]
    set seg2 [$ns duplex-link $n2 $n3 * 0ms DropTail]
    tb-set-link-layer $seg1 1
    tb-set-link-layer $seg2 1
    
    set mypath [$ns make-path "seg1 seg2"]
    
    set link0 [$ns duplex-link $n1 $n3 * 0ms DropTail]
    $link0 implemented_by $mypath
    958fc09d
xmlconvert.in 22.2 KB