/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/ |
H A D | icmp6.h | 149 PACK_STRUCT_FLD_8(u8_t type); 150 PACK_STRUCT_FLD_8(u8_t code); 165 PACK_STRUCT_FLD_8(u8_t type); 166 PACK_STRUCT_FLD_8(u8_t code);
|
/third_party/lwip/src/include/lwip/apps/ |
H A D | smtp.h | 42 typedef void (*smtp_result_fn)(void *arg, u8_t smtp_result, u16_t srv_err, err_t err); 65 u8_t static_data; 80 u8_t user[SMTP_BODYDH_USER_SIZE]; 121 const char* smtp_result_str(u8_t smtp_result);
|
H A D | altcp_proxyconnect.h | 61 struct altcp_pcb *altcp_proxyconnect_new_tcp(struct altcp_proxyconnect_config *config, u8_t ip_type); 63 struct altcp_pcb *altcp_proxyconnect_alloc(void *arg, u8_t ip_type); 71 struct altcp_pcb *altcp_proxyconnect_tls_alloc(void *arg, u8_t ip_type);
|
H A D | mdns_priv.h | 56 u8_t name[MDNS_DOMAIN_MAXLEN]; 60 u8_t skip_compression; 63 err_t mdns_domain_add_label(struct mdns_domain *domain, const char *label, u8_t len);
|
H A D | mqtt_priv.h | 66 u8_t buf[MQTT_OUTPUT_RINGBUF_SIZE]; 81 u8_t conn_state; 95 u8_t rx_buffer[MQTT_VAR_HEADER_BUFFER_LEN];
|
H A D | snmp_threadsync.h | 68 u8_t root_oid_len; 94 snmp_err_t snmp_threadsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 95 snmp_err_t snmp_threadsync_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
|
/third_party/lwip/src/include/lwip/ |
H A D | dns.h | 111 void dns_setserver(u8_t numdns, const ip_addr_t *dnsserver); 112 const ip_addr_t* dns_getserver(u8_t numdns); 117 u8_t dns_addrtype); 122 err_t dns_local_lookup(const char *hostname, ip_addr_t *addr, u8_t dns_addrtype);
|
H A D | altcp.h | 66 typedef struct altcp_pcb* (*altcp_new_fn)(void *arg, u8_t ip_type); 80 u8_t pollinterval; 93 struct altcp_pcb *altcp_new_ip_type(altcp_allocator_t *allocator, u8_t ip_type); 99 void altcp_poll(struct altcp_pcb *conn, altcp_poll_fn poll, u8_t interval); 107 struct altcp_pcb *altcp_listen_with_backlog_and_err(struct altcp_pcb *conn, u8_t backlog, err_t *err); 116 err_t altcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags); 126 void altcp_setprio(struct altcp_pcb *conn, u8_t prio);
|
H A D | mld6.h | 64 u8_t last_reporter_flag; 66 u8_t group_state; 70 u8_t use;
|
/third_party/lwip/src/include/lwip/priv/ |
H A D | sockets_priv.h | 58 #define SELWAIT_T u8_t 86 u8_t fd_used; 88 u8_t fd_free_pending; 114 u8_t optval[LWIP_SETGETSOCKOPT_MAXOPTLEN];
|
/third_party/lwip/src/apps/lwiperf/ |
H A D | lwiperf.c | 67 #error LWIPERF_TCP_MAX_IDLE_SEC must fit into an u8_t 106 u8_t tcp; 108 u8_t server; 121 u8_t poll_count; 122 u8_t next_num; 124 u8_t client_tradeoff_mode; 127 u8_t have_settings_buf; 128 u8_t specific_remote; 135 static const u8_t lwiperf_txbuf_const[1600] = { 283 u8_t apiflag in lwiperf_tcp_client_send_more() [all...] |
/third_party/lwip/src/include/netif/ |
H A D | slipif.h | 78 void slipif_received_byte(struct netif *netif, u8_t data); 79 void slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len);
|
H A D | lowpan6.h | 67 err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context); 68 err_t lowpan6_set_short_addr(u8_t addr_high, u8_t addr_low);
|
/third_party/lwip/test/unit/api/ |
H A D | test_sockets.c | 274 msg->msg_iov[0].iov_base = ((u8_t *)msg->msg_iov[0].iov_base + bytes); in test_sockets_msgapi_update_iovs() 289 u8_t * snd_buf; in test_sockets_msgapi_tcp() 293 u8_t * rcv_buf; in test_sockets_msgapi_tcp() 296 u8_t val; in test_sockets_msgapi_tcp() 345 snd_buf = (u8_t*)mem_malloc(BUF_SZ); in test_sockets_msgapi_tcp() 359 rcv_buf = (u8_t*)mem_calloc(1, BUF_SZ); in test_sockets_msgapi_tcp() 460 fail_unless(*((u8_t*)rmsg->msg_iov[0].iov_base) == 0xDE); in test_sockets_msgapi_udp_send_recv_loop() 461 fail_unless(*((u8_t*)rmsg->msg_iov[1].iov_base) == 0xAD); in test_sockets_msgapi_udp_send_recv_loop() 462 fail_unless(*((u8_t*)rmsg->msg_iov[2].iov_base) == 0xBE); in test_sockets_msgapi_udp_send_recv_loop() 463 fail_unless(*((u8_t*)rms in test_sockets_msgapi_udp_send_recv_loop() [all...] |
/third_party/lwip/test/unit/dhcp/ |
H A D | test_dhcp.c | 11 static const u8_t broadcast[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; 13 static const u8_t magic_cookie[] = { 0x63, 0x82, 0x53, 0x63 }; 15 static u8_t dhcp_offer[] = { 59 static u8_t dhcp_ack[] = { 103 static const u8_t arpreply[] = { 143 static void send_pkt(struct netif *netif, const u8_t *data, size_t len) in send_pkt() 200 static void check_pkt(struct pbuf *p, u32_t pos, const u8_t *mem, u32_t len) in check_pkt() 202 u8_t *data; in check_pkt() 212 data = (u8_t*)p->payload; in check_pkt() 216 static void check_pkt_fuzzy(struct pbuf *p, u32_t startpos, const u8_t *me [all...] |
/third_party/lwip/test/unit/core/ |
H A D | test_mem.c | 116 u8_t *ptr, *ptr_low, *ptr_high; in START_TEST() 122 ptr = (u8_t *)mem_malloc(1); in START_TEST() 144 u8_t *ptr1b, *ptr1, *ptr2, *ptr3; in START_TEST() 150 ptr1 = (u8_t *)mem_malloc(1); in START_TEST() 154 ptr2 = (u8_t *)mem_malloc(1); in START_TEST() 158 ptr3 = (u8_t *)mem_malloc(1); in START_TEST() 193 ptr1b = (u8_t *)mem_malloc(MIN_SIZE * 2); in START_TEST()
|
/third_party/lwip/src/netif/ppp/ |
H A D | pppoe.c | 95 *(PTR)++ = (u8_t)((VAL) / 256); \ 96 *(PTR)++ = (u8_t)((VAL) % 256) 142 static err_t pppoe_send_padt(struct netif *, u_int, const u8_t *); 147 static struct pppoe_softc* pppoe_find_softc_by_hunique(u8_t *token, size_t len, struct netif *rcvif); 254 u8_t *pl; in pppoe_netif_output() 273 pl = (u8_t*)pb->payload; in pppoe_netif_output() 335 static struct pppoe_softc* pppoe_find_softc_by_hunique(u8_t *token, size_t len, struct netif *rcvif) { in pppoe_find_softc_by_hunique() 378 u8_t *ac_cookie; in pppoe_disc_input() 381 u8_t *hunique; in pppoe_disc_input() 436 MEMCPY(&pt, (u8_t*)p in pppoe_disc_input() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/ |
H A D | memp_priv.h | 80 /* Get the first (via: MEMP_POOL_HELPER_START = ((u8_t) 1*MEMP_POOL_A + 0*MEMP_POOL_B + 0*MEMP_POOL_C + 0) */ 81 MEMP_POOL_HELPER_FIRST = ((u8_t) 89 MEMP_POOL_HELPER_END = ((u8_t) 0 + MEMP_POOL_A*0 + MEMP_POOL_B*0 + MEMP_POOL_C*1) */ 90 MEMP_POOL_HELPER_LAST = ((u8_t) 124 u8_t *base; 149 void memp_init_pool(const char *szdesc, u32_t num, u16_t size, u8_t type);
|
/third_party/lwip/src/core/distributed_net/ |
H A D | distributed_net.c | 44 static u8_t g_is_distributed_net_enabled = 0; 50 static u8_t g_is_distributed_net_socket[NUM_SOCKETS] = {0}; 106 u8_t is_distributed_net_enabled(void) in is_distributed_net_enabled() 109 u8_t ret = g_is_distributed_net_enabled; in is_distributed_net_enabled()
|
/third_party/lwip/test/unit/tcp/ |
H A D | tcp_helper.h | 25 u8_t copy_tx_packets; 40 u32_t seqno, u32_t ackno, u8_t headerflags); 42 u32_t seqno_offset, u32_t ackno_offset, u8_t headerflags); 44 u32_t seqno_offset, u32_t ackno_offset, u8_t headerflags, u16_t wnd);
|
/third_party/lwip/src/core/ipv6/ |
H A D | ip6.c | 341 u8_t i, cand_pref, cand_bits; 342 u8_t best_pref = 0; 343 u8_t best_bits = 0; 525 u8_t i; 565 const u8_t *nexth; 664 u8_t i; 808 opt_hdr = (struct ip6_opt_hdr *)((u8_t *)hbh_hdr + opt_offset); 897 opt_hdr = (struct ip6_opt_hdr *)((u8_t *)dest_hdr + opt_offset); 1210 u8_t hl, u8_t t [all...] |
H A D | nd6.c | 87 static u8_t nd6_cached_neighbor_index; 93 static u8_t nd6_tmr_rs_reduction; 124 static void nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags); 125 static void nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags); 126 static void nd6_send_neighbor_cache_probe(struct nd6_neighbor_cache_entry *entry, u8_t flags); 191 u8_t addr_state; in nd6_process_autoconfig_prefix() 289 u8_t msg_type; in nd6_input() 295 msg_type = *((u8_t *)p->payload); in nd6_input() 360 lladdr_opt = (struct lladdr_option *)((u8_t*)p->payload + sizeof(struct na_header)); in nd6_input() 402 lladdr_opt = (struct lladdr_option *)((u8_t*) in nd6_input() [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | ip4.c | 623 const struct udp_hdr *udphdr = (const struct udp_hdr *)((const u8_t *)iphdr + iphdr_hlen); 829 u8_t ttl, u8_t tos, 830 u8_t proto, struct netif *netif) 844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 869 u8_t ttl, u8_t tos, 870 u8_t prot [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_msg.c | 79 static u8_t v1_enabled = 1; 80 static u8_t v2c_enabled = 1; 81 static u8_t v3_enabled = 1; 83 static u8_t 84 snmp_version_enabled(u8_t version) in snmp_version_enabled() 102 u8_t 108 u8_t 114 u8_t 121 snmp_version_enable(u8_t version, u8_t enabl [all...] |
/third_party/lwip/src/api/ |
H A D | api_lib.c | 106 static err_t netconn_close_shutdown(struct netconn *conn, u8_t how); 149 netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, netconn_callback callback) in netconn_new_with_proto_and_callback() 269 netconn_getaddr(struct netconn *conn, ip_addr_t *addr, u16_t *port, u8_t local) in netconn_getaddr() 351 netconn_bind_if(struct netconn *conn, u8_t if_idx) in netconn_bind_if() 434 netconn_listen_with_backlog(struct netconn *conn, u8_t backlog) in netconn_listen_with_backlog() 579 netconn_recv_data(struct netconn *conn, void **new_buf, u8_t apiflags) in netconn_recv_data() 703 netconn_recv_data_tcp(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) in netconn_recv_data_tcp() 803 netconn_recv_tcp_pbuf_flags(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) in netconn_recv_tcp_pbuf_flags() 842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags) in netconn_recv_udp_raw_netbuf_flags() 975 u8_t apiflag in netconn_write_partly() [all...] |