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

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

?? uip.h

?? 最新版FreeRTOS, 包擴(kuò)多種開發(fā)平臺的移植
?? 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))

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久不卡影院| 亚洲精品乱码久久久久久黑人 | 亚洲国产成人va在线观看天堂| 欧美剧在线免费观看网站 | 日韩一区欧美小说| 日韩欧美第一区| 91极品美女在线| 成人综合日日夜夜| 蜜臀99久久精品久久久久久软件| 亚洲欧洲av在线| 久久久久久久久久看片| 91精品在线观看入口| 在线免费观看日本欧美| 北条麻妃一区二区三区| 国产精一品亚洲二区在线视频| 亚洲18色成人| 亚洲国产精品久久艾草纯爱| 亚洲桃色在线一区| 国产精品久久久久一区二区三区| 久久亚洲春色中文字幕久久久| 69久久夜色精品国产69蝌蚪网| 一道本成人在线| 99re在线视频这里只有精品| 懂色av一区二区三区免费看| 韩国一区二区三区| 理论片日本一区| 免费在线欧美视频| 热久久免费视频| 午夜电影一区二区| 丝袜美腿亚洲一区| 天天综合网 天天综合色| 亚洲一区欧美一区| 亚洲国产日韩在线一区模特| 亚洲一区在线视频观看| 亚洲女与黑人做爰| 亚洲综合清纯丝袜自拍| 夜夜精品浪潮av一区二区三区| 亚洲美女偷拍久久| 亚洲精品免费一二三区| 一区二区免费看| 一区二区三区加勒比av| 亚洲综合色视频| 图片区小说区国产精品视频| 日韩精品国产精品| 老司机精品视频一区二区三区| 九九视频精品免费| 国产精品18久久久久久久网站| 国产盗摄女厕一区二区三区| 成人免费毛片高清视频| 99国产精品国产精品毛片| 色妞www精品视频| 欧美日韩国产综合视频在线观看 | 欧美日韩国产综合一区二区 | 亚洲午夜视频在线| 日韩激情中文字幕| 国产在线视频精品一区| 成人蜜臀av电影| 在线一区二区三区四区| 欧美一区二区视频在线观看| 亚洲精品一区二区三区香蕉| 久久久久久亚洲综合| 中文字幕一区二区三区不卡| 亚洲精品国久久99热| 午夜久久久影院| 韩国精品主播一区二区在线观看| 国产精品一区二区果冻传媒| 91亚洲精品一区二区乱码| 欧美日韩中文另类| 精品国精品自拍自在线| 国产精品国产三级国产有无不卡| 一区二区三区成人在线视频| 老司机免费视频一区二区三区| 国产精品一区二区你懂的| 一本久久a久久精品亚洲| 91精品国产色综合久久ai换脸| 久久新电视剧免费观看| 亚洲免费av观看| 久久精品国产免费看久久精品| 成人污视频在线观看| 欧美猛男男办公室激情| 久久久久久久久99精品| 亚洲一区二区三区激情| 国产成人在线视频免费播放| 欧美日韩国产小视频在线观看| 欧美mv和日韩mv国产网站| 中文字幕日韩av资源站| 久久er精品视频| 91麻豆视频网站| 欧美精品一区在线观看| 一区二区三区影院| 国产精品羞羞答答xxdd| 欧美丰满一区二区免费视频| 中文字幕一区二区不卡| 美国欧美日韩国产在线播放| 91丨porny丨在线| 精品成人a区在线观看| 一区二区国产视频| 国产精品1区二区.| 日韩一区二区三区精品视频| 亚洲人成亚洲人成在线观看图片| 久草精品在线观看| 7777精品伊人久久久大香线蕉的 | 国产成人午夜片在线观看高清观看| 欧美日韩综合在线免费观看| 亚洲国产精品精华液ab| 久久精品二区亚洲w码| 欧美日韩在线电影| 亚洲欧美综合色| 国产sm精品调教视频网站| 日韩美女一区二区三区四区| 亚洲一区二区在线观看视频| 成人性生交大片免费看在线播放| 日韩欧美综合一区| 日本欧美一区二区三区| 欧美午夜视频网站| 亚洲黄色尤物视频| 一道本成人在线| 亚洲人成网站精品片在线观看| 国产成人免费在线观看| 久久这里只有精品视频网| 蜜臀久久99精品久久久久宅男| 欧美日韩一级二级三级| 亚洲一区电影777| 欧美三级韩国三级日本三斤| 亚洲一区二区三区在线| 欧美视频中文一区二区三区在线观看 | 久久国产视频网| 日韩视频一区二区| 久久av老司机精品网站导航| 日韩一本二本av| 日本美女一区二区| 日韩欧美国产一区二区在线播放| 日韩国产精品久久| 在线综合+亚洲+欧美中文字幕| 日韩电影在线免费观看| 欧美一区二区三区系列电影| 日本不卡不码高清免费观看| 日韩欧美aaaaaa| 狠狠色丁香婷婷综合久久片| 精品久久久久久久久久久久久久久| 免费观看久久久4p| 亚洲精品一线二线三线| 国产精品中文有码| 国产精品无遮挡| 一本一道久久a久久精品| 亚洲精品五月天| 在线不卡一区二区| 免费欧美在线视频| 国产午夜精品一区二区三区视频| 成人免费av资源| 亚洲一区二区三区四区中文字幕| 欧美日韩极品在线观看一区| 美国精品在线观看| 亚洲国产成人私人影院tom| 91免费在线播放| 亚洲成人tv网| 久久网站最新地址| 91尤物视频在线观看| 亚洲在线视频一区| 精品欧美一区二区三区精品久久 | 91精品福利在线一区二区三区| 久久99国产精品久久99| 中文字幕的久久| 欧洲一区二区av| 激情综合网激情| 日韩毛片精品高清免费| 欧美久久久影院| 国产福利电影一区二区三区| 亚洲精品免费播放| 日韩欧美在线网站| 成人黄页毛片网站| 性欧美大战久久久久久久久| 26uuu色噜噜精品一区| 色偷偷久久一区二区三区| 免费精品视频在线| 日韩黄色片在线观看| 日本一区二区视频在线| 欧美日韩另类一区| 国产91精品一区二区| 三级不卡在线观看| 国产精品久久二区二区| 91精品国产综合久久久蜜臀粉嫩 | 99re亚洲国产精品| 日韩一区精品字幕| 一色屋精品亚洲香蕉网站| 日韩精品中文字幕在线不卡尤物| 91在线精品一区二区三区| 久久国产综合精品| 亚洲国产精品久久久久婷婷884 | 日韩欧美成人激情| 欧美在线啊v一区| 成人黄色软件下载| 麻豆国产欧美日韩综合精品二区| 亚洲欧洲无码一区二区三区| 制服视频三区第一页精品| 成人av网站在线观看| 久久成人18免费观看| 午夜亚洲国产au精品一区二区| 久久综合狠狠综合久久激情| 宅男在线国产精品|