Namespace inet
GpsrOption
classThe GPSROption is used to add extra routing information for network datagrams.
For more information, see the GPSR paper htk/publication/2000-mobi-karp-kung.pdf" target="_blank">http://www.eecs.harvard.edu/htk/publication/2000-mobi-karp-kung.pdf
Extends
Name | Type | Description |
---|---|---|
TlvOptionBase | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
routingMode | GpsrForwardingMode | |
destinationPosition | Coord |
D |
perimeterRoutingStartPosition | Coord |
Lp |
perimeterRoutingForwardPosition | Coord |
Lf |
currentFaceFirstSenderAddress | L3Address |
e0 |
currentFaceFirstReceiverAddress | L3Address |
e0 |
senderAddress | L3Address |
TODO this field is not strictly needed by GPSR (should be eliminated) |
Source code
// // The GPSROption is used to add extra routing information for network datagrams. // // For more information, see the GPSR paper // http://www.eecs.harvard.edu/~htk/publication/2000-mobi-karp-kung.pdf // class GpsrOption extends TlvOptionBase { GpsrForwardingMode routingMode; Coord destinationPosition; // D Coord perimeterRoutingStartPosition; // Lp Coord perimeterRoutingForwardPosition; // Lf L3Address currentFaceFirstSenderAddress; // e0 L3Address currentFaceFirstReceiverAddress; // e0 L3Address senderAddress; // TODO this field is not strictly needed by GPSR (should be eliminated) }File: src/inet/routing/gpsr/Gpsr.msg