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

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

?? netif.h

?? 基于DM642的網(wǎng)絡(luò)傳輸
?? H
字號:

#ifndef __LWIP_NETIF_H__
#define __LWIP_NETIF_H__

#include "lwdef.h"
#include "err.h"
#include "pbuf.h"


/** 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 */
  Uint32 ip_addr;
  Uint32 netmask;
  Uint32 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,
       Uint32 *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 */
  unsigned char hwaddr_len;
  /** link level hardware address of this interface */
  unsigned char 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, Uint32 *ipaddr, Uint32 *netmask,
      Uint32 *gw,
      void *state,
      err_t (* init)(struct netif *netif),
      err_t (* input)(struct pbuf *p, struct netif *netif));

void
netif_set_addr(struct netif *netif,Uint32 *ipaddr, Uint32 *netmask,
    Uint32 *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, Uint32 *ipaddr);
void netif_set_netmask(struct netif *netif, Uint32 *netmast);
void netif_set_gw(struct netif *netif, Uint32 *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
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩视频中午一区| 激情文学综合丁香| 一本久道中文字幕精品亚洲嫩| 中文字幕一区二区三区在线播放| 国产成人午夜高潮毛片| 久久久久久久综合日本| 狠狠色丁香婷婷综合| 久久人人超碰精品| av色综合久久天堂av综合| 亚洲精品免费在线播放| 欧美一区二区三区小说| 午夜精品福利视频网站| wwwwxxxxx欧美| 色婷婷av一区| 另类调教123区 | 亚洲国产va精品久久久不卡综合| 欧美日韩精品三区| 国产一区视频导航| 亚洲国产精品久久久久秋霞影院| 欧美大度的电影原声| a亚洲天堂av| 亚洲国产美国国产综合一区二区| 欧美一区二区三区免费| 国产精品自产自拍| 日韩精品一二三| 亚洲精品乱码久久久久久| 久久久久久久性| 欧美亚男人的天堂| 99re成人在线| 99久久精品国产一区二区三区| 日韩成人一级片| 亚洲国产毛片aaaaa无费看 | 欧美丝袜自拍制服另类| 不卡av电影在线播放| 视频一区视频二区中文| 久久精品二区亚洲w码| 日日摸夜夜添夜夜添国产精品| 中文字幕 久热精品 视频在线 | 欧美日韩aaaaaa| 欧美日韩一区二区三区免费看| 欧美性色综合网| 欧美剧在线免费观看网站 | 亚洲欧美日韩久久精品| 久久亚洲一级片| 亚洲日本成人在线观看| 一区二区三区在线观看欧美 | 亚洲一级电影视频| 亚洲一区二区三区四区五区中文| 亚洲三级电影全部在线观看高清| 国产精品精品国产色婷婷| 最新不卡av在线| 亚洲v精品v日韩v欧美v专区| 爽好多水快深点欧美视频| 亚洲成av人片www| 大陆成人av片| 欧美日韩国产高清一区二区| 亚洲国产高清在线观看视频| 亚洲色图欧美激情| 高清成人免费视频| 欧美一区二区播放| 中文字幕一区二区三| 精品午夜久久福利影院 | 国产一区二区三区| 欧美亚洲国产怡红院影院| 久久久久久久久久看片| 亚洲成a人片在线不卡一二三区| 国产成人免费视| 5月丁香婷婷综合| 亚洲视频一区在线| 国产精品18久久久久久久久久久久 | 91精品国产免费| 中文字幕一区二区三区乱码在线| 亚洲精品国久久99热| 国产一区二区主播在线| 欧美蜜桃一区二区三区| 天堂av在线一区| 蜜桃av噜噜一区| 99久久国产综合精品女不卡| 久久久久久免费网| 国产一区二区三区高清播放| 欧美电影免费提供在线观看| 久久精品免费观看| 久久久亚洲高清| 成人网页在线观看| 亚洲日本韩国一区| 欧美日本免费一区二区三区| 亚洲一区日韩精品中文字幕| 欧美日韩中文字幕精品| 日本va欧美va瓶| 久久久午夜精品| 91同城在线观看| 日韩精品一二三| 欧美国产国产综合| 国产亚洲欧美日韩在线一区| 亚洲v精品v日韩v欧美v专区| 欧美日韩你懂得| 中文字幕的久久| 色网站国产精品| 免费的成人av| 欧美一区二区在线免费观看| 精品一区二区三区久久久| 日韩三级.com| 成人综合在线网站| 亚洲精选视频免费看| 欧美一级专区免费大片| 99久久亚洲一区二区三区青草| 激情深爱一区二区| 性做久久久久久久免费看| 国产欧美一区二区三区沐欲| 91麻豆精品国产| 色综合久久中文字幕| 99久久久久久| www.av亚洲| 国产精品小仙女| 国产乱人伦偷精品视频免下载| 视频一区视频二区中文| 人人精品人人爱| 久久国产精品第一页| 视频一区二区中文字幕| 亚洲成人动漫在线免费观看| 亚洲一区中文在线| 天堂影院一区二区| 亚洲国产一区二区三区| 樱花影视一区二区| 亚洲日本丝袜连裤袜办公室| 亚洲国产综合人成综合网站| 一区二区高清在线| 肉丝袜脚交视频一区二区| 午夜视频在线观看一区二区| 日产国产欧美视频一区精品| 精品一区二区三区在线播放 | 成人av影视在线观看| 色乱码一区二区三区88| 日韩一区二区在线观看| 国产婷婷一区二区| 亚洲精品第一国产综合野| 日本不卡的三区四区五区| 国产乱码精品一区二区三 | 麻豆国产精品777777在线| 久久成人18免费观看| 国产精品996| 欧美电影免费观看高清完整版在线 | 免费在线看一区| 91在线一区二区| 国产亚洲一区二区三区在线观看| 中文字幕制服丝袜成人av| 青草av.久久免费一区| 91免费看视频| 国产精品污污网站在线观看 | 国产精品久久久久影院老司| 国产成人av电影免费在线观看| 欧美一级高清片| 亚洲第一精品在线| 成人av网址在线| 精品99一区二区三区| 九九九久久久精品| 宅男在线国产精品| 亚洲综合网站在线观看| 97国产一区二区| 久久美女高清视频| 懂色av中文字幕一区二区三区| 337p日本欧洲亚洲大胆精品| 五月婷婷久久综合| 91麻豆精品国产无毒不卡在线观看 | 奇米色777欧美一区二区| 91精品国产全国免费观看 | 亚洲第一精品在线| 欧美精选在线播放| 天堂一区二区在线免费观看| 97精品久久久久中文字幕| 亚洲风情在线资源站| 精品久久久久久综合日本欧美| 成人h精品动漫一区二区三区| 亚洲视频狠狠干| 日韩亚洲欧美成人一区| 国产精品888| 日韩1区2区3区| 18欧美亚洲精品| 91精品国模一区二区三区| 美女看a上一区| 自拍偷拍国产精品| 欧美揉bbbbb揉bbbbb| 国产综合久久久久影院| 亚洲线精品一区二区三区八戒| 久久亚洲一级片| 欧美日韩视频在线观看一区二区三区| 日韩激情一区二区| 亚洲第一在线综合网站| 国产精品污www在线观看| 欧美xxxxx牲另类人与| 色欧美88888久久久久久影院| 韩国精品在线观看| 蜜桃视频在线观看一区| 一区二区三区中文字幕精品精品| 精品福利视频一区二区三区| 欧美一区二区三区免费大片 | 男女性色大片免费观看一区二区 | 欧美成人一区二区三区| 色综合天天天天做夜夜夜夜做| 国产美女一区二区三区|