⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 routeselect.nc

📁 tinyos-2.x.rar
💻 NC
字号:
/*
 * Copyright (c) 2007 Romain Thouvenin <romain.thouvenin@gmail.com>
 * Published under the terms of the GNU General Public License (GPLv2).
 */

#include "routing.h"

/**
 * Interface to a route selection in a multi-hop context.
 *
 * @author Romain Thouvenin
 */

interface RouteSelect {

  /**
   * Ask the routing engine to fill a message with routing
   * information, in order to send it to its target.
   *
   * @param msg The message to be sent
   * @param destination The target of the route. If NULL, it is assumed it can be read in the packet
   * @return The action that should be taken by the forwarding engine.
   */
  command fw_action_t selectRoute(message_t * msg, addr_t * destination, uint8_t * am_type);
  
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -