Skip to content

Commit

Permalink
- macOld --> mac, also in the ned file
Browse files Browse the repository at this point in the history
- fix layout of make menu 
(both in makefrag and makefile; does the makefrag still have any purpose at all now?)


git-svn-id: https://mixim.svn.sourceforge.net/svnroot/mixim/trunk@461 ccb5d51d-3e1d-0410-9886-bf3c9037c363
  • Loading branch information
otvi committed Oct 23, 2008
1 parent 22ea54d commit b730a38
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ help:
@echo " modules -- create modules"
@echo " lib -- create mixim library (base and modules)"
@echo " examples -- create example networks "
@echo " configurator -- create the configuration tool "
@echo " configurator -- create the configuration tool "
@echo " tests -- create tests "
@echo " all -- create all of the above "
@echo " all -- create all of the above "
@echo " docs -- create documentation "
@echo " clean -- clean everything up "
@echo " clean -- clean everything up "
@echo " distclean -- get back to pristine fresh state "
@echo "*******************************************************************"

Expand Down
22 changes: 11 additions & 11 deletions makefrag
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ help:
@echo
@echo "*******************************************************************"
@echo " Targets are:"
@echo " base -- create base"
@echo " modules -- create modules"
@echo " lib -- create mixim library"
@echo " bin -- create mixim binary"
@echo " tests -- create tests "
@echo " examples -- create example networks "
@echo " configurator -- create the configuration tool "
@echo " all -- create all of the above "
@echo " docs -- create documentation "
@echo " clean -- clean everything up "
@echo " distclean -- get back to pristine fresh state "
@echo " base -- create base"
@echo " modules -- create modules"
@echo " lib -- create mixim library"
@echo " bin -- create mixim binary"
@echo " tests -- create tests "
@echo " examples -- create example networks "
@echo " configurator -- create the configuration tool "
@echo " all -- create all of the above "
@echo " docs -- create documentation "
@echo " clean -- clean everything up "
@echo " distclean -- get back to pristine fresh state "
@echo "*******************************************************************"

# make all
Expand Down
27 changes: 14 additions & 13 deletions modules/mac/Mac.ned
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
package org.mixim.modules.macOld;
package org.mixim.modules.mac;

simple EyesMacLayer
{
simple EyesMacLayer {
parameters:
bool debug; // debug switch
double headerLength; // length of the MAC packet header (in bits)
bool debug; // debug switch
double headerLength; // length of the MAC packet header (in bits)
bool lpl;
volatile double siftNodes;

gates:
input upperGateIn; // from the network layer
output upperGateOut; // to the network layer
input upperControlIn; // control from the network layer
output upperControlOut; // control to the network layer
input lowerGateIn; // from the physical layer
output lowerGateOut; // to the physical layer
input lowerControlIn; // control from the physical layer
output lowerControlOut; // control to the physical layer
input upperGateIn; // from the network layer
output upperGateOut; // to the network layer
input upperControlIn; // control from the network layer
output upperControlOut; // control to the network layer
input lowerGateIn; // from the physical layer
output lowerGateOut; // to the physical layer
input lowerControlIn; // control from the physical layer
output lowerControlOut; // control to the physical layer
}

0 comments on commit b730a38

Please # to comment.