Interface: tos.lib.net.ctp.CtpRoutingPacket

interface CtpRoutingPacket

ADT for CTP routing frames.

Author:
Philip Levis
Kyle Jamieson
Date:
$Date: 2008/06/04 04:30:41 $

Commands
command void clearOption(message_t *msg, ctp_options_t opt)
command void clearOptions(message_t *msg)
command uint16_t getEtx(message_t *msg)
command bool getOption(message_t *msg, ctp_options_t opt)
command am_addr_t getParent(message_t *msg)
command void setEtx(message_t *msg, uint8_t etx)
command void setOption(message_t *msg, ctp_options_t opt)
command void setParent(message_t *msg, am_addr_t addr)

Commands - Details

clearOption

command void clearOption(message_t *msg, ctp_options_t opt)

clearOptions

command void clearOptions(message_t *msg)

getEtx

command uint16_t getEtx(message_t *msg)

getOption

command bool getOption(message_t *msg, ctp_options_t opt)

getParent

command am_addr_t getParent(message_t *msg)

setEtx

command void setEtx(message_t *msg, uint8_t etx)

setOption

command void setOption(message_t *msg, ctp_options_t opt)

setParent

command void setParent(message_t *msg, am_addr_t addr)