Symbols
loading...
Files
loading...

u16_t

Syntax

typedef uint16_t u16_t;

Examples

u16_t is referenced by 28 libraries and example projects.

References

LocationReferrerScopeText
arch.h:127
typedef uint16_t u16_t;
api.h:215netconn_callback::len
typedef void (* netconn_callback)(struct netconn *, enum netconn_evt, u16_t len);
api.h:320netconn_getaddr()::portnetconn_getaddr()
u16_t *port, u8_t local);
api.h:326netconn_bind()::portnetconn_bind()
err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port);
api.h:328netconn_connect()::portnetconn_connect()
api.h:341netconn_sendto()::portnetconn_sendto()
const ip_addr_t *addr, u16_t port);
api.h:345netconn_write_vectors_partly()::vectorcntnetconn_write_vectors_partly()
api_lib.c:269netconn_getaddr()
api_lib.c:307netconn_bind()
netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port)
api_lib.c:377netconn_connect()
netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port)
api_lib.c:582netconn_recv_data()
u16_t len;
api_lib.c:737netconn_recv_data_tcp()
u16_t len = buf ? buf->tot_len : 1;
api_lib.c:922netconn_sendto()
netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port)
api_lib.c:997netconn_write_vectors_partly()
api_msg.c:219recv_udp()
const ip_addr_t *addr, u16_t port)
api_msg.c:223recv_udp()
u16_t len;
api_msg.c:296recv_tcp()
u16_t len;
api_msg.c:398sent_tcp()
sent_tcp(void *arg, struct tcp_pcb *pcb, u16_t len)
api_msg.c:1598lwip_netconn_do_recv()
u16_t recved = (u16_t)((remaining > 0xffff) ? 0xffff : remaining);
api_msg.c:1644lwip_netconn_do_writemore()
u16_t len, available;
api_msg.c:1683lwip_netconn_do_writemore()
len = (u16_t)diff;
api_msg.c:1706lwip_netconn_do_writemore()
(len == (u16_t)diff && conn->current_msg->msg.w.vector_cnt > 1)) {
api_msg.h:96api_msg::::::portapi_msg::::
u16_t port;
api_msg.h:102api_msg::::::portapi_msg::::
api_msg.h:110api_msg::::::vector_cntapi_msg::::
u16_t vector_cnt;
def.c:75lwip_htons()
u16_t
def.c:76lwip_htons()
lwip_htons(u16_t n)
def.c:78lwip_htons()
return PP_HTONS(n);
def.h:96lwip_htons()
u16_t lwip_htons(u16_t x);
dhcp.c:202dhcp_recv()::portdhcp_recv()
static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port);
dhcp.c:211dhcp_create_msg()::options_out_lendhcp_create_msg()
static struct pbuf *dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len);
dhcp.c:213dhcp_option()
dhcp.c:215dhcp_option_byte()
dhcp.c:216dhcp_option_short()
static u16_t dhcp_option_short(u16_t options_out_len, u8_t *options, u16_t value);
dhcp.c:217dhcp_option_long()
dhcp.c:222dhcp_option_trailer()::options_out_lendhcp_option_trailer()
static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out);
dhcp.c:307dhcp_check()
u16_t msecs;
dhcp.c:321dhcp_check()
dhcp.c:370dhcp_select()
u16_t msecs;
dhcp.c:373dhcp_select()
u16_t options_out_len;
dhcp.c:419dhcp_select()
msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000);
dhcp.c:420dhcp_select()
dhcp.c:562dhcp_t1_timeout()
dhcp->t1_renew_time = (u16_t)((dhcp->t2_timeout - dhcp->lease_used) / 2);
dhcp.c:588dhcp_t2_timeout()
dhcp->t2_rebind_time = (u16_t)((dhcp->t0_timeout - dhcp->lease_used) / 2);
dhcp.c:818dhcp_inform()
u16_t options_out_len;
dhcp.c:939dhcp_decline()
u16_t msecs;
dhcp.c:941dhcp_decline()
u16_t options_out_len;
dhcp.c:968dhcp_decline()
dhcp.c:985dhcp_discover()
u16_t msecs;
dhcp.c:988dhcp_discover()
u16_t options_out_len;
dhcp.c:1027dhcp_discover()
msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000);
dhcp.c:1028dhcp_discover()
dhcp.c:1060dhcp_bind()
dhcp->t0_timeout = (u16_t)timeout;
dhcp.c:1075dhcp_bind()
dhcp->t1_timeout = (u16_t)timeout;
dhcp.c:1089dhcp_bind()
dhcp->t2_timeout = (u16_t)timeout;
dhcp.c:1154dhcp_renew()
u16_t msecs;
dhcp.c:1157dhcp_renew()
u16_t options_out_len;
dhcp.c:1194dhcp_renew()
msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 2000 : 20 * 1000);
dhcp.c:1195dhcp_renew()
dhcp.c:1210dhcp_rebind()
u16_t msecs;
dhcp.c:1213dhcp_rebind()
u16_t options_out_len;
dhcp.c:1248dhcp_rebind()
msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000);
dhcp.c:1249dhcp_rebind()
dhcp.c:1264dhcp_reboot()
u16_t msecs;
dhcp.c:1267dhcp_reboot()
u16_t options_out_len;
dhcp.c:1305dhcp_reboot()
msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000);
dhcp.c:1306dhcp_reboot()
dhcp.c:1351dhcp_release_and_stop()
u16_t options_out_len;
dhcp.c:1431dhcp_option()
static u16_t
dhcp.c:1432dhcp_option()
dhcp.c:1443dhcp_option_byte()
static u16_t
dhcp.c:1444dhcp_option_byte()
dhcp.c:1451dhcp_option_short()
static u16_t
dhcp.c:1452dhcp_option_short()
dhcp.c:1460dhcp_option_long()
static u16_t
dhcp.c:1461dhcp_option_long()
dhcp.c:1510dhcp_parse_reply()
u16_t offset;
dhcp.c:1511dhcp_parse_reply()
u16_t offset_max;
dhcp.c:1512dhcp_parse_reply()
u16_t options_idx;
dhcp.c:1513dhcp_parse_reply()
u16_t options_idx_max;
dhcp.c:1545dhcp_parse_reply()
options_idx = (u16_t)(options_idx - q->len);
dhcp.c:1546dhcp_parse_reply()
options_idx_max = (u16_t)(options_idx_max - q->len);
dhcp.c:1561dhcp_parse_reply()
u16_t val_offset = (u16_t)(offset + 2);
dhcp.c:1651dhcp_parse_reply()
offset = (u16_t)(offset + len + 2);
dhcp.c:1654dhcp_parse_reply()
u16_t copy_len;
dhcp.c:1664dhcp_parse_reply()
u16_t next_val_offset;
dhcp.c:1669dhcp_parse_reply()
next_val_offset = (u16_t)(val_offset + 4);
dhcp.c:1689dhcp_parse_reply()
offset = (u16_t)(offset - q->len);
dhcp.c:1690dhcp_parse_reply()
offset_max = (u16_t)(offset_max - q->len);
dhcp.c:1754dhcp_recv()
dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
dhcp.c:1874dhcp_create_msg()
dhcp.c:1876dhcp_create_msg()
u16_t i;
dhcp.c:1879dhcp_create_msg()
u16_t options_out_len_loc;
dhcp.c:1960dhcp_option_trailer()
dhcp.c:1970dhcp_option_trailer()
dhcp.h:82dhcp::request_timeoutdhcp
u16_t request_timeout; /* #ticks with period DHCP_FINE_TIMER_SECS for request timeout */
dhcp.h:83dhcp::t1_timeoutdhcp
u16_t t1_timeout; /* #ticks with period DHCP_COARSE_TIMER_SECS for renewal time */
dhcp.h:84dhcp::t2_timeoutdhcp
u16_t t2_timeout; /* #ticks with period DHCP_COARSE_TIMER_SECS for rebind time */
dhcp.h:85dhcp::t1_renew_timedhcp
u16_t t1_renew_time; /* #ticks with period DHCP_COARSE_TIMER_SECS until next renew try */
dhcp.h:86dhcp::t2_rebind_timedhcp
u16_t t2_rebind_time; /* #ticks with period DHCP_COARSE_TIMER_SECS until next rebind try */
dhcp.h:87dhcp::lease_useddhcp
u16_t lease_used; /* #ticks with period DHCP_COARSE_TIMER_SECS since last received DHCP ack */
dhcp.h:88dhcp::t0_timeoutdhcp
u16_t t0_timeout; /* #ticks with period DHCP_COARSE_TIMER_SECS for lease time */
dhcp.h:70dhcp_msg::secsdhcp_msg
dhcp.h:71dhcp_msg::flagsdhcp_msg
dns.c:192dns_query::typedns_query
u16_t type;
dns.c:193dns_query::clsdns_query
u16_t cls;
dns.c:202dns_answer::typedns_answer
u16_t type;
dns.c:203dns_answer::clsdns_answer
u16_t cls;
dns.c:205dns_answer::lendns_answer
u16_t len;
dns.c:223dns_table_entry::txiddns_table_entry
u16_t txid;
dns.c:285dns_recv()::portdns_recv()
static void dns_recv(void *s, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port);
dns.c:650dns_compare_name()
static u16_t
dns.c:651dns_compare_name()
dns_compare_name(const char *query, struct pbuf *p, u16_t start_offset)
dns.c:654dns_compare_name()
u16_t response_offset = start_offset;
dns.c:697dns_compare_name()
return (u16_t)(response_offset + 1);
dns.c:707dns_skip_name()
static u16_t
dns.c:708dns_skip_name()
dns_skip_name(struct pbuf *p, u16_t query_idx)
dns.c:711dns_skip_name()
u16_t offset = query_idx;
dns.c:727dns_skip_name()
offset = (u16_t)(offset + n);
dns.c:738dns_skip_name()
return (u16_t)(offset + 1);
dns.c:754dns_send()
u16_t query_idx, copy_len;
dns.c:777dns_send()
p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 +
dns.c:781dns_send()
u16_t dst_port;
dns.c:786dns_send()
hdr.numquestions = PP_HTONS(1);
dns.c:799dns_send()
copy_len = (u16_t)(hostname - hostname_part);
dns.c:805dns_send()
pbuf_take_at(p, hostname_part, copy_len, (u16_t)(query_idx + 1));
dns.c:806dns_send()
query_idx = (u16_t)(query_idx + n + 1);
dns.c:813dns_send()
qry.type = PP_HTONS(DNS_RRTYPE_AAAA);
dns.c:815dns_send()
qry.type = PP_HTONS(DNS_RRTYPE_A);
dns.c:817dns_send()
qry.cls = PP_HTONS(DNS_RRCLASS_IN);
dns.c:877dns_alloc_random_port()
u16_t port = (u16_t)DNS_RAND_TXID();
dns.c:999dns_create_txid()
static u16_t
dns.c:1002dns_create_txid()
u16_t txid;
dns.c:1006dns_create_txid()
txid = (u16_t)DNS_RAND_TXID();
dns.c:1170dns_recv()
dns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
dns.c:1173dns_recv()
u16_t txid;
dns.c:1174dns_recv()
u16_t res_idx;
dns.c:1178dns_recv()
u16_t nquestions, nanswers;
dns.c:1238dns_recv()
if ((qry.cls != PP_HTONS(DNS_RRCLASS_IN)) ||
dns.c:1239dns_recv()
(LWIP_DNS_ADDRTYPE_IS_IPV6(entry->reqaddrtype) && (qry.type != PP_HTONS(DNS_RRTYPE_AAAA))) ||
dns.c:1240dns_recv()
(!LWIP_DNS_ADDRTYPE_IS_IPV6(entry->reqaddrtype) && (qry.type != PP_HTONS(DNS_RRTYPE_A)))) {
dns.c:1248dns_recv()
res_idx = (u16_t)(res_idx + SIZEOF_DNS_QUERY);
dns.c:1282dns_recv()
res_idx = (u16_t)(res_idx + SIZEOF_DNS_ANSWER);
dns.c:1284dns_recv()
if (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) {
dns.c:1286dns_recv()
if ((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.len == PP_HTONS(sizeof(ip4_addr_t)))) {
dns.c:1329dns_recv()
res_idx = (u16_t)(res_idx + lwip_htons(ans.len));
dns.h:104dns_hdr::iddns_hdr
dns.h:107dns_hdr::numquestionsdns_hdr
dns.h:108dns_hdr::numanswersdns_hdr
dns.h:109dns_hdr::numauthrrdns_hdr
dns.h:110dns_hdr::numextrarrdns_hdr
etharp.c:101etharp_entry::ctimeetharp_entry
u16_t ctime;
etharp.c:138etharp_raw()::opcodeetharp_raw()
const u16_t opcode);
etharp.c:264etharp_find_entry()
u16_t age_queue = 0, age_pending = 0, age_stable = 0;
etharp.c:655etharp_input()
etharp.c:658etharp_input()
(hdr->proto != PP_HTONS(ETHTYPE_IP))) {
etharp.c:700etharp_input()
etharp.c:724etharp_input()
etharp.c:1105etharp_raw()
const u16_t opcode)
etharp.c:1140etharp_raw()
etharp.c:1141etharp_raw()
etharp.h:60ip4_addr_wordaligned::addrwip4_addr_wordaligned
etharp.h:87etharp_hdr::hwtypeetharp_hdr
etharp.h:88etharp_hdr::protoetharp_hdr
etharp.h:91etharp_hdr::opcodeetharp_hdr
ethernet.c:84ethernet_input()
u16_t type;
ethernet.c:86ethernet_input()
u16_t next_hdr_offset = SIZEOF_ETH_HDR;
ethernet.c:173ethernet_input()
ethernet.c:190ethernet_input()
ethernet.c:272ethernet_output()
u16_t eth_type) {
ethernet.c:274ethernet_output()
u16_t eth_type_be = lwip_htons(eth_type);
ethernet.h:82eth_hdr::typeeth_hdr
ethernet.h:99eth_vlan_hdr::prio_videth_vlan_hdr
ethernet.h:100eth_vlan_hdr::tpideth_vlan_hdr
ethernet.h:67ethernet_output()::eth_typeethernet_output()
err_t ethernet_output(struct netif* netif, struct pbuf* p, const struct eth_addr* src, const struct eth_addr* dst, u16_t eth_type);
httpd.c:222http_ssi_state::tag_indexhttp_ssi_state
u16_t tag_index; /* Counter used by tag parsing state machine */
httpd.c:223http_ssi_state::tag_insert_lenhttp_ssi_state
u16_t tag_insert_len; /* Length of insert in string tag_insert */
httpd.c:533http_write()
http_write(struct altcp_pcb *pcb, const void *ptr, u16_t *length, u8_t apiflags)
httpd.c:535http_write()
u16_t len, max_len;
httpd.c:549http_write()
httpd.c:832get_tag_insert()
ssi->tag_insert_len = (u16_t)len;
httpd.c:1195http_send_data_nonssi()
u16_t len;
httpd.c:1200http_send_data_nonssi()
len = (u16_t)LWIP_MIN(hs->left, 0xffff);
httpd.c:1222http_send_data_ssi()
u16_t len;
httpd.c:1238http_send_data_ssi()
len = (u16_t)LWIP_MIN(ssi->parsed - hs->file, 0xffff);
httpd.c:1410http_send_data_ssi()
len = (u16_t)LWIP_MIN(ssi->tag_end - hs->file, 0xffff);
httpd.c:1450http_send_data_ssi()
len = (u16_t)LWIP_MIN(ssi->tag_end - hs->file, 0xffff);
httpd.c:1538http_send_data_ssi()
len = (u16_t)LWIP_MIN(ssi->parsed - hs->file, 0xffff);
httpd.c:1956http_parse_request()
u16_t data_len;
httpd.c:1959http_parse_request()
u16_t clen;
httpd.c:2018http_parse_request()
u16_t left_len, uri_len;
httpd.c:2042http_parse_request()
left_len = (u16_t)(data_len - ((sp1 + 1) - data));
httpd.c:2057http_parse_request()
uri_len = (u16_t)(sp2 - (sp1 + 1));
httpd.c:2441http_sent()
http_sent(void *arg, struct altcp_pcb *pcb, u16_t len)
httpd.c:2638httpd_init_pcb()
httpd.h:156
typedef u16_t (*tSSIHandler)(
icmp.c:88icmp_input()
u16_t hlen;
icmp.c:100icmp_input()
if (p->len < sizeof(u16_t) * 2) {
icmp.c:162icmp_input()
u16_t alloc_len = (u16_t)(p->tot_len + hlen);
icmp.h:72icmp_echo_hdr::chksumicmp_echo_hdr
icmp.h:73icmp_echo_hdr::idicmp_echo_hdr
icmp.h:74icmp_echo_hdr::seqnoicmp_echo_hdr
icmp6.h:141icmp6_hdr::chksumicmp6_hdr
icmp6.h:157icmp6_echo_hdr::chksumicmp6_echo_hdr
icmp6.h:158icmp6_echo_hdr::idicmp6_echo_hdr
icmp6.h:159icmp6_echo_hdr::seqnoicmp6_echo_hdr
inet_chksum.c:61lwip_standard_chksum()
u16_t lwip_standard_chksum(const void *dataptr, int len);
inet_chksum.c:132lwip_standard_chksum()
u16_t
inet_chksum.c:136lwip_standard_chksum()
const u16_t *ps;
inet_chksum.c:137lwip_standard_chksum()
u16_t t = 0;
inet_chksum.c:148lwip_standard_chksum()
ps = (const u16_t *)(const void *)pb;
inet_chksum.c:172lwip_standard_chksum()
return (u16_t)sum;
inet_chksum.c:259inet_cksum_pseudo_base()
static u16_t
inet_chksum.c:260inet_cksum_pseudo_base()
inet_chksum.c:285inet_cksum_pseudo_base()
acc += (u32_t)lwip_htons((u16_t)proto);
inet_chksum.c:293inet_cksum_pseudo_base()
return (u16_t)~(acc & 0xffffUL);
inet_chksum.c:309inet_chksum_pseudo()
u16_t
inet_chksum.c:310inet_chksum_pseudo()
inet_chksum.c:378ip_chksum_pseudo()
u16_t
inet_chksum.c:379ip_chksum_pseudo()
inet_chksum.c:398inet_cksum_pseudo_partial_base()
static u16_t
inet_chksum.c:399inet_cksum_pseudo_partial_base()
inet_chksum.c:400inet_cksum_pseudo_partial_base()
inet_chksum.c:404inet_cksum_pseudo_partial_base()
u16_t chklen;
inet_chksum.c:415inet_cksum_pseudo_partial_base()
chksum_len = (u16_t)(chksum_len - chklen);
inet_chksum.c:431inet_cksum_pseudo_partial_base()
acc += (u32_t)lwip_htons((u16_t)proto);
inet_chksum.c:439inet_cksum_pseudo_partial_base()
return (u16_t)~(acc & 0xffffUL);
inet_chksum.c:455inet_chksum_pseudo_partial()
u16_t
inet_chksum.c:456inet_chksum_pseudo_partial()
inet_chksum.c:457inet_chksum_pseudo_partial()
u16_t chksum_len, const ip4_addr_t *src, const ip4_addr_t *dest)
inet_chksum.c:525ip_chksum_pseudo_partial()
u16_t
inet_chksum.c:526ip_chksum_pseudo_partial()
inet_chksum.c:527ip_chksum_pseudo_partial()
u16_t chksum_len, const ip_addr_t *src, const ip_addr_t *dest)
inet_chksum.c:554inet_chksum()
u16_t
inet_chksum.c:555inet_chksum()
inet_chksum(const void *dataptr, u16_t len)
inet_chksum.c:557inet_chksum()
return (u16_t)~(unsigned int)LWIP_CHKSUM(dataptr, len);
inet_chksum.c:567inet_chksum_pbuf()
u16_t
inet_chksum.c:587inet_chksum_pbuf()
return (u16_t)~(acc & 0xffffUL);
inet_chksum.h:74inet_chksum()
u16_t inet_chksum(const void *dataptr, u16_t len);
inet_chksum.h:75inet_chksum_pbuf()
u16_t inet_chksum_pbuf(struct pbuf *p);
inet_chksum.h:81inet_chksum_pseudo()
u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
inet_chksum.h:83inet_chksum_pseudo_partial()
inet_chksum.h:84inet_chksum_pseudo_partial()::proto_leninet_chksum_pseudo_partial()
u16_t proto_len, u16_t chksum_len, const ip4_addr_t *src, const ip4_addr_t *dest);
inet_chksum.h:95ip_chksum_pseudo()
u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
inet_chksum.h:97ip_chksum_pseudo_partial()
inet_chksum.h:98ip_chksum_pseudo_partial()::chksum_lenip_chksum_pseudo_partial()
u16_t chksum_len, const ip_addr_t *src, const ip_addr_t *dest);
ip.h:122ip_globals::current_ip_header_tot_lenip_globals
ip4.c:107ip_id
static u16_t ip_id;
ip4.c:430ip4_input()
u16_t iphdr_hlen;
ip4.c:431ip4_input()
u16_t iphdr_len;
ip4.c:585ip4_input()
ip4.c:637ip4_input()
if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
ip4.c:858ip4_output_if_src()
u16_t ip_hlen = IP_HLEN;
ip4.h:79ip_hdr::_lenip_hdr
ip4.h:81ip_hdr::_idip_hdr
ip4.h:83ip_hdr::_offsetip_hdr
ip4.h:93ip_hdr::_chksumip_hdr
ip4_frag.c:100ip_reass_helper::startip_reass_helper
ip4_frag.c:101ip_reass_helper::endip_reass_helper
ip4_frag.c:115ip_reass_pbufcount
static u16_t ip_reass_pbufcount;
ip4_frag.c:166ip_reass_free_complete_datagram()
u16_t pbufs_freed = 0;
ip4_frag.c:167ip_reass_free_complete_datagram()
u16_t clen;
ip4_frag.c:189ip_reass_free_complete_datagram()
pbufs_freed = (u16_t)(pbufs_freed + clen);
ip4_frag.c:205ip_reass_free_complete_datagram()
pbufs_freed = (u16_t)(pbufs_freed + clen);
ip4_frag.c:211ip_reass_free_complete_datagram()
ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount - pbufs_freed);
ip4_frag.c:348ip_reass_chain_frag_into_datagram_and_validate()
u16_t offset, len;
ip4_frag.c:361ip_reass_chain_frag_into_datagram_and_validate()
len = (u16_t)(len - hlen);
ip4_frag.c:362ip_reass_chain_frag_into_datagram_and_validate()
offset = IPH_OFFSET_BYTES(fraghdr);
ip4_frag.c:372ip_reass_chain_frag_into_datagram_and_validate()
iprh->end = (u16_t)(offset + len);
ip4_frag.c:509ip4_reass()
u16_t offset, len, clen;
ip4_frag.c:525ip4_reass()
offset = IPH_OFFSET_BYTES(fraghdr);
ip4_frag.c:532ip4_reass()
len = (u16_t)(len - hlen);
ip4_frag.c:588ip4_reass()
is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0;
ip4_frag.c:590ip4_reass()
u16_t datagram_len = (u16_t)(offset + len);
ip4_frag.c:607ip4_reass()
ip4_frag.c:609ip4_reass()
u16_t datagram_len = (u16_t)(offset + len);
ip4_frag.c:621ip4_reass()
u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN);
ip4_frag.c:668ip4_reass()
ip4_frag.c:745ip4_frag()
u16_t newpbuflen = 0;
ip4_frag.c:746ip4_frag()
u16_t left_to_copy;
ip4_frag.c:750ip4_frag()
const u16_t nfb = (u16_t)((netif->mtu - IP_HLEN) / 8);
ip4_frag.c:751ip4_frag()
u16_t left, fragsize;
ip4_frag.c:752ip4_frag()
u16_t ofo;
ip4_frag.c:754ip4_frag()
u16_t poff = IP_HLEN;
ip4_frag.c:755ip4_frag()
u16_t tmp;
ip4_frag.c:772ip4_frag()
left = (u16_t)(p->tot_len - IP_HLEN);
ip4_frag.c:776ip4_frag()
fragsize = LWIP_MIN(left, (u16_t)(nfb * 8));
ip4_frag.c:812ip4_frag()
u16_t plen = (u16_t)(p->len - poff);
ip4_frag.c:842ip4_frag()
left_to_copy = (u16_t)(left_to_copy - newpbuflen);
ip4_frag.c:848ip4_frag()
poff = (u16_t)(poff + newpbuflen);
ip4_frag.c:861ip4_frag()
IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN)));
ip4_frag.c:883ip4_frag()
left = (u16_t)(left - fragsize);
ip4_frag.c:884ip4_frag()
ofo = (u16_t)(ofo + nfb);
ip4_frag.h:65ip_reassdata::datagram_lenip_reassdata
mem.h:67
typedef u16_t mem_size_t;
memp.c:226memp_init()
u16_t i;
memp_priv.h:119memp_desc::sizememp_desc
u16_t size;
memp_priv.h:123memp_desc::nummemp_desc
u16_t num;
netbuf.c:102netbuf_alloc()
netbuf_alloc(struct netbuf *buf, u16_t size)
netbuf.c:151netbuf_ref()
netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size)
netbuf.c:196netbuf_data()
netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len)
netbuf.h:63netbuf::portnetbuf
u16_t port;
netbuf.h:76netbuf_alloc()::sizenetbuf_alloc()
void * netbuf_alloc (struct netbuf *buf, u16_t size);
netbuf.h:79netbuf_ref()::sizenetbuf_ref()
const void *dataptr, u16_t size);
netbuf.h:83netbuf_data()::lennetbuf_data()
void **dataptr, u16_t *len);
netdb.c:389lwip_getaddrinfo()
sa4->sin_port = lwip_htons((u16_t)port_nr);
netif.h:335netif::mtunetif
u16_t mtu;
netif.h:564
typedef u16_t netif_nsc_reason_t;
pbuf.c:95pbuf_skip_const()::in_offsetpbuf_skip_const()
pbuf_skip_const(const struct pbuf *in, u16_t in_offset, u16_t *out_offset);
pbuf.c:179pbuf_init_alloced_pbuf()
pbuf.c:224pbuf_alloc()
pbuf.c:227pbuf_alloc()
u16_t offset = (u16_t)layer;
pbuf.c:237pbuf_alloc()
u16_t rem_len; /* remaining length */
pbuf.c:242pbuf_alloc()
u16_t qlen;
pbuf.c:253pbuf_alloc()
qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset)));
pbuf.c:268pbuf_alloc()
rem_len = (u16_t)(rem_len - qlen);
pbuf.c:274pbuf_alloc()
u16_t payload_len = (u16_t)(LWIP_MEM_ALIGN_SIZE(offset) + LWIP_MEM_ALIGN_SIZE(length));
pbuf.c:327pbuf_alloc_reference()
pbuf.c:363pbuf_alloced_custom()
pbuf.c:364pbuf_alloced_custom()
pbuf.c:366pbuf_alloced_custom()
u16_t offset = (u16_t)l;
pbuf.c:402pbuf_realloc()
pbuf_realloc(struct pbuf *p, u16_t new_len)
pbuf.c:405pbuf_realloc()
u16_t rem_len; /* remaining length */
pbuf.c:406pbuf_realloc()
u16_t shrink;
pbuf.c:418pbuf_realloc()
shrink = (u16_t)(p->tot_len - new_len);
pbuf.c:426pbuf_realloc()
rem_len = (u16_t)(rem_len - q->len);
pbuf.c:428pbuf_realloc()
q->tot_len = (u16_t)(q->tot_len - shrink);
pbuf.c:475pbuf_add_header_impl()
u16_t type_internal;
pbuf.c:477pbuf_add_header_impl()
u16_t increment_magnitude;
pbuf.c:487pbuf_add_header_impl()
increment_magnitude = (u16_t)header_size_increment;
pbuf.c:489pbuf_add_header_impl()
if ((u16_t)(increment_magnitude + p->tot_len) < increment_magnitude) {
pbuf.c:523pbuf_add_header_impl()
p->len = (u16_t)(p->len + increment_magnitude);
pbuf.c:524pbuf_add_header_impl()
p->tot_len = (u16_t)(p->tot_len + increment_magnitude);
pbuf.c:585pbuf_remove_header()
u16_t increment_magnitude;
pbuf.c:595pbuf_remove_header()
increment_magnitude = (u16_t)header_size_decrement;
pbuf.c:606pbuf_remove_header()
p->len = (u16_t)(p->len - increment_magnitude);
pbuf.c:607pbuf_remove_header()
p->tot_len = (u16_t)(p->tot_len - increment_magnitude);
pbuf.c:671pbuf_free_header()
pbuf_free_header(struct pbuf *q, u16_t size)
pbuf.c:674pbuf_free_header()
u16_t free_left = size;
pbuf.c:678pbuf_free_header()
free_left = (u16_t)(free_left - p->len);
pbuf.c:808pbuf_clen()
u16_t
pbuf.c:811pbuf_clen()
u16_t len;
pbuf.c:863pbuf_cat()
p->tot_len = (u16_t)(p->tot_len + t->tot_len);
pbuf.c:869pbuf_cat()
p->tot_len = (u16_t)(p->tot_len + t->tot_len);
pbuf.c:923pbuf_dechain()
q->tot_len = (u16_t)(p->tot_len - p->len);
pbuf.c:1026pbuf_copy_partial()
u16_t
pbuf.c:1027pbuf_copy_partial()
pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset)
pbuf.c:1030pbuf_copy_partial()
u16_t left = 0;
pbuf.c:1031pbuf_copy_partial()
u16_t buf_copy_len;
pbuf.c:1032pbuf_copy_partial()
u16_t copied_total = 0;
pbuf.c:1041pbuf_copy_partial()
offset = (u16_t)(offset - p->len);
pbuf.c:1044pbuf_copy_partial()
buf_copy_len = (u16_t)(p->len - offset);
pbuf.c:1050pbuf_copy_partial()
copied_total = (u16_t)(copied_total + buf_copy_len);
pbuf.c:1051pbuf_copy_partial()
left = (u16_t)(left + buf_copy_len);
pbuf.c:1052pbuf_copy_partial()
len = (u16_t)(len - buf_copy_len);
pbuf.c:1074pbuf_get_contiguous()
pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset)
pbuf.c:1077pbuf_get_contiguous()
u16_t out_offset;
pbuf.c:1152pbuf_skip_const()
pbuf_skip_const(const struct pbuf *in, u16_t in_offset, u16_t *out_offset)
pbuf.c:1154pbuf_skip_const()
u16_t offset_left = in_offset;
pbuf.c:1159pbuf_skip_const()
offset_left = (u16_t)(offset_left - q->len);
pbuf.c:1178pbuf_skip()
pbuf_skip(struct pbuf *in, u16_t in_offset, u16_t *out_offset)
pbuf.c:1196pbuf_take()
pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len)
pbuf.c:1240pbuf_take_at()
pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset)
pbuf.c:1242pbuf_take_at()
u16_t target_offset;
pbuf.c:1247pbuf_take_at()
u16_t remaining_len = len;
pbuf.c:1250pbuf_take_at()
u16_t first_copy_len;
pbuf.c:1252pbuf_take_at()
first_copy_len = (u16_t)LWIP_MIN(q->len - target_offset, len);
pbuf.c:1254pbuf_take_at()
remaining_len = (u16_t)(remaining_len - first_copy_len);
pbuf.c:1371pbuf_get_at()
pbuf_get_at(const struct pbuf *p, u16_t offset)
pbuf.c:1389pbuf_try_get_at()
pbuf_try_get_at(const struct pbuf *p, u16_t offset)
pbuf.c:1391pbuf_try_get_at()
u16_t q_idx;
pbuf.c:1411pbuf_put_at()
pbuf_put_at(struct pbuf *p, u16_t offset, u8_t data)
pbuf.c:1413pbuf_put_at()
u16_t q_idx;
pbuf.c:1433pbuf_memcmp()
u16_t
pbuf.c:1434pbuf_memcmp()
pbuf_memcmp(const struct pbuf *p, u16_t offset, const void *s2, u16_t n)
pbuf.c:1436pbuf_memcmp()
u16_t start = offset;
pbuf.c:1438pbuf_memcmp()
u16_t i;
pbuf.c:1447pbuf_memcmp()
start = (u16_t)(start - q->len);
pbuf.c:1454pbuf_memcmp()
u8_t a = pbuf_get_at(q, (u16_t)(start + i));
pbuf.c:1457pbuf_memcmp()
return (u16_t)LWIP_MIN(i + 1, 0xFFFF);
pbuf.c:1475pbuf_memfind()
u16_t
pbuf.c:1476pbuf_memfind()
pbuf_memfind(const struct pbuf *p, const void *mem, u16_t mem_len, u16_t start_offset)
pbuf.c:1478pbuf_memfind()
u16_t i;
pbuf.c:1479pbuf_memfind()
u16_t max_cmp_start = (u16_t)(p->tot_len - mem_len);
pbuf.c:1482pbuf_memfind()
u16_t plus = pbuf_memcmp(p, i, mem, mem_len);
pbuf.c:1502pbuf_strstr()
u16_t
pbuf.c:1513pbuf_strstr()
return pbuf_memfind(p, substr, (u16_t)substr_len, 0);
pbuf.h:200pbuf::tot_lenpbuf
u16_t tot_len;
pbuf.h:203pbuf::lenpbuf
u16_t len;
pbuf.h:272pbuf_alloc()::lengthpbuf_alloc()
pbuf.h:273pbuf_alloc_reference()::lengthpbuf_alloc_reference()
pbuf.h:275pbuf_alloced_custom()::lengthpbuf_alloced_custom()
pbuf.h:277pbuf_alloced_custom()::payload_mem_lenpbuf_alloced_custom()
pbuf.h:279pbuf_realloc()::sizepbuf_realloc()
void pbuf_realloc(struct pbuf *p, u16_t size);
pbuf.h:288pbuf_free_header()::sizepbuf_free_header()
struct pbuf *pbuf_free_header(struct pbuf *q, u16_t size);
pbuf.h:291pbuf_clen()
u16_t pbuf_clen(const struct pbuf *p);
pbuf.h:296pbuf_copy_partial()
u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
pbuf.h:297pbuf_get_contiguous()::lenpbuf_get_contiguous()
void *pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset);
pbuf.h:298pbuf_take()::lenpbuf_take()
err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
pbuf.h:299pbuf_take_at()::lenpbuf_take_at()
err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
pbuf.h:300pbuf_skip()::in_offsetpbuf_skip()
struct pbuf *pbuf_skip(struct pbuf* in, u16_t in_offset, u16_t* out_offset);
pbuf.h:311pbuf_get_at()::offsetpbuf_get_at()
u8_t pbuf_get_at(const struct pbuf* p, u16_t offset);
pbuf.h:312pbuf_try_get_at()::offsetpbuf_try_get_at()
int pbuf_try_get_at(const struct pbuf* p, u16_t offset);
pbuf.h:313pbuf_put_at()::offsetpbuf_put_at()
void pbuf_put_at(struct pbuf* p, u16_t offset, u8_t data);
pbuf.h:314pbuf_memcmp()
u16_t pbuf_memcmp(const struct pbuf* p, u16_t offset, const void* s2, u16_t n);
pbuf.h:315pbuf_memfind()
u16_t pbuf_memfind(const struct pbuf* p, const void* mem, u16_t mem_len, u16_t start_offset);
pbuf.h:316pbuf_strstr()
u16_t pbuf_strstr(const struct pbuf* p, const char* substr);
sockets.c:288event_callback()::lenevent_callback()
static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len);
sockets.c:625lwip_accept()
u16_t port = 0;
sockets.c:722lwip_bind()
u16_t local_port;
sockets.c:836lwip_connect()
u16_t remote_port;
sockets.c:936lwip_recv_tcp()
u16_t copylen;
sockets.c:975lwip_recv_tcp()
copylen = (u16_t)recv_left;
sockets.c:979lwip_recv_tcp()
copylen = (u16_t)(SSIZE_MAX - recvd);
sockets.c:1023lwip_sock_make_addr()
lwip_sock_make_addr(struct netconn *conn, ip_addr_t *fromaddr, u16_t port,
sockets.c:1070lwip_recv_tcp_from()
u16_t port;
sockets.c:1088lwip_recvfrom_udp_raw()
lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, u16_t *datagram_len, int dbg_s)
sockets.c:1093lwip_recvfrom_udp_raw()
u16_t buflen, copylen, copied;
sockets.c:1127lwip_recvfrom_udp_raw()
u16_t len_left = (u16_t)(buflen - copied);
sockets.c:1131lwip_recvfrom_udp_raw()
copylen = (u16_t)msg->msg_iov[i].iov_len;
sockets.c:1137lwip_recvfrom_udp_raw()
copied = (u16_t)(copied + copylen);
sockets.c:1219lwip_recvfrom()
u16_t datagram_len = 0;
sockets.c:1356lwip_recvmsg()
u16_t datagram_len = 0;
sockets.c:1456lwip_sendmsg()
err = netconn_write_vectors_partly(sock->conn, (struct netvector *)msg->msg_iov, (u16_t)msg->msg_iovlen, write_flags, &written);
sockets.c:1482lwip_sendmsg()
u16_t remote_port;
sockets.c:1532lwip_sendmsg()
p->len = p->tot_len = (u16_t)msg->msg_iov[i].iov_len;
sockets.c:1590lwip_sendto()
u16_t short_size;
sockets.c:1591lwip_sendto()
u16_t remote_port;
sockets.c:1617lwip_sendto()
short_size = (u16_t)size;
sockets.c:1862lwip_selscan()
u16_t sendevent = sock->sendevent;
sockets.c:1863lwip_selscan()
u16_t errevent = sock->errevent;
sockets.c:2217lwip_pollscan()
u16_t sendevent = sock->sendevent;
sockets.c:2218lwip_pollscan()
u16_t errevent = sock->errevent;
sockets.c:2477event_callback()
event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
sockets.c:2705lwip_getaddrname()
u16_t port;
sockets.h:66
typedef u16_t in_port_t;
sockets_priv.h:78lwip_sock::sendeventlwip_sock
u16_t sendevent;
sockets_priv.h:80lwip_sock::erreventlwip_sock
u16_t errevent;
tcp.c:159tcp_port
tcp.c:190tcp_new_port()
static u16_t tcp_new_port(void);
tcp.c:204tcp_init()
tcp.c:586tcp_abandon()
u16_t local_port = 0;
tcp.c:661tcp_bind()
tcp_bind(struct tcp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
tcp.c:968tcp_recved()
tcp_recved(struct tcp_pcb *pcb, u16_t len)
tcp.c:1010tcp_new_port()
static u16_t
tcp.c:1014tcp_new_port()
u16_t n = 0;
tcp.c:1067tcp_connect()
tcp_connect(struct tcp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port,
tcp.c:1073tcp_connect()
u16_t old_local_port;
tcp.c:1254tcp_slowtmr()
if (tcp_split_unsent_seg(pcb, (u16_t)pcb->snd_wnd) == ERR_OK) {
tcp.c:2237tcp_eff_send_mss_netif()
u16_t
tcp.c:2238tcp_eff_send_mss_netif()
tcp.c:2240tcp_eff_send_mss_netif()
u16_t mss_s;
tcp.c:2241tcp_eff_send_mss_netif()
u16_t mtu;
tcp.c:2269tcp_eff_send_mss_netif()
u16_t offset;
tcp.c:2286tcp_eff_send_mss_netif()
mss_s = (mtu > offset) ? (u16_t)(mtu - offset) : 0;
tcp.c:2360tcp_tcp_get_tcp_addrinfo()
tcp.h:57tcp_hdr::srctcp_hdr
tcp.h:58tcp_hdr::desttcp_hdr
tcp.h:61tcp_hdr::_hdrlen_rsvd_flagstcp_hdr
tcp.h:62tcp_hdr::wndtcp_hdr
tcp.h:63tcp_hdr::chksumtcp_hdr
tcp.h:64tcp_hdr::urgptcp_hdr
tcp.h:97tcp_sent_fn::len
u16_t len);
tcp.h:206
typedef u16_t tcpflags_t;
tcp.h:227tcp_pcb_listen::local_porttcp_pcb_listen
tcp.h:246tcp_pcb::local_porttcp_pcb
tcp.h:249tcp_pcb::remote_porttcp_pcb
tcp.h:297tcp_pcb::msstcp_pcb
u16_t mss; /* maximum segment size */
tcp.h:328tcp_pcb::snd_queuelentcp_pcb
u16_t snd_queuelen; /* Number of pbufs currently in the send buffer. */
tcp.h:332tcp_pcb::unsent_oversizetcp_pcb
tcp.h:457tcp_recved()::lentcp_recved()
void tcp_recved (struct tcp_pcb *pcb, u16_t len);
tcp.h:459tcp_bind()::porttcp_bind()
u16_t port);
tcp.h:462tcp_connect()::porttcp_connect()
tcp.h:473tcp_write()::lentcp_write()
err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, u16_t len,
tcp.h:480tcp_tcp_get_tcp_addrinfo()::porttcp_tcp_get_tcp_addrinfo()
tcp_in.c:76tcphdr_optlen
static u16_t tcphdr_optlen;
tcp_in.c:77tcphdr_opt1len
static u16_t tcphdr_opt1len;
tcp_in.c:79tcp_optidx
static u16_t tcp_optidx;
tcp_in.c:82tcplen
static u16_t tcplen;
tcp_in.c:175tcp_input()
hdrlen_bytes = TCPH_HDRLEN_BYTES(tcphdr);
tcp_in.c:184tcp_input()
tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);
tcp_in.c:191tcp_input()
u16_t opt2len;
tcp_in.c:201tcp_input()
opt2len = (u16_t)(tcphdr_optlen - tcphdr_opt1len);
tcp_in.c:221tcp_input()
p->tot_len = (u16_t)(p->tot_len - opt2len);
tcp_in.c:456tcp_input()
u16_t acked16;
tcp_in.c:468tcp_input()
TCP_EVENT_SENT(pcb, (u16_t)acked16, err);
tcp_in.c:1092tcp_free_acked_segments()
u16_t clen;
tcp_in.c:1113tcp_free_acked_segments()
pcb->snd_queuelen = (u16_t)(pcb->snd_queuelen - clen);
tcp_in.c:1427tcp_receive()
u16_t new_tot_len, off;
tcp_in.c:1430tcp_receive()
off = (u16_t)off32;
tcp_in.c:1433tcp_receive()
new_tot_len = (u16_t)(inseg.p->tot_len - off);
tcp_in.c:1473tcp_receive()
tcp_in.c:1477tcp_receive()
inseg.len = (u16_t)pcb->rcv_wnd;
tcp_in.c:1890tcp_get_next_optbyte()
u16_t optidx = tcp_optidx++;
tcp_in.c:1912tcp_parseopt()
u16_t mss;
tcp_in.c:1940tcp_parseopt()
mss = (u16_t)(tcp_get_next_optbyte() << 8);
tcp_out.c:201tcp_create_segment()
TCPH_HDRLEN_FLAGS_SET(seg->tcphdr, (5 + optlen / 4), hdrflags);
tcp_out.c:225tcp_pbuf_prealloc()
tcp_out.c:226tcp_pbuf_prealloc()
u16_t *oversize, const struct tcp_pcb *pcb, u8_t apiflags,
tcp_out.c:230tcp_pbuf_prealloc()
u16_t alloc = length;
tcp_out.c:305tcp_write_checks()
tcp_out.c:390tcp_write()
tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
tcp_out.c:394tcp_write()
u16_t pos = 0; /* position in 'arg' data */
tcp_out.c:395tcp_write()
u16_t queuelen;
tcp_out.c:399tcp_write()
u16_t oversize = 0;
tcp_out.c:400tcp_write()
u16_t oversize_used = 0;
tcp_out.c:405tcp_write()
u16_t extendlen = 0;
tcp_out.c:412tcp_write()
u16_t mss_local;
tcp_out.c:477tcp_write()
u16_t space;
tcp_out.c:478tcp_write()
u16_t unsent_optlen;
tcp_out.c:532tcp_write()
u16_t seglen = LWIP_MIN(space, len - pos);
tcp_out.c:599tcp_write()
u16_t left = len - pos;
tcp_out.c:600tcp_write()
u16_t max_len = mss_local - optlen;
tcp_out.c:601tcp_write()
u16_t seglen = LWIP_MIN(left, max_len);
tcp_out.c:827tcp_split_unsent_seg()
tcp_out.c:835tcp_split_unsent_seg()
u16_t remainder;
tcp_out.c:836tcp_split_unsent_seg()
u16_t offset;
tcp_out.c:1458tcp_output_segment()
u16_t len;
tcp_out.c:1498tcp_output_segment()
u16_t mss;
tcp_out.c:1548tcp_output_segment()
len = (u16_t)((u8_t *)seg->tcphdr - (u8_t *)seg->p->payload);
tcp_out.c:1818tcp_output_alloc_header_common()
tcp_out.c:1820tcp_output_alloc_header_common()
u16_t src_port, u16_t dst_port, u8_t flags, u16_t wnd)
tcp_out.c:1834tcp_output_alloc_header_common()
TCPH_HDRLEN_FLAGS_SET(tcphdr, (5 + optlen / 4), flags);
tcp_out.c:1853tcp_output_alloc_header()
tcp_out.c:1876tcp_output_fill_options()
u16_t sacks_len = 0;
tcp_out.c:1982tcp_rst()
u16_t local_port, u16_t remote_port)
tcp_out.c:1985tcp_rst()
u16_t wnd;
tcp_out.c:1996tcp_rst()
wnd = PP_HTONS(TCP_WND);
tcp_out.c:2122tcp_zero_window_probe()
u16_t len;
tcp_out.c:2166tcp_zero_window_probe()
tcp_priv.h:256tcp_seg::lentcp_seg
u16_t len; /* the TCP length of this segment */
tcp_priv.h:469tcp_rst()::local_porttcp_rst()
u16_t local_port, u16_t remote_port);
tcp_priv.h:474tcp_split_unsent_seg()::splittcp_split_unsent_seg()
tcp_priv.h:479tcp_eff_send_mss_netif()
tcpbase.h:53
typedef u16_t tcpwnd_size_t;
udp.c:77udp_port
udp.c:90udp_init()
udp.c:99udp_new_port()
static u16_t
udp.c:102udp_new_port()
u16_t n = 0;
udp.c:199udp_input()
u16_t src, dest;
udp.c:521udp_sendto()
const ip_addr_t *dst_ip, u16_t dst_port)
udp.c:625udp_sendto_if()
const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif)
udp.c:700udp_sendto_if_src()
const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip)
udp.c:756udp_sendto_if_src()
if ((u16_t)(p->tot_len + UDP_HLEN) < p->tot_len) {
udp.c:932udp_bind()
udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
udp.c:1071udp_connect()
udp_connect(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
udp.h:54udp_hdr::srcudp_hdr
udp.h:55udp_hdr::destudp_hdr
PACK_STRUCT_FIELD(u16_t dest); /* src/dest UDP ports */
udp.h:56udp_hdr::lenudp_hdr
udp.h:57udp_hdr::chksumudp_hdr
udp.h:78udp_recv_fn::port
const ip_addr_t *addr, u16_t port);
udp.h:91udp_pcb::local_portudp_pcb
udp.h:123udp_bind()::portudp_bind()
u16_t port);
udp.h:126udp_connect()::portudp_connect()
u16_t port);
udp.h:131udp_sendto_if()::dst_portudp_sendto_if()
const ip_addr_t *dst_ip, u16_t dst_port,
udp.h:134udp_sendto_if_src()::dst_portudp_sendto_if_src()
const ip_addr_t *dst_ip, u16_t dst_port,
udp.h:137udp_sendto()::dst_portudp_sendto()
const ip_addr_t *dst_ip, u16_t dst_port);

