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

📄 dev_mueslix.h

📁 思科路由器仿真器,用来仿7200系列得,可以在电脑上模拟路由器-Cisco router simulator, used to fake a 7200 series can be simulated
💻 H
字号:
/* * Cisco 7200 (Predator) simulation platform. * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) */#ifndef __DEV_MUESLIX_H__#define __DEV_MUESLIX_H__#include <sys/types.h>#include "utils.h"#include "mips64.h"#include "cpu.h"#include "device.h"#include "net_io.h"#include "vm.h"/* Number of channels (4 interfaces) */#define MUESLIX_NR_CHANNELS  4/* Initialize a Mueslix chip */struct mueslix_data *dev_mueslix_init(vm_instance_t *vm,char *name,int chip_mode,                 struct pci_bus *pci_bus,int pci_device,int irq);/* Remove a Mueslix device */void dev_mueslix_remove(struct mueslix_data *d);/* Bind a NIO to a Mueslix channel */int dev_mueslix_set_nio(struct mueslix_data *d,u_int channel_id,                        netio_desc_t *nio);/* Unbind a NIO from a Mueslix channel */int dev_mueslix_unset_nio(struct mueslix_data *d,u_int channel_id);#endif

⌨️ 快捷键说明

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