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

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

?? netif.h

?? Modbus協議的源代碼 Modbus協議的源代碼、 Modbus協議的源代碼 Modbus協議的源代碼
?? 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));

void
netif_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一区二区三区免费野_久草精品视频
麻豆国产精品777777在线| 久久久不卡网国产精品一区| 亚洲美女在线一区| 色综合天天综合色综合av| 亚洲狼人国产精品| 精品视频资源站| 秋霞电影网一区二区| 精品国产制服丝袜高跟| 国产精品18久久久久久久久久久久 | 国产在线看一区| 精品久久久久久久一区二区蜜臀| 国产91精品在线观看| 自拍偷在线精品自拍偷无码专区 | 在线国产亚洲欧美| 日韩成人一区二区三区在线观看| 日韩免费性生活视频播放| 国产激情精品久久久第一区二区| 国产精品久久影院| 欧美日韩精品是欧美日韩精品| 美女网站在线免费欧美精品| 26uuu成人网一区二区三区| 不卡高清视频专区| 亚洲一区二区三区四区在线| 91丨九色porny丨蝌蚪| 伊人夜夜躁av伊人久久| 欧美电影影音先锋| 粉嫩一区二区三区性色av| 亚洲欧美偷拍卡通变态| 69av一区二区三区| 9人人澡人人爽人人精品| 五月婷婷综合在线| 欧美国产日韩在线观看| 欧美久久久久久蜜桃| 国产不卡在线视频| 日韩电影在线观看电影| 国产精品伦一区| 91精品国产色综合久久| 国产成人小视频| 日韩av电影免费观看高清完整版在线观看| 国产亚洲一区二区在线观看| 欧美日韩一级二级三级| www.在线欧美| 亚洲高清视频的网址| 国产欧美日韩在线| 欧美一区二区视频在线观看 | 福利一区二区在线观看| 亚洲成人综合视频| 国产精品久久久久久久久快鸭 | 精品污污网站免费看| 国产91在线看| 蜜芽一区二区三区| 亚洲一区中文日韩| 中文字幕一区二区三区在线播放| 精品国产乱码久久| 欧美精品v国产精品v日韩精品 | 中文字幕一区二区视频| 久久综合网色—综合色88| 欧美夫妻性生活| 91福利视频在线| 成人高清视频免费观看| 国产麻豆精品在线| 欧美另类变人与禽xxxxx| 日韩欧美一级在线播放| 色婷婷综合久久久中文一区二区 | 精品亚洲欧美一区| 日一区二区三区| 亚洲精品伦理在线| 一区精品在线播放| 中文字幕不卡在线观看| 精品福利一二区| 日韩欧美三级在线| 宅男在线国产精品| 制服丝袜亚洲播放| 欧美日韩国产精品自在自线| 欧美午夜一区二区三区| 色国产精品一区在线观看| 91麻豆国产自产在线观看| av成人免费在线观看| 成人黄色电影在线| 91视视频在线观看入口直接观看www | 日韩欧美一二三区| 91精品婷婷国产综合久久性色 | 色婷婷av一区| 色国产精品一区在线观看| jlzzjlzz国产精品久久| 99精品国产热久久91蜜凸| 成人h动漫精品一区二| av成人老司机| 欧美艳星brazzers| 欧美欧美午夜aⅴ在线观看| 欧美在线免费观看亚洲| 欧美日韩国产综合草草| 日韩欧美国产不卡| 久久网站热最新地址| 国产精品美女久久久久久2018| 国产精品久久久久婷婷| 亚洲日本va在线观看| 亚洲成人动漫在线观看| 免费一级欧美片在线观看| 黄页网站大全一区二区| 国产91清纯白嫩初高中在线观看| 99久久er热在这里只有精品66| 色婷婷综合在线| 7777精品伊人久久久大香线蕉经典版下载| 欧美一区二区三区性视频| 2023国产一二三区日本精品2022| 久久新电视剧免费观看| 成人免费一区二区三区视频| 亚洲一区二区四区蜜桃| 经典三级视频一区| 成人av电影免费观看| 欧美三日本三级三级在线播放| 欧美va天堂va视频va在线| 国产精品久久久久久福利一牛影视 | 九九热在线视频观看这里只有精品| 国内精品在线播放| 91老师片黄在线观看| **性色生活片久久毛片| 五月激情综合婷婷| 国产福利一区二区三区视频 | 亚洲.国产.中文慕字在线| 麻豆成人av在线| 91在线观看视频| 日韩欧美美女一区二区三区| 日韩伦理av电影| 久久福利视频一区二区| 99久久99精品久久久久久| 在线综合亚洲欧美在线视频| 中文字幕五月欧美| 久久精品国产澳门| 91国产丝袜在线播放| 久久久久久免费| 视频一区二区欧美| caoporn国产一区二区| 欧美一级国产精品| 亚洲免费成人av| 国产精品自产自拍| 欧美一区二区三区在| 夜夜精品视频一区二区| 国产99精品国产| 欧美mv和日韩mv的网站| 午夜亚洲福利老司机| 波多野结衣在线一区| 精品国产乱码久久久久久免费| 亚洲二区在线视频| 97久久超碰国产精品电影| 久久久国产综合精品女国产盗摄| 免费精品视频在线| 欧美日韩精品久久久| 亚洲日本中文字幕区| 国产一区二区不卡| 欧美成人国产一区二区| 日本欧美一区二区三区| 欧美日韩国产综合久久 | 日韩电影在线免费看| 欧美艳星brazzers| 亚洲综合自拍偷拍| 日本韩国精品在线| 亚洲视频在线一区观看| 91性感美女视频| 国产精品久久久久天堂| 成人看片黄a免费看在线| 欧美激情中文不卡| 国产精品1区2区| 国产亚洲精品7777| 国产白丝网站精品污在线入口| 精品国产伦一区二区三区观看方式 | 国产精品一线二线三线精华| 欧美成人bangbros| 经典三级一区二区| 国产喷白浆一区二区三区| 国产a久久麻豆| 中文字幕第一区二区| 成人av网站免费观看| 国产精品国产三级国产aⅴ入口 | 中文字幕综合网| 色综合婷婷久久| 亚洲高清不卡在线| 91麻豆精品国产91久久久久久 | 欧美中文字幕一区| 日韩国产在线观看| 欧美电影免费观看完整版| 国产精品一区二区在线播放| 国产亚洲成av人在线观看导航 | 亚洲成a人片在线不卡一二三区| 欧美美女一区二区在线观看| 日本不卡123| 久久久国产午夜精品| 99热在这里有精品免费| 一区二区三区国产精华| 欧美日韩你懂的| 捆绑调教美女网站视频一区| 中文字幕二三区不卡| 欧美艳星brazzers| 久久国产综合精品| 日韩理论在线观看| 日韩一区二区精品葵司在线| 国产福利精品导航| 亚洲成a人片综合在线| 久久久高清一区二区三区|