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

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

?? iflib.c

?? vxwork源代碼
?? C
?? 第 1 頁 / 共 4 頁
字號:
** This routine gets the Internet address of a specified network interface and* copies it to <interfaceAddress>. This pointer should point to a buffer* large enough to contain INET_ADDR_LEN bytes.** RETURNS: OK or ERROR.** SEE ALSO: ifAddrSet(), ifDstAddrSet(), ifDstAddrGet()*/STATUS ifAddrGet    (    char *interfaceName,        /* name of interface, i.e. ei0 */    char *interfaceAddress      /* buffer for Internet address */    )    {    return (ifAddrParamGet (interfaceName, SIOCGIFADDR, interfaceAddress));    }/********************************************************************************* ifBroadcastSet - set the broadcast address for a network interface** This routine assigns a broadcast address for the specified network interface.* The broadcast address must be a string in standard Internet address format* (e.g., 90.0.0.0).** An interface's default broadcast address is its Internet address with a* host part of all ones (e.g., 90.255.255.255).  This conforms to current* ARPA specifications.  However, some older systems use an Internet address* with a host part of all zeros as the broadcast address.** NOTE* VxWorks automatically accepts a host part of all zeros as a broadcast* address, in addition to the default or specified broadcast address.  But* if VxWorks is to broadcast to older systems using a host part of all zeros* as the broadcast address, this routine should be used to change the* broadcast address of the interface.** RETURNS: OK or ERROR.*/STATUS ifBroadcastSet    (    char *interfaceName,        /* name of interface to assign, i.e. ei0 */    char *broadcastAddress      /* broadcast address to assign to interface */    )    {    return (ifIoctl (interfaceName, SIOCSIFBRDADDR, (int)broadcastAddress));    }/********************************************************************************* ifBroadcastGet - get the broadcast address for a network interface** This routine gets the broadcast address for a specified network interface.* The broadcast address is copied to the buffer <broadcastAddress>.** RETURNS: OK or ERROR.** SEE ALSO: ifBroadcastSet()*/STATUS ifBroadcastGet    (    char *interfaceName,        /* name of interface, i.e. ei0 */    char *broadcastAddress      /* buffer for broadcast address */    )    {    return (ifAddrParamGet (interfaceName, SIOCGIFBRDADDR, broadcastAddress));    }/********************************************************************************* ifDstAddrSet - define an address for the other end of a point-to-point link** This routine assigns the Internet address of a machine connected to the* opposite end of a point-to-point network connection, such as a SLIP* connection.  Inherently, point-to-point connection-oriented protocols such as* SLIP require that addresses for both ends of a connection be specified.** RETURNS: OK or ERROR.** SEE ALSO: ifAddrSet(), ifDstAddrGet()*/STATUS ifDstAddrSet    (    char *interfaceName,        /* name of interface to configure, i.e. ei0 */    char *dstAddress            /* Internet address to assign to destination */    )    {    return (ifIoctl (interfaceName, SIOCSIFDSTADDR, (int)dstAddress));    }/********************************************************************************* ifDstAddrGet - get the Internet address of a point-to-point peer** This routine gets the Internet address of a machine connected to the* opposite end of a point-to-point network connection.  The Internet address is* copied to the buffer <dstAddress>.** RETURNS: OK or ERROR.** SEE ALSO: ifDstAddrSet(), ifAddrGet()*/STATUS ifDstAddrGet    (    char *interfaceName,        /* name of interface, i.e. ei0 */    char *dstAddress            /* buffer for destination address */    )    {    return (ifAddrParamGet (interfaceName, SIOCGIFDSTADDR, dstAddress));    }/********************************************************************************* ifAddrParamGet - call ifIoctl to get the Internet address of the interface** ifAddrParamGet may be used to retrieve Internet address of the network* interface in ASCII character string representation (dot-notation* like "192.0.0.3").** RETURNS: OK or ERROR** ERRNO: EINVAL** SEE ALSO: ifAddrGet (), ifDstAddrGet (), ifBroadcastGet ()*/LOCAL STATUS ifAddrParamGet    (    char *interfaceName,        /* name of interface to configure, i.e. ei0 */    int   code,                 /* SIOCG ioctl code */    char *address               /* address retrieved here */    )    {    struct in_addr inetAddrBuf;	/* result */    char netString [INET_ADDR_LEN];    if (address == NULL)	{	(void)errnoSet (EINVAL);	return (ERROR);	}    if (ifIoctl (interfaceName, code, (int)&inetAddrBuf) == OK)	{	inet_ntoa_b (inetAddrBuf, netString);	strncpy (address, netString, INET_ADDR_LEN);	return (OK);	}    return (ERROR);    }/********************************************************************************* ifMaskSet - define a subnet for a network interface** This routine allocates additional bits to the network portion of an* Internet address.  The network portion is specified with a mask that must* contain ones in all positions that are to be interpreted as the network* portion.  This includes all the bits that are normally interpreted as the* network portion for the given class of address, plus the bits to be added.* Note that all bits must be contiguous.  The mask is specified in host byte* order.** In order to correctly interpret the address, a subnet mask should be set* for an interface prior to setting the Internet address of the interface* with the routine ifAddrSet().** RETURNS: OK or ERROR.** SEE ALSO: ifAddrSet()*/STATUS ifMaskSet    (    char *interfaceName,   /* name of interface to set mask for, i.e. ei0 */    int netMask            /* subnet mask (e.g. 0xff000000) */    )    {    return (ifIoctl (interfaceName, SIOCSIFNETMASK, htonl (netMask)));    }/********************************************************************************* ifMaskGet - get the subnet mask for a network interface** This routine gets the subnet mask for a specified network interface.* The subnet mask is copied to the buffer <netMask>.  The subnet mask is* returned in host byte order.** RETURNS: OK or ERROR.** SEE ALSO: ifAddrGet(), ifFlagGet()*/STATUS ifMaskGet    (    char *interfaceName,        /* name of interface, i.e. ei0 */    int  *netMask               /* buffer for subnet mask */    )    {    int status = ifIoctl (interfaceName, SIOCGIFNETMASK, (u_long) netMask);    if (status != ERROR)	*netMask = ntohl (*netMask);    return (status);    }/********************************************************************************* ifFlagChange - change the network interface flags** This routine changes the flags for the specified network interfaces.  If* the parameter <on> is TRUE, the specified flags are turned on; otherwise,* they are turned off.  The routines ifFlagGet() and ifFlagSet() are called* to do the actual work.** RETURNS: OK or ERROR.** SEE ALSO: ifAddrSet(), ifMaskSet(), ifFlagSet(), ifFlagGet()*/STATUS ifFlagChange    (    char *interfaceName,        /* name of the network interface, i.e. ei0 */    int   flags,                /* the flag to be changed */    BOOL  on                    /* TRUE=turn on, FALSE=turn off */    )    {    int oldFlags;    if (ifFlagGet (interfaceName, &oldFlags) == ERROR)	{	return (ERROR);	}    if (on)	oldFlags |= flags;    else	oldFlags &= ~flags;    return (ifFlagSet (interfaceName, oldFlags));    }/********************************************************************************* ifFlagSet - specify the flags for a network interface** This routine changes the flags for a specified network interface.* Any combination of the following flags can be specified:** .iP "IFF_UP (0x1)" 20* Brings the network up or down.* .iP "IFF_DEBUG (0x4)"* Turns on debugging for the driver interface if supported.* .iP "IFF_LOOPBACK (0x8)"* Set for a loopback network.* .iP "IFF_NOTRAILERS (0x20)"* Always set (VxWorks does not use the trailer protocol).* .iP "IFF_PROMISC (0x100)"* Tells the driver to accept all packets, not just broadcast packets and* packets addressed to itself. * .iP "IFF_ALLMULTI (0x200)"* Tells the driver to accept all multicast packets.* .iP "IFF_NOARP (0x80)"* Disables ARP for the interface.* .LP** NOTE* The following flags can only be set at interface initialization time.* Specifying these flags does not change any settings in the interface* data structure.** .iP "IFF_POINTOPOINT (0x10)" 20* Identifies a point-to-point interface such as PPP or SLIP.* .iP "IFF_RUNNING (0x40)"* Set when the device turns on.* .iP "IFF_BROADCAST (0x2)"* Identifies a broadcast interface.* .LP** RETURNS: OK or ERROR.** SEE ALSO: ifFlagChange(), ifFlagGet()*/STATUS ifFlagSet    (    char *interfaceName,        /* name of the network interface, i.e. ei0 */    int   flags                 /* network flags */    )    {    return (ifIoctl (interfaceName, SIOCSIFFLAGS, flags));    }/********************************************************************************* ifFlagGet - get the network interface flags** This routine gets the flags for a specified network interface.* The flags are copied to the buffer <flags>.** RETURNS: OK or ERROR.** SEE ALSO: ifFlagSet()*/STATUS ifFlagGet    (    char *interfaceName,        /* name of the network interface, i.e. ei0 */    int  *flags                 /* network flags returned here */    )    {    return (ifIoctl (interfaceName, SIOCGIFFLAGS, (int)flags));    }/********************************************************************************* ifMetricSet - specify a network interface hop count** This routine configures <metric> for a network interface from the host* machine to the destination network.  This information is used primarily by* the IP routing algorithm to compute the relative distance for a collection* of hosts connected to each interface.  For example, a higher <metric> for* SLIP interfaces can be specified to discourage routing a packet to slower* serial line connections.  Note that when <metric> is zero, the IP routing* algorithm allows for the direct sending of a packet having an IP network* address that is not necessarily the same as the local network address.** RETURNS: OK or ERROR.** SEE ALSO: ifMetricGet()*/STATUS ifMetricSet    (    char *interfaceName,        /* name of the network interface, i.e. ei0 */    int   metric                /* metric for this interface */    )    {    return (ifIoctl (interfaceName, SIOCSIFMETRIC, metric));    }/********************************************************************************* ifMetricGet - get the metric for a network interface** This routine retrieves the metric for a specified network interface.* The metric is copied to the buffer <pMetric>.** RETURNS: OK or ERROR.** SEE ALSO: ifMetricSet()*/STATUS ifMetricGet    (    char *interfaceName,        /* name of the network interface, i.e. ei0 */    int  *pMetric               /* returned interface's metric */    )    {    return (ifIoctl (interfaceName, SIOCGIFMETRIC, (int)pMetric));    }/********************************************************************************* ifIoctl - network interface ioctl front-end** Used to manipulate the characteristics of network interfaces* using socket specific ioctl functions SIOCSIFADDR, SIOCSIFBRDADDR, etc.* ifIoctl() accomplishes this by calling ifIoctlSet() and ifIoctlGet().** RETURNS: OK or ERROR** ERRNO: EOPNOTSUPP*/LOCAL STATUS ifIoctl    (    char *interfaceName,        /* name of the interface, i.e. ei0 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜一区二区三区| 色婷婷久久久久swag精品| 欧美一二三区精品| 日本亚洲最大的色成网站www| 欧美一区二区在线观看| 久久无码av三级| 福利91精品一区二区三区| 国产精品成人网| 在线欧美日韩国产| 日韩激情在线观看| 精品国产91亚洲一区二区三区婷婷 | 免费看精品久久片| 精品国产一区二区三区久久影院| 国产**成人网毛片九色| 欧美日本在线看| 国产日韩成人精品| 欧美性猛片aaaaaaa做受| 免费视频最近日韩| 国产精品水嫩水嫩| 欧美日韩成人激情| 国产91在线看| 丝袜美腿高跟呻吟高潮一区| 精品日产卡一卡二卡麻豆| 99国产精品一区| 日本视频在线一区| 中文无字幕一区二区三区 | 久久精品亚洲精品国产欧美kt∨| 99久久精品国产精品久久| 午夜精品在线视频一区| 久久亚洲一区二区三区四区| 91精品福利视频| 国产乱码精品一区二区三区av| ...xxx性欧美| 欧美成人一区二区三区在线观看| aaa亚洲精品| 韩国午夜理伦三级不卡影院| 欧美精品自拍偷拍动漫精品| 国产成人啪免费观看软件 | 欧美视频你懂的| 国产精选一区二区三区| 亚洲一二三四区| 国产亚洲成av人在线观看导航| 欧美日韩一区中文字幕| 豆国产96在线|亚洲| 免费在线观看精品| 亚洲第一电影网| 综合av第一页| 日本一区二区三区国色天香 | 在线精品视频一区二区三四| 国产呦精品一区二区三区网站| 天天综合色天天综合色h| 中文字幕日韩欧美一区二区三区| 精品国产网站在线观看| 欧美一区二区三区在线电影 | 久久99精品久久久久久久久久久久| 一区二区三区中文免费| 中文字幕欧美激情一区| 久久久久国产精品麻豆ai换脸| 欧美一级一级性生活免费录像| 午夜精品福利一区二区三区av| 亚洲人成伊人成综合网小说| 日本久久电影网| caoporen国产精品视频| 丰满亚洲少妇av| 高清日韩电视剧大全免费| 国内精品在线播放| 国产呦精品一区二区三区网站| 久久精品国产免费| 午夜一区二区三区在线观看| 亚洲精品高清在线| 有码一区二区三区| 亚洲综合色丁香婷婷六月图片| 亚洲老妇xxxxxx| 亚洲免费观看在线视频| 一区二区三区色| 一区二区成人在线| 亚洲国产成人av网| 欧美成人国产一区二区| 精品99久久久久久| www国产精品av| 中文字幕+乱码+中文字幕一区| 国产人成一区二区三区影院| 亚洲国产岛国毛片在线| 国产精品久久久久四虎| 亚洲欧美一区二区不卡| 一区二区免费视频| 天堂一区二区在线免费观看| 免费日韩伦理电影| 久久www免费人成看片高清| 国模冰冰炮一区二区| 粉嫩aⅴ一区二区三区四区五区| 成人综合婷婷国产精品久久蜜臀| 99亚偷拍自图区亚洲| 一本久久精品一区二区| 欧美精品色综合| 欧美www视频| 欧美国产精品劲爆| 亚洲欧美区自拍先锋| 亚洲成人777| 黑人巨大精品欧美一区| 成人av电影免费在线播放| 在线精品视频小说1| 日韩三级电影网址| 国产精品欧美久久久久无广告| 亚洲美腿欧美偷拍| 青娱乐精品视频| 成人动漫中文字幕| 在线影院国内精品| 欧美精品一区二区三区蜜臀| 国产精品久久久久影院亚瑟| 五月激情丁香一区二区三区| 国产精品白丝jk黑袜喷水| 欧美精品乱码久久久久久按摩 | 日韩电影在线免费看| 国产精品系列在线观看| 欧美亚洲国产一区二区三区va| 欧美大片日本大片免费观看| 成人欧美一区二区三区白人| 日韩av中文字幕一区二区| 高清国产一区二区| 精品一区二区三区不卡| 91国内精品野花午夜精品 | 国产精品美女视频| 日韩电影免费在线观看网站| www.日本不卡| 国产成人久久精品77777最新版本| 欧美在线免费观看亚洲| 国产欧美精品一区二区色综合| 香蕉成人伊视频在线观看| 成人午夜av影视| 欧美精品一区二区三区四区 | 色八戒一区二区三区| 欧美一级免费观看| 伊人一区二区三区| 亚洲视频免费看| 国产福利电影一区二区三区| 欧美色偷偷大香| 日韩理论片在线| 国产成人高清在线| 精品国产乱子伦一区| 五月婷婷激情综合网| 91视频在线观看| 欧美国产日韩精品免费观看| 激情五月婷婷综合| 91精品国产麻豆| 亚洲成人av一区二区三区| 91麻豆自制传媒国产之光| 久久久久亚洲综合| 国产人成亚洲第一网站在线播放 | 国产欧美日韩中文久久| 日本不卡视频在线| 欧美疯狂做受xxxx富婆| 亚洲国产欧美在线| 99久久婷婷国产综合精品| 中文字幕精品在线不卡| 国产成人aaa| 国产蜜臀av在线一区二区三区| 国产一区二区精品在线观看| 日韩精品影音先锋| 久久97超碰色| 日韩欧美美女一区二区三区| 日本不卡一区二区三区高清视频| 在线观看91视频| 午夜欧美在线一二页| 精品国产露脸精彩对白| 欧美aaaaaa午夜精品| 日韩视频免费观看高清完整版在线观看| 亚洲超丰满肉感bbw| 精品视频1区2区| 天天综合天天综合色| 制服丝袜亚洲精品中文字幕| 日韩av一区二区三区四区| 欧美日韩亚洲综合| 热久久免费视频| 精品久久人人做人人爽| 国产制服丝袜一区| 中文字幕 久热精品 视频在线| 成人黄色电影在线| 一区二区三区四区高清精品免费观看| 日本精品一区二区三区高清| 亚洲国产人成综合网站| 欧美一区二区三区系列电影| 久久99精品国产91久久来源| 久久久久久久国产精品影院| jlzzjlzz亚洲日本少妇| 一区二区三区四区中文字幕| 欧美美女黄视频| 国产一区二区91| 亚洲色图欧美在线| 欧美精品久久天天躁| 韩国成人在线视频| 日韩理论片网站| 91精品国产黑色紧身裤美女| 久久国产尿小便嘘嘘尿| 国产精品九色蝌蚪自拍| 欧美美女一区二区在线观看| 国产传媒欧美日韩成人| 一级做a爱片久久| 久久综合丝袜日本网| 97aⅴ精品视频一二三区|