Type Use

Variables of u16_t type
udp_recv_fn::port
netconn_callback::len
netconn_recv_data()::len
netconn_recv_data_tcp()::len
tcp_sent_fn::len
recv_udp()::len
recv_tcp()::len
lwip_netconn_do_recv()::recved
lwip_netconn_do_writemore()::len
lwip_netconn_do_writemore()::available
lwip_accept()::port
lwip_bind()::local_port
lwip_connect()::remote_port
lwip_recv_tcp()::copylen
lwip_recv_tcp_from()::port
lwip_recvfrom_udp_raw()::buflen
lwip_recvfrom_udp_raw()::copylen
lwip_recvfrom_udp_raw()::copied
lwip_recvfrom_udp_raw()::len_left
lwip_recvfrom()::datagram_len
lwip_recvmsg()::datagram_len
lwip_sendmsg()::remote_port
lwip_sendto()::short_size
lwip_sendto()::remote_port
lwip_selscan()::sendevent
lwip_selscan()::errevent
lwip_pollscan()::sendevent
lwip_pollscan()::errevent
lwip_getaddrname()::port
lwip_htons()::n
dns_compare_name()::response_offset
dns_skip_name()::offset
dns_send()::query_idx
dns_send()::copy_len
dns_send()::dst_port
dns_alloc_random_port()::port
dns_create_txid()::txid
dns_recv()::txid
dns_recv()::res_idx
dns_recv()::nquestions
dns_recv()::nanswers
lwip_standard_chksum()::ps
lwip_standard_chksum()::t
inet_cksum_pseudo_partial_base()::chklen
memp_init()::i
pbuf_alloc()::offset
pbuf_alloc()::rem_len
pbuf_alloc()::qlen
pbuf_alloc()::payload_len
pbuf_alloced_custom()::offset
pbuf_realloc()::new_len
pbuf_realloc()::rem_len
pbuf_realloc()::shrink
pbuf_add_header_impl()::type_internal
pbuf_add_header_impl()::increment_magnitude
pbuf_remove_header()::increment_magnitude
pbuf_free_header()::free_left
pbuf_clen()::len
pbuf_copy_partial()::left
pbuf_copy_partial()::buf_copy_len
pbuf_copy_partial()::copied_total
pbuf_get_contiguous()::out_offset
pbuf_skip_const()::offset_left
pbuf_take_at()::target_offset
pbuf_take_at()::remaining_len
pbuf_take_at()::first_copy_len
pbuf_try_get_at()::q_idx
pbuf_put_at()::q_idx
pbuf_memcmp()::start
pbuf_memcmp()::i
pbuf_memfind()::i
pbuf_memfind()::max_cmp_start
pbuf_memfind()::plus
tcp_abandon()::local_port
tcp_new_port()::n
tcp_connect()::old_local_port
tcp_eff_send_mss_netif()::mss_s
tcp_eff_send_mss_netif()::mtu
tcp_eff_send_mss_netif()::offset
tcp_input()::opt2len
tcp_input()::acked16
tcp_free_acked_segments()::clen
tcp_receive()::new_tot_len
tcp_receive()::off
tcp_get_next_optbyte()::optidx
tcp_parseopt()::mss
tcp_pbuf_prealloc()::alloc
tcp_write()::pos
tcp_write()::queuelen
tcp_write()::oversize
tcp_write()::oversize_used
tcp_write()::extendlen
tcp_write()::mss_local
tcp_write()::space
tcp_write()::unsent_optlen
tcp_write()::seglen
tcp_write()::left
tcp_write()::max_len
tcp_split_unsent_seg()::remainder
tcp_split_unsent_seg()::offset
tcp_output_segment()::len
tcp_output_segment()::mss
tcp_output_fill_options()::sacks_len
tcp_rst()::wnd
tcp_zero_window_probe()::len
udp_new_port()::n
udp_input()::src
udp_input()::dest
ethernet_input()::type
ethernet_input()::next_hdr_offset
ethernet_output()::eth_type_be
dhcp_check()::msecs
dhcp_select()::msecs
dhcp_select()::options_out_len
dhcp_inform()::options_out_len
dhcp_decline()::msecs
dhcp_decline()::options_out_len
dhcp_discover()::msecs
dhcp_discover()::options_out_len
dhcp_renew()::msecs
dhcp_renew()::options_out_len
dhcp_rebind()::msecs
dhcp_rebind()::options_out_len
dhcp_reboot()::msecs
dhcp_reboot()::options_out_len
dhcp_release_and_stop()::options_out_len
dhcp_parse_reply()::offset
dhcp_parse_reply()::offset_max
dhcp_parse_reply()::options_idx
dhcp_parse_reply()::options_idx_max
dhcp_parse_reply()::val_offset
dhcp_parse_reply()::copy_len
dhcp_parse_reply()::next_val_offset
dhcp_create_msg()::i
dhcp_create_msg()::options_out_len_loc
etharp_find_entry()::age_pending
etharp_find_entry()::age_stable
etharp_find_entry()::age_queue
icmp_input()::hlen
icmp_input()::alloc_len
ip4_input()::iphdr_hlen
ip4_input()::iphdr_len
ip4_output_if_src()::ip_hlen
ip_reass_free_complete_datagram()::pbufs_freed
ip_reass_free_complete_datagram()::clen
ip_reass_chain_frag_into_datagram_and_validate()::offset
ip_reass_chain_frag_into_datagram_and_validate()::len
ip4_reass()::offset
ip4_reass()::len
ip4_reass()::clen
ip4_reass()::datagram_len
ip4_frag()::newpbuflen
ip4_frag()::left_to_copy
ip4_frag()::nfb
ip4_frag()::left
ip4_frag()::fragsize
ip4_frag()::ofo
ip4_frag()::poff
ip4_frag()::tmp
ip4_frag()::plen
http_write()::len
http_write()::max_len
http_send_data_nonssi()::len
http_send_data_ssi()::len
http_parse_request()::data_len
http_parse_request()::clen
http_parse_request()::left_len
http_parse_request()::uri_len
all items filtered out
u16_t
u16_t
uint16_t
all items filtered out