/external/syslinux/core/lwip/src/core/snmp/ |
msg_out.c | 67 static u16_t snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len); 68 static u16_t snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len); 69 static u16_t snmp_varbind_list_sum(struct snmp_varbind_root *root); 71 static u16_t snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p); 72 static u16_t snmp_trap_header_enc(struct snmp_msg_trap *m_trap, struct pbuf *p); 73 static u16_t snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs); 117 u16_t tot_len [all...] |
mib2.c | 80 static void system_get_value(struct obj_def *od, u16_t len, void *value); 81 static u8_t system_set_test(struct obj_def *od, u16_t len, void *value); 82 static void system_set_value(struct obj_def *od, u16_t len, void *value); 84 static void interfaces_get_value(struct obj_def *od, u16_t len, void *value); 86 static void ifentry_get_value(struct obj_def *od, u16_t len, void *value); 88 static u8_t ifentry_set_test (struct obj_def *od, u16_t len, void *value); 89 static void ifentry_set_value (struct obj_def *od, u16_t len, void *value); 92 static void atentry_get_value(struct obj_def *od, u16_t len, void *value); 94 static void ip_get_value(struct obj_def *od, u16_t len, void *value); 95 static u8_t ip_set_test(struct obj_def *od, u16_t len, void *value) [all...] |
msg_in.c | 61 static void snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 62 static err_t snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 63 static err_t snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 149 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_get_event: msg_ps->state==%"U16_F"\n",(u16_t)msg_ps->state)); 382 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_getnext_event: msg_ps->state==%"U16_F"\n",(u16_t)msg_ps->state)); 527 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_set_event: msg_ps->state==%"U16_F"\n",(u16_t)msg_ps->state)); 809 snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port [all...] |
mib_structs.c | 119 u16_t i; 464 u16_t i; 559 u16_t i, len; 627 LWIP_DEBUGF(SNMP_MIB_DEBUG,("search failed node_type %"U16_F" unkown\n",(u16_t)node_type)); 697 u16_t i; 941 u16_t i, len; 1066 LWIP_DEBUGF(SNMP_MIB_DEBUG,("expand failed node_type %"U16_F" unkown\n",(u16_t)node_type));
|
/external/syslinux/core/lwip/src/core/ |
dns.c | 131 PACK_STRUCT_FIELD(u16_t id); 134 PACK_STRUCT_FIELD(u16_t numquestions); 135 PACK_STRUCT_FIELD(u16_t numanswers); 136 PACK_STRUCT_FIELD(u16_t numauthrr); 137 PACK_STRUCT_FIELD(u16_t numextrarr); 150 u16_t type; 151 u16_t cls; 160 u16_t type; 161 u16_t cls; 163 u16_t len [all...] |
udp.c | 90 u16_t src, dest; 224 u16_t chklen = ntohs(udphdr->len); 392 u8_t have_chksum, u16_t chksum) 419 ip_addr_t *dst_ip, u16_t dst_port) 428 u16_t dst_port, u8_t have_chksum, u16_t chksum) 477 ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) 486 u16_t dst_port, struct netif *netif, u8_t have_chksum, 487 u16_t chksum) 579 u16_t chklen, chklen_hdr [all...] |
dhcp.c | 149 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 165 static void dhcp_option_short(struct dhcp *dhcp, u16_t value); 187 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); 215 u16_t msecs; 242 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); 273 u16_t msecs; 275 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_select(netif=%p) %c%c%"U16_F"\n", (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); 632 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_start(netif=%p) %c%c%"U16_F"\n", (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); 832 u16_t msecs; 872 u16_t msecs [all...] |
tcp_in.c | 67 static u16_t tcplen; 650 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_process: SYN-SENT --queuelen %"U16_F"\n", (u16_t)pcb->snd_queuelen)); 684 u16_t old_cwnd; 823 cseg->len = (u16_t)(next->tcphdr->seqno - seqno); 854 u16_t new_tot_len; 919 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) { 953 pcb->acked = (u16_t)(ackno - pcb->lastack); [all...] |
tcp.c | 102 static u16_t tcp_new_port(void); 321 u16_t remote_port, local_port; 400 tcp_bind(struct tcp_pcb *pcb, ip_addr_t *ipaddr, u16_t port) 560 pcb->rcv_ann_wnd = (u16_t)new_rcv_ann_wnd; 575 tcp_recved(struct tcp_pcb *pcb, u16_t len) 608 static u16_t 619 static u16_t port = TCP_LOCAL_PORT_RANGE_START; 649 tcp_connect(struct tcp_pcb *pcb, ip_addr_t *ipaddr, u16_t port, 654 u16_t old_local_port; 753 u16_t eff_wnd [all...] |
/external/syslinux/core/lwip/src/core/ipv4/ |
ip_frag.c | 94 PACK_STRUCT_FIELD(u16_t start); 95 PACK_STRUCT_FIELD(u16_t end); 109 static u16_t ip_reass_pbufcount; 132 LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer dec %"U16_F"\n",(u16_t)r->timer)); 160 u16_t pbufs_freed = 0; 335 u16_t offset,len; 482 u16_t offset, len; 679 u16_t nfb; 680 u16_t left, cop; 681 u16_t mtu = netif->mtu [all...] |
autoip.c | 227 (u16_t)(netif->autoip->tried_llipaddr), ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr), 270 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num, 311 netif->name[1], (u16_t)netif->num)); 356 autoip->ttw = (u16_t)(LWIP_AUTOIP_RAND(netif) % (PROBE_WAIT * AUTOIP_TICKS_PER_SECOND)); 413 (u16_t)(netif->autoip->state), netif->autoip->ttw)); 434 netif->autoip->ttw = (u16_t)((LWIP_AUTOIP_RAND(netif) %
|
ip.c | 112 static u16_t ip_id; 246 u16_t iphdr_hlen; 247 u16_t iphdr_len; 588 u16_t optlen) 605 u16_t ip_hlen = IP_HLEN; 607 u16_t optlen_aligned = 0; 629 chk_sum += ((u16_t*)p->payload)[i];
|
/external/syslinux/core/lwip/src/include/arch/ |
cc.h | 15 typedef uint16_t u16_t; typedef
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
autoip.h | 86 u16_t ttw; /* ticks to wait, tick is AUTOIP_TMR_INTERVAL long */
|
igmp.h | 84 u16_t timer;
|
ip_addr.h | 76 PACK_STRUCT_FIELD(u16_t addrw[2]); 156 * this to copying 2 u16_t's) - no NULL-pointer-checking needed. */ 224 /* These are cast to u16_t, with the intent that they are often arguments 226 #define ip4_addr1_16(ipaddr) ((u16_t)ip4_addr1(ipaddr)) 227 #define ip4_addr2_16(ipaddr) ((u16_t)ip4_addr2(ipaddr)) 228 #define ip4_addr3_16(ipaddr) ((u16_t)ip4_addr3(ipaddr)) 229 #define ip4_addr4_16(ipaddr) ((u16_t)ip4_addr4(ipaddr))
|
/external/syslinux/core/lwip/src/include/lwip/ |
mem.h | 75 typedef u16_t mem_size_t;
|
api.h | 131 typedef void (* netconn_callback)(struct netconn *, enum netconn_evt, u16_t len); 217 u16_t *port, u8_t local); 221 err_t netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port); 222 err_t netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port); 231 ip_addr_t *addr, u16_t port);
|
memp.h | 79 extern const u16_t memp_sizes[MEMP_MAX];
|
netif.h | 182 u16_t mtu; 223 u16_t loop_cnt_current;
|
/external/syslinux/core/lwip/src/api/ |
netbuf.c | 107 netbuf_alloc(struct netbuf *buf, u16_t size) 150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) 188 * @param len pointer to an u16_t where the length of the data is stored 193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len)
|
sockets.c | 70 u16_t lastoffset; 76 u16_t sendevent; 78 u16_t errevent; 175 static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len); 317 u16_t port; 405 u16_t local_port; 489 u16_t remote_port; 555 u16_t buflen, copylen; 558 u16_t port; 635 copylen = (u16_t)len [all...] |
api_lib.c | 135 netconn_getaddr(struct netconn *conn, ip_addr_t *addr, u16_t *port, u8_t local) 166 netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port) 192 netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port) 345 u16_t len; 540 netconn_sendto(struct netconn *conn, struct netbuf *buf, ip_addr_t *addr, u16_t port)
|
/external/syslinux/core/lwip/src/netif/ppp/ |
ppp_oe.c | 287 u16_t tag, len; 288 u16_t session, plen; 293 u16_t ac_cookie_len; 341 pb->tot_len = pb->len = (u16_t)off + plen; /* ignore trailing garbage */ 395 u16_t error_len = LWIP_MIN(len, sizeof(pppoe_error_tmp)-1); 537 (u16_t)ph->code, session); 539 printf("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph->code, session); 563 u16_t session, plen; 640 u16_t etype; 697 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM) [all...] |
/external/syslinux/core/lwip/src/netif/ |
slipif.c | 77 u16_t i, recved; 95 u16_t i; 301 LWIP_DEBUGF(SLIP_DEBUG, ("slipif_init: netif->num=%"U16_F"\n", (u16_t)netif->num));
|