prev post was on ip checksum element. it returns bad lengths. the
following is the configuration. elements after checksum elemnt are not
functioning. wats the error? help me


//classifying the IP packet based on starting hex 45 00
cl :: Classifier(14/45 , -);
//capturing packets from eth1
        FromDevice(eth1)
        ->[0]cl;
        cl[0]->
//print org packets
         Print(orig)
//stripping ether header
        -> Strip(14)
//printing altered packet
        ->Print(strp)
//altering contents
        ->StoreData(4,A)
//printf stripped packet
        ->Print(stor)
//seting chksum
         ->SetIPChecksum()
//ustriping packet
         ->Unstrip(14)
         ->Print(ustp)
         -> Discard;
cl[1]-> Discard();


-----------------------------------------
This email was sent using TCEMail Service.
Thiagarajar College of Engineering
Madurai-625 015, India

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to