亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? netif.h

?? lwip在UCOS上的實(shí)現(xiàn)
?? H
字號(hào):
/* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved.  *  * Redistribution and use in source and binary forms, with or without modification,  * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, *    this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, *    this list of conditions and the following disclaimer in the documentation *    and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products *    derived from this software without specific prior written permission.  * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT  * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY  * OF SUCH DAMAGE. * * This file is part of the lwIP TCP/IP stack. *  * Author: Adam Dunkels <adam@sics.se> * */#ifndef __LWIP_NETIF_H__#define __LWIP_NETIF_H__#include "lwip/opt.h"#include "lwip/err.h"#include "lwip/ip_addr.h"#include "lwip/inet.h"#include "lwip/pbuf.h"#if LWIP_DHCP#  include "lwip/dhcp.h"#endif/** must be the maximum of all used hardware address lengths    across all types of interfaces in use */#define NETIF_MAX_HWADDR_LEN 6U/** TODO: define the use (where, when, whom) of netif flags *//** whether the network interface is 'up'. this is * a software flag used to control whether this network * interface is enabled and processes traffic. */#define NETIF_FLAG_UP 0x1U/** if set, the netif has broadcast capability */#define NETIF_FLAG_BROADCAST 0x2U/** if set, the netif is one end of a point-to-point connection */#define NETIF_FLAG_POINTTOPOINT 0x4U/** if set, the interface is configured using DHCP */#define NETIF_FLAG_DHCP 0x08U/** if set, the interface has an active link *  (set by the network interface driver) */#define NETIF_FLAG_LINK_UP 0x10U/** Generic data structure used for all lwIP network interfaces. *  The following fields should be filled in by the initialization *  function for the device driver: hwaddr_len, hwaddr[], mtu, flags */struct netif {  /** pointer to next in linked list */  struct netif *next;  /** IP address configuration in network byte order */  struct ip_addr ip_addr;  struct ip_addr netmask;  struct ip_addr gw;  /** This function is called by the network device driver   *  to pass a packet up the TCP/IP stack. */  err_t (* input)(struct pbuf *p, struct netif *inp);  /** This function is called by the IP module when it wants   *  to send a packet on the interface. This function typically   *  first resolves the hardware address, then sends the packet. */  err_t (* output)(struct netif *netif, struct pbuf *p,       struct ip_addr *ipaddr);  /** This function is called by the ARP module when it wants   *  to send a packet on the interface. This function outputs   *  the pbuf as-is on the link medium. */  err_t (* linkoutput)(struct netif *netif, struct pbuf *p);  /** This field can be set by the device driver and could point   *  to state information for the device. */  void *state;#if LWIP_DHCP  /** the DHCP client state information for this netif */  struct dhcp *dhcp;#endif  /** number of bytes used in hwaddr */  u8_t hwaddr_len;  /** link level hardware address of this interface */  u8_t hwaddr[NETIF_MAX_HWADDR_LEN];  /** maximum transfer unit (in bytes) */  u16_t mtu;  /** flags (see NETIF_FLAG_ above) */  u8_t flags;  /** descriptive abbreviation */  char name[2];  /** number of this interface */  u8_t num;#if LWIP_SNMP  /** link type (ifType values per RFC1213) */  u8_t link_type;  /** (estimate) link speed */  u32_t link_speed;  /** timestamp at last change made (up/down) */  u32_t ts;  /** counters */  u32_t ifinoctets;  u32_t ifinucastpkts;  u32_t ifinnucastpkts;  u32_t ifindiscards;  u32_t ifoutoctets;  u32_t ifoutucastpkts;  u32_t ifoutnucastpkts;  u32_t ifoutdiscards;#endif};/** The list of network interfaces. */extern struct netif *netif_list;/** The default network interface. */extern struct netif *netif_default;/* netif_init() must be called first. */void netif_init(void);struct netif *netif_add(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask,      struct ip_addr *gw,      void *state,      err_t (* init)(struct netif *netif),      err_t (* input)(struct pbuf *p, struct netif *netif));voidnetif_set_addr(struct netif *netif,struct ip_addr *ipaddr, struct ip_addr *netmask,    struct ip_addr *gw);void netif_remove(struct netif * netif);/* Returns a network interface given its name. The name is of the form   "et0", where the first two letters are the "name" field in the   netif structure, and the digit is in the num field in the same   structure. */struct netif *netif_find(char *name);void netif_set_default(struct netif *netif);void netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr);void netif_set_netmask(struct netif *netif, struct ip_addr *netmast);void netif_set_gw(struct netif *netif, struct ip_addr *gw);void netif_set_up(struct netif *netif);void netif_set_down(struct netif *netif);u8_t netif_is_up(struct netif *netif);#endif /* __LWIP_NETIF_H__ */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品 日韩| 欧美性一二三区| 伦理电影国产精品| 亚洲高清久久久| 亚洲午夜av在线| 日韩电影在线免费观看| 亚洲成a人片在线观看中文| 亚洲影视在线观看| 五月婷婷另类国产| 午夜一区二区三区视频| 首页国产欧美日韩丝袜| 日韩成人一区二区| 国产一区二区主播在线| 丁香啪啪综合成人亚洲小说 | 亚洲美腿欧美偷拍| 亚洲国产精品精华液网站| 日韩电影在线观看电影| 精品在线观看免费| 懂色av一区二区三区蜜臀| av不卡免费在线观看| 亚洲欧美日韩国产手机在线| 国产午夜精品一区二区三区嫩草| 国产日韩欧美a| 亚洲色图在线视频| 日日摸夜夜添夜夜添亚洲女人| 久久成人羞羞网站| 岛国一区二区在线观看| 91成人在线观看喷潮| 欧美成人激情免费网| 国产人成亚洲第一网站在线播放| 自拍偷拍国产亚洲| 日韩激情中文字幕| 成人福利视频网站| 欧美另类z0zxhd电影| 欧美激情一区二区| 亚洲成人综合在线| 国产凹凸在线观看一区二区| 一本到高清视频免费精品| 日韩一区二区精品在线观看| 国产精品美女久久久久久2018| 亚洲日本在线观看| 国产最新精品免费| 欧美电影精品一区二区| 国产欧美日韩三级| 亚洲综合色丁香婷婷六月图片| 蜜桃久久精品一区二区| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 91精品国产色综合久久不卡蜜臀| 久久五月婷婷丁香社区| 首页国产欧美日韩丝袜| 成人avav影音| 91精品欧美福利在线观看| 成人欧美一区二区三区小说| 男女男精品视频网| 欧美亚洲国产bt| 国产精品久久久久7777按摩| 免费精品视频最新在线| 在线亚洲+欧美+日本专区| 中文字幕第一区| 久久电影国产免费久久电影| 欧美日韩专区在线| 中文字幕亚洲在| 国产99一区视频免费| 欧美一区二区视频网站| 图片区小说区国产精品视频| 91九色最新地址| 欧美激情艳妇裸体舞| 久久99久久久久| 日韩久久精品一区| 婷婷综合另类小说色区| 日本韩国一区二区| 国产精品伦理在线| 国产精品中文有码| 日韩视频免费观看高清在线视频| 午夜免费欧美电影| 色狠狠av一区二区三区| 亚洲黄色小说网站| 91福利在线观看| 亚洲免费观看高清完整版在线观看熊| 成人的网站免费观看| 中文字幕av在线一区二区三区| 国产精品99久久久久久久女警| 国产午夜精品福利| 成人97人人超碰人人99| 中文字幕av一区二区三区高| 成人黄色软件下载| 亚洲伦理在线免费看| 在线欧美小视频| 视频一区二区三区在线| 欧美一级夜夜爽| 国内精品嫩模私拍在线| 欧美国产视频在线| 欧美在线影院一区二区| 日韩成人一级大片| 欧美精品一区二区三区蜜桃视频| 麻豆91免费观看| 中文字幕精品—区二区四季| 99精品视频中文字幕| 亚洲国产另类av| 日韩欧美亚洲国产另类| 国产精品性做久久久久久| 五月天欧美精品| 国产日韩影视精品| 色婷婷久久久综合中文字幕| 婷婷六月综合网| 久久天堂av综合合色蜜桃网| www.成人网.com| 欧美bbbbb| 亚洲欧美电影一区二区| 欧美精品粉嫩高潮一区二区| 国产999精品久久| 亚洲一区国产视频| wwww国产精品欧美| 欧美无乱码久久久免费午夜一区| 精品中文av资源站在线观看| 亚洲欧美欧美一区二区三区| 91精品国产综合久久精品图片 | 日本欧美大码aⅴ在线播放| 久久先锋资源网| 欧美日韩在线三区| 国产成人av影院| 免费精品视频最新在线| 亚洲天堂av老司机| 国产喷白浆一区二区三区| 欧美区一区二区三区| 99精品欧美一区二区蜜桃免费| 久久成人精品无人区| 一区二区三区 在线观看视频| 久久精品人人做人人爽人人| 91精品国产免费| 欧美日韩精品一区视频| 99免费精品视频| 韩国三级中文字幕hd久久精品| 午夜婷婷国产麻豆精品| 亚洲欧美国产高清| 国产精品你懂的在线| 26uuu久久天堂性欧美| 91.com视频| 欧美蜜桃一区二区三区| 91在线国产观看| 成人aaaa免费全部观看| 国产精品一卡二| 国产精品亚洲综合一区在线观看| 轻轻草成人在线| 丝袜诱惑制服诱惑色一区在线观看| 亚洲精品美腿丝袜| 一区二区三区四区在线| 亚洲视频在线观看一区| 中文字幕一区日韩精品欧美| 国产精品国产精品国产专区不片| 久久女同互慰一区二区三区| 久久综合色综合88| 国产亚洲欧美在线| 国产日韩欧美综合一区| 国产亚洲短视频| 中文字幕av一区 二区| 中文无字幕一区二区三区| 久久婷婷久久一区二区三区| 久久久噜噜噜久久人人看| 国产日产欧美一区| 欧美国产视频在线| 亚洲欧美电影一区二区| 一区二区三区高清不卡| 午夜伦理一区二区| 黑人精品欧美一区二区蜜桃| 国产精品888| 99久久99久久久精品齐齐| 色94色欧美sute亚洲线路一ni| 欧美最新大片在线看| 欧美一区二区私人影院日本| 亚洲精品一区二区三区影院| 中文字幕不卡三区| 亚洲成人免费在线| 久久精品国产一区二区三区免费看| 韩国毛片一区二区三区| 成人精品视频.| 欧美在线|欧美| 精品国产三级a在线观看| 欧美经典一区二区| 一区二区三区精品视频| 毛片一区二区三区| 99精品国产91久久久久久| 欧美亚洲国产一区二区三区va | 99久久精品一区| 欧美丰满少妇xxxbbb| 久久久久99精品国产片| 亚洲免费观看高清完整| 久久国产日韩欧美精品| 不卡电影免费在线播放一区| 制服丝袜亚洲色图| 国产农村妇女毛片精品久久麻豆| 亚洲综合在线免费观看| 韩国欧美一区二区| 欧美性感一区二区三区| 久久久久久久电影| 亚洲图片欧美色图| 丁香婷婷综合激情五月色| 欧美一区二区三区色| 亚洲图片欧美激情| 国产一区二区在线观看免费|