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

📄 send-buf.h

📁 LINUX下的mesh路由协议dsr的源代码包
💻 H
字号:
/* Copyright (C) Uppsala University * * This file is distributed under the terms of the GNU general Public * License (GPL), see the file LICENSE * * Author: Erik Nordström, <erikn@it.uu.se> */#ifndef _SEND_BUF_H#define _SEND_BUF_H#include "dsr.h"#ifndef NO_GLOBALS#define SEND_BUF_DROP 1#define SEND_BUF_SEND 2#ifdef NS2#include "ns-agent.h"typedef void (DSRUU::*xmit_fct_t) (struct dsr_pkt *);#elsetypedef int (*xmit_fct_t) (struct dsr_pkt *);#endif#endif				/* NO_GLOBALS */#ifndef NO_DECLSvoid send_buf_set_max_len(unsigned int max_len);int send_buf_find(struct in_addr dst);int send_buf_enqueue_packet(struct dsr_pkt *dp, xmit_fct_t okfn);int send_buf_set_verdict(int verdict, struct in_addr dst);int send_buf_init(void);void send_buf_cleanup(void);void send_buf_timeout(unsigned long data);#endif				/* NO_DECLS */#endif				/* _SEND_BUF_H */

⌨️ 快捷键说明

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