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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? netif.h

?? 焦海波大蝦在uCOS_II上移植LwIP的源代碼。具體說明比較大
?? H
字號:
/* * 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;  /** link type */  u8_t link_type;  /** descriptive abbreviation */  char name[2];  /** number of this interface */  u8_t num;};/** 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__ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品免费专区| 国产精品每日更新在线播放网址| 91日韩精品一区| 99热99精品| 99久久精品国产观看| 懂色av一区二区三区免费看| 欧美午夜精品久久久| 日韩午夜在线播放| 视频一区二区三区中文字幕| 亚洲韩国一区二区三区| 亚洲电影激情视频网站| 婷婷久久综合九色综合绿巨人 | 1区2区3区欧美| 中文无字幕一区二区三区| 国产精品免费视频一区| 亚洲欧洲成人精品av97| 一区二区三区四区国产精品| 午夜影院在线观看欧美| 免费视频一区二区| 国产成人精品1024| 色综合咪咪久久| 欧美日韩电影在线| ww亚洲ww在线观看国产| 国产精品午夜在线| 亚洲成av人片一区二区三区 | 黑人巨大精品欧美黑白配亚洲| 毛片av一区二区三区| 国产麻豆精品视频| 色婷婷久久久亚洲一区二区三区| 欧美一三区三区四区免费在线看| 精品久久久影院| 亚洲精品五月天| 久久不见久久见免费视频7| 成人性视频网站| 欧美三级电影在线看| 久久久久99精品国产片| 亚洲国产精品精华液网站| 国产美女精品在线| 欧美视频一区二区三区在线观看 | 日韩欧美一区二区不卡| 中文字幕在线观看不卡视频| 天天色综合天天| 成人综合激情网| 欧美精品v日韩精品v韩国精品v| 国产视频一区在线播放| 亚洲高清免费一级二级三级| www.日本不卡| 精品国产三级a在线观看| 一级做a爱片久久| 国产成人8x视频一区二区| 3d动漫精品啪啪1区2区免费| 中文字幕在线不卡一区二区三区| 蜜臀av性久久久久蜜臀av麻豆| 91小视频免费观看| 国产欧美精品一区二区三区四区| 日日嗨av一区二区三区四区| 色综合久久综合网欧美综合网 | 日韩电影在线看| 91免费看视频| 国产精品久久久久天堂| 精品一区二区三区免费观看| 3atv在线一区二区三区| 亚洲精品菠萝久久久久久久| 波多野结衣一区二区三区| 26uuu精品一区二区三区四区在线| 亚洲国产精品久久久久秋霞影院| 不卡av在线免费观看| 久久久久久**毛片大全| 另类专区欧美蜜桃臀第一页| 6080亚洲精品一区二区| 偷窥少妇高潮呻吟av久久免费| 色狠狠av一区二区三区| 亚洲午夜久久久久久久久电影网 | 亚洲国产日日夜夜| 99精品视频一区| 亚洲色图丝袜美腿| 色综合久久久久综合99| 亚洲男人的天堂在线aⅴ视频| www.av亚洲| 亚洲男人的天堂一区二区| 99精品1区2区| 亚洲伦在线观看| 欧美亚洲一区二区在线| 五月激情六月综合| 欧美一级片免费看| 另类人妖一区二区av| 国产日产欧美一区| 9i在线看片成人免费| 一区二区不卡在线播放| 欧美日韩夫妻久久| 久久成人精品无人区| 国产天堂亚洲国产碰碰| av成人动漫在线观看| 亚洲福利国产精品| 精品国产亚洲一区二区三区在线观看| 蜜桃一区二区三区在线观看| 国产亚洲精品久| 91麻豆自制传媒国产之光| 亚洲二区视频在线| 久久色成人在线| av综合在线播放| 日韩制服丝袜av| 久久久蜜臀国产一区二区| 91香蕉视频黄| 久草这里只有精品视频| 亚洲丝袜制服诱惑| 91精品免费观看| 99麻豆久久久国产精品免费| 亚洲国产日韩a在线播放性色| 欧美大片顶级少妇| 色美美综合视频| 精一区二区三区| 一区二区三区四区亚洲| 精品国产乱码久久久久久久| 色综合色狠狠天天综合色| 美女视频一区二区| 亚洲老司机在线| 国产亚洲精品福利| 欧美日本视频在线| jlzzjlzz国产精品久久| 免费人成在线不卡| 一区二区三区日韩精品| 精品国产乱码久久久久久久| 欧美性大战xxxxx久久久| 国产ts人妖一区二区| 奇米影视一区二区三区小说| 亚洲激情自拍偷拍| 中文无字幕一区二区三区| 日韩欧美一区二区不卡| 欧美日韩国产一区| 99久久久精品| 成人激情视频网站| 国内成+人亚洲+欧美+综合在线 | 欧美一区二区三区性视频| www.日韩av| 成人午夜精品在线| 寂寞少妇一区二区三区| 午夜视频在线观看一区二区 | 国产精品情趣视频| 26uuu国产在线精品一区二区| 欧美午夜片在线观看| 91麻豆文化传媒在线观看| 国产91精品在线观看| 国产在线精品一区二区不卡了| 亚洲午夜三级在线| 亚洲午夜日本在线观看| 亚洲精品自拍动漫在线| 日韩一区日韩二区| 国产精品污www在线观看| 久久精品一区蜜桃臀影院| 欧美va亚洲va| 久久精品一二三| 久久蜜桃av一区精品变态类天堂| 日韩一区二区三区高清免费看看 | 国产综合色精品一区二区三区| 青青草国产精品97视觉盛宴| 日产精品久久久久久久性色| 日韩电影在线看| 极品美女销魂一区二区三区| 寂寞少妇一区二区三区| 国产精品自拍网站| 国产不卡视频一区| 色综合中文字幕国产| 欧美性受xxxx黑人xyx性爽| 欧美三区免费完整视频在线观看| 欧美亚洲一区三区| 日韩欧美第一区| 欧美国产乱子伦| 一级女性全黄久久生活片免费| 亚洲一区二区三区视频在线播放| 午夜视频久久久久久| 精品一区二区久久| 成人毛片在线观看| 欧美日韩综合在线| 精品裸体舞一区二区三区| 久久久久综合网| 自拍av一区二区三区| 视频在线在亚洲| 成人午夜视频在线| 欧美日韩高清一区二区不卡| 久久精品一级爱片| 亚洲一区二区中文在线| 九色综合狠狠综合久久| 成人av影院在线| 8v天堂国产在线一区二区| 久久久久久免费| 亚洲二区在线观看| 大胆亚洲人体视频| 精品视频一区三区九区| 久久久精品tv| 午夜精品久久久久久久久久久| 狠狠狠色丁香婷婷综合激情| 欧美这里有精品| 国产午夜久久久久| 日韩电影在线免费观看| 99精品黄色片免费大全| 精品国产1区二区| 亚洲一区国产视频| eeuss鲁片一区二区三区在线看| 欧美一级片免费看|