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

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

?? uip.h

?? 58enc28j06protuesuip09.rar
?? H
?? 第 1 頁 / 共 3 頁
字號:
 * * \param port A 16-bit port number in network byte order. */void uip_unlisten(u16_t port);/** * Connect to a remote host using TCP. * * This function is used to start a new connection to the specified * port on the specied host. It allocates a new connection identifier, * sets the connection to the SYN_SENT state and sets the * retransmission timer to 0. This will cause a TCP SYN segment to be * sent out the next time this connection is periodically processed, * which usually is done within 0.5 seconds after the call to * uip_connect(). * * \note This function is avaliable only if support for active open * has been configured by defining UIP_ACTIVE_OPEN to 1 in uipopt.h. * * \note Since this function requires the port number to be in network * byte order, a convertion using HTONS() or htons() is necessary. * \code u16_t ipaddr[2]; uip_ipaddr(ipaddr, 192,168,1,2); uip_connect(ipaddr, HTONS(80));  \endcode *  * \param ripaddr A pointer to a 4-byte array representing the IP * address of the remote hot. * * \param port A 16-bit port number in network byte order. * * \return A pointer to the uIP connection identifier for the new connection, * or NULL if no connection could be allocated.    * */struct uip_conn *uip_connect(u16_t *ripaddr, u16_t port);/** * \internal * * Check if a connection has outstanding (i.e., unacknowledged) data. * * \param conn A pointer to the uip_conn structure for the connection. * * \hideinitializer */#define uip_outstanding(conn) ((conn)->len)/** * Send data on the current connection. * * This function is used to send out a single segment of TCP * data. Only applications that have been invoked by uIP for event * processing can send data.  * * The amount of data that actually is sent out after a call to this * funcion is determined by the maximum amount of data TCP allows. uIP * will automatically crop the data so that only the appropriate * amount of data is sent. The function uip_mss() can be used to query * uIP for the amount of data that actually will be sent. *  * \note This function does not guarantee that the sent data will * arrive at the destination. If the data is lost in the network, the * application will be invoked with the uip_rexmit() event being * set. The application will then have to resend the data using this * function. *  * \param data A pointer to the data which is to be sent. * * \param len The maximum amount of data bytes to be sent. * * \hideinitializer */#define uip_send(data, len) do { uip_sappdata = (data); uip_slen = (len);} while(0)   /** * The length of any incoming data that is currently avaliable (if avaliable) * in the uip_appdata buffer. * * The test function uip_data() must first be used to check if there * is any data available at all. * * \hideinitializer */#define uip_datalen()       uip_len/** * The length of any out-of-band data (urgent data) that has arrived * on the connection. * * \note The configuration parameter UIP_URGDATA must be set for this * function to be enabled. * * \hideinitializer */#define uip_urgdatalen()    uip_urglen/** * Close the current connection. * * This function will close the current connection in a nice way. * * \hideinitializer */#define uip_close()         (uip_flags = UIP_CLOSE)/** * Abort the current connection. * * This function will abort (reset) the current connection, and is * usually used when an error has occured that prevents using the * uip_close() function. * * \hideinitializer */#define uip_abort()         (uip_flags = UIP_ABORT)/** * Tell the sending host to stop sending data. * * This function will close our receiver's window so that we stop * receiving data for the current connection. * * \hideinitializer */#define uip_stop()          (uip_conn->tcpstateflags |= UIP_STOPPED)/** * Find out if the current connection has been previously stopped with * uip_stop(). * * \hideinitializer */#define uip_stopped(conn)   ((conn)->tcpstateflags & UIP_STOPPED)/** * Restart the current connection, if is has previously been stopped * with uip_stop(). * * This function will open the receiver's window again so that we * start receiving data for the current connection. * * \hideinitializer */#define uip_restart()         do { uip_flags |= UIP_NEWDATA; \                                   uip_conn->tcpstateflags &= ~UIP_STOPPED; \                              } while(0)/* uIP tests that can be made to determine in what state the current   connection is, and what the application function should do. *//** * Is new incoming data available? * * Will reduce to non-zero if there is new data for the application * present at the uip_appdata pointer. The size of the data is * avaliable through the uip_len variable. * * \hideinitializer */#define uip_newdata()   (uip_flags & UIP_NEWDATA)/** * Has previously sent data been acknowledged? * * Will reduce to non-zero if the previously sent data has been * acknowledged by the remote host. This means that the application * can send new data.  * * \hideinitializer */#define uip_acked()   (uip_flags & UIP_ACKDATA)/** * Has the connection just been connected?   * * Reduces to non-zero if the current connection has been connected to * a remote host. This will happen both if the connection has been * actively opened (with uip_connect()) or passively opened (with * uip_listen()). * * \hideinitializer */#define uip_connected() (uip_flags & UIP_CONNECTED)/** * Has the connection been closed by the other end? * * Is non-zero if the connection has been closed by the remote * host. The application may then do the necessary clean-ups. * * \hideinitializer */#define uip_closed()    (uip_flags & UIP_CLOSE)/** * Has the connection been aborted by the other end? * * Non-zero if the current connection has been aborted (reset) by the * remote host. * * \hideinitializer */#define uip_aborted()    (uip_flags & UIP_ABORT)/** * Has the connection timed out? * * Non-zero if the current connection has been aborted due to too many * retransmissions. * * \hideinitializer */#define uip_timedout()    (uip_flags & UIP_TIMEDOUT)/** * Do we need to retransmit previously data? * * Reduces to non-zero if the previously sent data has been lost in * the network, and the application should retransmit it. The * application should send the exact same data as it did the last * time, using the uip_send() function. * * \hideinitializer */#define uip_rexmit()     (uip_flags & UIP_REXMIT)/** * Is the connection being polled by uIP? * * Is non-zero if the reason the application is invoked is that the * current connection has been idle for a while and should be * polled. * * The polling event can be used for sending data without having to * wait for the remote host to send data. * * \hideinitializer */ #define uip_poll()       (uip_flags & UIP_POLL)/** * Get the initial maxium segment size (MSS) of the current * connection. * * \hideinitializer */#define uip_initialmss()             (uip_conn->initialmss)/** * Get the current maxium segment size that can be sent on the current * connection. * * The current maxiumum segment size that can be sent on the * connection is computed from the receiver's window and the MSS of * the connection (which also is available by calling * uip_initialmss()). * * \hideinitializer */#define uip_mss()             (uip_conn->mss)/** * Set up a new UDP connection. * * \param ripaddr A pointer to a 4-byte structure representing the IP * address of the remote host. * * \param rport The remote port number in network byte order. * * \return The uip_udp_conn structure for the new connection or NULL * if no connection could be allocated. */struct uip_udp_conn *uip_udp_new(u16_t *ripaddr, u16_t rport);/** * Removed a UDP connection. * * \param conn A pointer to the uip_udp_conn structure for the connection. * * \hideinitializer */#define uip_udp_remove(conn) (conn)->lport = 0/** * Send a UDP datagram of length len on the current connection. * * This function can only be called in response to a UDP event (poll * or newdata). The data must be present in the uip_buf buffer, at the * place pointed to by the uip_appdata pointer. * * \param len The length of the data in the uip_buf buffer. * * \hideinitializer */#define uip_udp_send(len) uip_slen = (len)/** @} *//* uIP convenience and converting functions. *//** * \defgroup uipconvfunc uIP conversion functions * @{ * * These functions can be used for converting between different data * formats used by uIP. */ /** * Pack an IP address into a 4-byte array which is used by uIP to * represent IP addresses. * * Example: \code u16_t ipaddr[2]; uip_ipaddr(&ipaddr, 192,168,1,2);  \endcode * * \param addr A pointer to a 4-byte array that will be filled in with * the IP addres. * \param addr0 The first octet of the IP address. * \param addr1 The second octet of the IP address. * \param addr2 The third octet of the IP address. * \param addr3 The forth octet of the IP address.  * * \hideinitializer */#define uip_ipaddr(addr, addr0,addr1,addr2,addr3) do { \                     (addr)[0] = HTONS(((addr0) << 8) | (addr1)); \                     (addr)[1] = HTONS(((addr2) << 8) | (addr3)); \                  } while(0)/** * Convert 16-bit quantity from host byte order to network byte order. * * This macro is primarily used for converting constants from host * byte order to network byte order. For converting variables to * network byte order, use the htons() function instead. * * \hideinitializer */#ifndef HTONS#   if BYTE_ORDER == BIG_ENDIAN#      define HTONS(n) (n)#   else /* BYTE_ORDER == BIG_ENDIAN */#      define HTONS(n) ((((u16_t)((n) & 0xff)) << 8) | (((n) & 0xff00) >> 8))

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
51午夜精品国产| 亚洲三级久久久| 亚洲精品欧美激情| 美女视频免费一区| 在线观看区一区二| 中文字幕亚洲在| 国产麻豆日韩欧美久久| 欧美日韩精品一区二区天天拍小说| 精品成人在线观看| 天天爽夜夜爽夜夜爽精品视频| 97久久精品人人澡人人爽| 精品国产污网站| 奇米精品一区二区三区在线观看| 91影院在线免费观看| 国产欧美日韩久久| 国产一区二区三区最好精华液| 欧美日本一区二区在线观看| 亚洲线精品一区二区三区八戒| 不卡视频一二三四| 亚洲国产精品v| 国产一区二区精品久久91| 91精品国产综合久久香蕉的特点 | 亚洲午夜三级在线| 97久久精品人人爽人人爽蜜臀| 亚洲尤物视频在线| 91玉足脚交白嫩脚丫在线播放| 国产精品亲子伦对白| 国产精品18久久久久久久网站| 欧美电视剧在线观看完整版| 美女一区二区三区| 日韩三级av在线播放| 理论电影国产精品| 久久亚洲春色中文字幕久久久| 经典一区二区三区| 久久婷婷色综合| 国产白丝精品91爽爽久久| 中文字幕av一区二区三区免费看| 国产麻豆视频一区| 亚洲欧洲日韩av| 日本高清成人免费播放| 亚洲丶国产丶欧美一区二区三区| 欧美日韩一区不卡| 蜜臀av一级做a爰片久久| 精品久久久久一区| 成人av第一页| 亚洲一区二区三区四区五区黄| 欧美日本视频在线| 久久91精品久久久久久秒播| 国产亚洲一本大道中文在线| 成人a区在线观看| 亚洲成人资源网| 日韩久久精品一区| 成人精品视频.| 一区二区三区视频在线观看| 91精品国产91久久久久久最新毛片 | 最新日韩av在线| 欧美日韩午夜精品| 国产真实乱对白精彩久久| 欧美国产日本视频| 欧美日韩色一区| 韩国女主播一区二区三区| 国产精品色婷婷| 在线视频观看一区| 国产在线精品一区在线观看麻豆| 国产精品情趣视频| 欧美精品第一页| 国产高清不卡一区二区| 午夜电影一区二区三区| 久久久久久久久久美女| 欧美性猛交一区二区三区精品| 六月丁香综合在线视频| 亚洲欧洲精品成人久久奇米网| 制服丝袜在线91| 成人永久看片免费视频天堂| 无吗不卡中文字幕| 精品国产自在久精品国产| 91麻豆免费看片| 国产一区二区在线影院| 午夜精品久久久久久久久久久| 国产清纯白嫩初高生在线观看91 | 亚洲欧洲制服丝袜| 欧美mv日韩mv国产| 在线观看一区二区视频| 国产激情精品久久久第一区二区 | 成人一区二区视频| 日日欢夜夜爽一区| 亚洲欧美一区二区久久| 欧美精品一区二区精品网| 欧美色偷偷大香| 成人精品gif动图一区| 久久成人久久鬼色| 同产精品九九九| 亚洲大片免费看| 亚洲精品美国一| 亚洲国产精品激情在线观看| 26uuu精品一区二区| 538prom精品视频线放| 欧美中文字幕一二三区视频| aaa亚洲精品| 播五月开心婷婷综合| 国内精品伊人久久久久av影院| 日韩影院免费视频| 亚洲成人精品在线观看| 亚洲黄一区二区三区| 亚洲欧洲日韩av| 中文字幕在线播放不卡一区| 中文字幕欧美区| 久久精品人人爽人人爽| 精品国产乱码久久久久久久| 日韩精品专区在线| 日韩欧美资源站| 欧美成人欧美edvon| 日韩视频一区二区三区| 欧美一区二区久久| 欧美一区二区视频免费观看| 欧美丰满嫩嫩电影| 欧美日韩在线观看一区二区| 欧美又粗又大又爽| 欧美视频在线不卡| 欧美人妖巨大在线| 欧美日韩卡一卡二| 欧美一区二区三区性视频| 日韩欧美一级特黄在线播放| 亚洲精品在线观看网站| 日韩精品成人一区二区三区| 天天综合网天天综合色| 美女www一区二区| 国产乱国产乱300精品| 高清久久久久久| 97精品超碰一区二区三区| 色综合久久六月婷婷中文字幕| 日本精品一区二区三区四区的功能| 色爱区综合激月婷婷| 欧美久久久久久久久| 欧美一个色资源| 久久久三级国产网站| 中文字幕第一区| 亚洲一区二区四区蜜桃| 青青青爽久久午夜综合久久午夜| 国产一区二区三区蝌蚪| a级高清视频欧美日韩| 欧美影院午夜播放| 日韩精品影音先锋| 国产精品灌醉下药二区| 亚洲电影你懂得| 国产精品69毛片高清亚洲| 91热门视频在线观看| 制服丝袜av成人在线看| 中文字幕不卡三区| 亚州成人在线电影| 国产激情视频一区二区在线观看| 色噜噜狠狠一区二区三区果冻| 日韩一区二区高清| 国产精品精品国产色婷婷| 亚洲综合一区二区三区| 国产裸体歌舞团一区二区| 欧美中文字幕一二三区视频| 欧美精品一区二区久久婷婷| 亚洲国产成人高清精品| 国产精品一区二区视频| 欧美一区午夜视频在线观看| 国产精品乱码妇女bbbb| 麻豆国产一区二区| 在线视频中文字幕一区二区| 国产午夜精品福利| 视频一区免费在线观看| 97精品久久久午夜一区二区三区 | 狠狠色2019综合网| 欧美中文一区二区三区| 国产精品国产三级国产专播品爱网| 免费成人在线播放| 欧美日韩极品在线观看一区| 一色屋精品亚洲香蕉网站| 卡一卡二国产精品| 欧美日本在线观看| 一区二区三区影院| 成人激情小说网站| 久久久久免费观看| 秋霞电影网一区二区| 欧美亚洲一区三区| 亚洲欧美激情在线| aa级大片欧美| 国产精品理论在线观看| 国产不卡在线播放| 欧美精品一区二区三区在线 | 不卡免费追剧大全电视剧网站| 欧美成人在线直播| 日韩中文字幕亚洲一区二区va在线 | 亚洲国产裸拍裸体视频在线观看乱了 | 欧美一二三区在线观看| 一区二区三区视频在线观看| 97久久超碰国产精品| 亚洲视频在线一区观看| 国产白丝精品91爽爽久久 | 亚洲国产视频在线| 91尤物视频在线观看| 亚洲三级理论片| 色婷婷精品大视频在线蜜桃视频| 1000部国产精品成人观看| 99久久伊人久久99|