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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? netif.h

?? uCOSII2.84在at91sam9263的移植
?? 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_DHCPstruct dhcp;#endif#if LWIP_AUTOIPstruct autoip;#endif#ifdef __cplusplusextern "C" {#endif/* Throughout this file, IP addresses are expected to be in * the same byte order as in IP_PCB. *//** 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           0x01U/** if set, the netif has broadcast capability */#define NETIF_FLAG_BROADCAST    0x02U/** if set, the netif is one end of a point-to-point connection */#define NETIF_FLAG_POINTTOPOINT 0x04U/** 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/** if set, the netif is an device using ARP */#define NETIF_FLAG_ETHARP       0x20U/** if set, the netif has IGMP capability */#define NETIF_FLAG_IGMP         0x40U/** 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);#if LWIP_NETIF_STATUS_CALLBACK  /** This function is called when the netif state is set to up or down   */  void (* status_callback)(struct netif *netif);#endif /* LWIP_NETIF_STATUS_CALLBACK */#if LWIP_NETIF_LINK_CALLBACK  /** This function is called when the netif link is set to up or down   */  void (* link_callback)(struct netif *netif);#endif /* LWIP_NETIF_LINK_CALLBACK */  /** 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 /* LWIP_DHCP */#if LWIP_AUTOIP  /** the AutoIP client state information for this netif */  struct autoip *autoip;#endif#if LWIP_NETIF_HOSTNAME  /* the hostname for this netif, NULL is a valid value */  char*  hostname;#endif /* LWIP_NETIF_HOSTNAME */  /** 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 (from "snmp_ifType" enum from snmp.h) */  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 /* LWIP_SNMP */#if LWIP_IGMP  /* This function could be called to add or delete a entry in the multicast filter table of the ethernet MAC.*/  err_t (*igmp_mac_filter)( struct netif *netif, struct ip_addr *group, u8_t action);#endif /* LWIP_IGMP */#if LWIP_NETIF_HWADDRHINT  u8_t *addr_hint;#endif /* LWIP_NETIF_HWADDRHINT */};#if LWIP_SNMP#define NETIF_INIT_SNMP(netif, type, speed) \  /* use "snmp_ifType" enum from snmp.h for "type", snmp_ifType_ethernet_csmacd by example */ \  netif->link_type = type;    \  /* your link speed here (units: bits per second) */  \  netif->link_speed = speed;  \  netif->ts = 0;              \  netif->ifinoctets = 0;      \  netif->ifinucastpkts = 0;   \  netif->ifinnucastpkts = 0;  \  netif->ifindiscards = 0;    \  netif->ifoutoctets = 0;     \  netif->ifoutucastpkts = 0;  \  netif->ifoutnucastpkts = 0; \  netif->ifoutdiscards = 0#else /* LWIP_SNMP */#define NETIF_INIT_SNMP(netif, type, speed)#endif /* LWIP_SNMP *//** The list of network interfaces. */extern struct netif *netif_list;/** The default network interface. */extern struct netif *netif_default;#define netif_init() /* Compatibility define, not init needed. */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 *netmask);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);#if LWIP_NETIF_STATUS_CALLBACK/* * Set callback to be called when interface is brought up/down */void netif_set_status_callback(struct netif *netif, void (* status_callback)(struct netif *netif));#endif /* LWIP_NETIF_STATUS_CALLBACK */#if LWIP_NETIF_LINK_CALLBACKvoid netif_set_link_up(struct netif *netif);void netif_set_link_down(struct netif *netif);u8_t netif_is_link_up(struct netif *netif);/* * Set callback to be called when link is brought up/down */void netif_set_link_callback(struct netif *netif, void (* link_callback)(struct netif *netif));#endif /* LWIP_NETIF_LINK_CALLBACK */#ifdef __cplusplus}#endif#endif /* __LWIP_NETIF_H__ */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品久久嫩草网站秘色| 久久婷婷一区二区三区| 亚洲激情综合网| 欧美伊人久久久久久久久影院 | 国产精品成人一区二区艾草| 9色porny自拍视频一区二区| 亚洲特级片在线| 欧美亚洲国产一区二区三区va| 亚洲综合久久av| 日韩精品资源二区在线| 国产精品系列在线播放| 国产精品麻豆久久久| 色婷婷久久久亚洲一区二区三区| 一区二区三区欧美亚洲| 欧美一区二区免费视频| 国产精品综合在线视频| 亚洲色图视频免费播放| 欧美日韩高清一区二区不卡 | 欧美精品一区二区久久久 | 99亚偷拍自图区亚洲| 中文字幕日韩一区二区| 欧美午夜寂寞影院| 久久激情五月激情| 国产精品久久久久影院色老大 | 中文字幕在线不卡一区| 欧美日韩国产影片| 国产一区二区三区国产| 亚洲在线视频免费观看| 亚洲精品一区二区三区蜜桃下载| 99久久夜色精品国产网站| 日韩精彩视频在线观看| 中文一区在线播放| 欧美人狂配大交3d怪物一区| 国产精品自拍毛片| 性做久久久久久久免费看| 国产亚洲一二三区| 欧美三级中文字幕| 成人毛片老司机大片| 日本欧美大码aⅴ在线播放| 欧美国产1区2区| 4438x成人网最大色成网站| 成人深夜福利app| 美女性感视频久久| 亚洲黄色尤物视频| 国产日产欧产精品推荐色| 欧美日本在线视频| 色香蕉久久蜜桃| 国产成a人亚洲| 美国毛片一区二区三区| 中文字幕亚洲不卡| 国产片一区二区三区| 欧美一区二视频| 欧美亚洲动漫制服丝袜| 不卡一区二区中文字幕| 国产一区999| 免费亚洲电影在线| 首页国产丝袜综合| 亚洲精品成人在线| 国产精品每日更新| 国产欧美一区二区三区在线看蜜臀| 欧美浪妇xxxx高跟鞋交| 色婷婷久久久亚洲一区二区三区| 成人午夜免费电影| 国产成人在线影院| 国产在线精品视频| 九色porny丨国产精品| 人人狠狠综合久久亚洲| 天天av天天翘天天综合网色鬼国产| 中文字幕制服丝袜成人av| 国产欧美日韩精品在线| 久久精品亚洲麻豆av一区二区| 欧美一区在线视频| 91精品国产91久久久久久一区二区 | 亚洲一区在线看| 亚洲另类在线视频| 亚洲免费伊人电影| 亚洲婷婷国产精品电影人久久| 国产精品进线69影院| 最新国产成人在线观看| 中文字幕视频一区| 亚洲精品高清视频在线观看| 一区二区三区四区亚洲| 一二三区精品视频| 五月婷婷综合在线| 免费高清在线一区| 久久国内精品自在自线400部| 极品少妇一区二区三区精品视频 | 国产v日产∨综合v精品视频| 国产精品一二三| 国产成人高清在线| 成人av资源在线| 91天堂素人约啪| 欧美伊人精品成人久久综合97 | 亚洲精品中文字幕在线观看| 夜夜嗨av一区二区三区中文字幕| 一区二区三区四区高清精品免费观看| 亚洲欧美一区二区三区极速播放| 一区二区视频在线| 日日摸夜夜添夜夜添亚洲女人| 久久精品国产99久久6| 国产精一区二区三区| 99久久久久免费精品国产| 欧美日韩一区视频| 337p粉嫩大胆色噜噜噜噜亚洲 | 国产成人综合视频| 91免费看片在线观看| 欧美精品123区| 欧美国产一区在线| 亚洲一区二区三区中文字幕| 日本不卡123| av一本久道久久综合久久鬼色| 色噜噜偷拍精品综合在线| 91麻豆精品国产91久久久更新时间 | 91丨九色丨尤物| 日韩视频在线你懂得| 国产日韩高清在线| 丝袜亚洲另类欧美| 国产成人精品免费看| 欧美人成免费网站| 国产精品区一区二区三区| 亚洲gay无套男同| 成人免费视频app| 欧美一区二区网站| 日韩一区中文字幕| 麻豆久久久久久久| 欧美午夜片在线观看| 国产女主播视频一区二区| 日韩精品电影在线观看| av影院午夜一区| 精品对白一区国产伦| 一区二区三区日本| 粉嫩aⅴ一区二区三区四区| 欧美日韩一级二级| 中文字幕一区二区三中文字幕| 日韩精品成人一区二区在线| 91浏览器入口在线观看| 久久天天做天天爱综合色| 午夜久久久久久| 91官网在线免费观看| 国产精品久久三| 国产大陆精品国产| 精品第一国产综合精品aⅴ| 亚洲高清中文字幕| 色婷婷综合久久| 国产精品视频你懂的| 国内偷窥港台综合视频在线播放| 欧美在线高清视频| 亚洲精选视频免费看| 99久久免费国产| 国产精品免费视频一区| 狠狠色狠狠色合久久伊人| 91精品蜜臀在线一区尤物| 亚洲激情自拍偷拍| 91亚洲精品乱码久久久久久蜜桃| 国产区在线观看成人精品 | 日韩精品高清不卡| 欧美日韩第一区日日骚| 亚洲精品国产精华液| 色乱码一区二区三区88| 亚洲欧美区自拍先锋| 色综合久久久久久久久久久| 中文字幕二三区不卡| 风流少妇一区二区| 欧美国产禁国产网站cc| 国产99久久久精品| 日本一区二区三区电影| 国产传媒欧美日韩成人| 中文字幕成人av| av色综合久久天堂av综合| 一区在线播放视频| av亚洲精华国产精华精华| 亚洲视频香蕉人妖| 欧美午夜片在线看| 亚洲国产精品久久久久秋霞影院| 色av综合在线| 日韩成人一区二区三区在线观看| 欧美精品在线一区二区三区| 免费成人av在线| 久久综合久色欧美综合狠狠| 国产乱子伦视频一区二区三区| 久久综合一区二区| 成人禁用看黄a在线| 亚洲人成网站在线| 欧美综合一区二区三区| 性做久久久久久久久| 欧美一二三区精品| 国产69精品一区二区亚洲孕妇 | 欧美精品精品一区| 免费观看在线色综合| 久久亚洲一区二区三区明星换脸 | 国产真实乱对白精彩久久| 国产亚洲欧洲一区高清在线观看| 高清久久久久久| 一区二区三区精品| 欧美一区二区女人| 懂色av一区二区三区蜜臀| 一区二区成人在线| 亚洲精品在线观看视频| 91麻豆精品在线观看| 日本免费在线视频不卡一不卡二|