/third_party/lwip/src/include/lwip/apps/ |
H A D | sntp.h | 51 void sntp_setoperatingmode(u8_t operating_mode); 52 u8_t sntp_getoperatingmode(void); 56 u8_t sntp_enabled(void); 58 void sntp_setserver(u8_t idx, const ip_addr_t *addr); 59 const ip_addr_t* sntp_getserver(u8_t idx); 62 u8_t sntp_getreachability(u8_t idx); 66 void sntp_setservername(u8_t idx, const char *server); 67 const char *sntp_getservername(u8_t idx);
|
H A D | mqtt.h | 83 u8_t will_qos; 85 u8_t will_retain; 149 typedef void (*mqtt_incoming_data_cb_t)(void *arg, const u8_t *data, u16_t len, u8_t flags); 184 u8_t mqtt_client_is_connected(mqtt_client_t *client); 189 err_t mqtt_sub_unsub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_cb_t cb, void *arg, u8_t sub); 198 err_t mqtt_publish(mqtt_client_t *client, const char *topic, const void *payload, u16_t payload_length, u8_t qos, u8_t retain,
|
H A D | snmp_mib2.h | 63 void snmp_mib2_set_sysdescr(const u8_t* str, const u16_t* len); /* read-only be defintion */ 64 void snmp_mib2_set_syscontact(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize); 65 void snmp_mib2_set_syscontact_readonly(const u8_t *ocstr, const u16_t *ocstrlen); 66 void snmp_mib2_set_sysname(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize); 67 void snmp_mib2_set_sysname_readonly(const u8_t *ocstr, const u16_t *ocstrlen); 68 void snmp_mib2_set_syslocation(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize); 69 void snmp_mib2_set_syslocation_readonly(const u8_t *ocstr, const u16_t *ocstrlen);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | tcp.h | 265 typedef void (*tcp_extarg_callback_pcb_destroyed_fn)(u8_t id, void *data); 274 typedef err_t (*tcp_extarg_callback_passive_open_fn)(u8_t id, struct tcp_pcb_listen *lpcb, struct tcp_pcb *cpcb); 305 u8_t prio; \ 342 u8_t backlog; 343 u8_t accepts_pending; 411 u8_t drv_status; /* 0 - Driver not ready. 1- Driver is ready */ 412 u8_t pad0; 418 u8_t polltmr, pollinterval; 419 u8_t last_timer; 443 u8_t nrt [all...] |
H A D | pbuf.h | 271 /** Indicates pbuf_type as u8_t instead of enum to save space. */ 275 u8_t if_idx; 278 u8_t pkt_up; 279 u8_t pkt_flags; 282 u8_t na_proxy; 287 u8_t mac_address[NETIF_MAX_HWADDR_LEN]; 289 u8_t pkt_lqi; 301 u8_t pad[2]; 303 u8_t pad[1]; 306 u8_t pa [all...] |
H A D | dhcp6.h | 23 u8_t *duid_id; /* variable length ID value (must be opaque) */ 68 u8_t *opt_start; 78 u8_t *buff; 81 u8_t pref; /* server preference */ 93 u8_t state; 95 u8_t tries; 97 u8_t request_config_pending; 101 u8_t struct_init; /* indicate whether memory that should be alloced is initialized */ 127 void dhcp6_nd6_ra_trigger(struct netif *netif, u8_t managed_addr_config, u8_t other_confi [all...] |
H A D | ethtool.h | 68 u8_t duplex; /**< Duplex mode; one of %DUPLEX_* */ 69 u8_t port; /**< Physical connector type; one of %PORT_* */ 70 u8_t phy_address; /**< MDIO address of PHY (transceiver); 0 or 255 if not applicable. */ 71 u8_t transceiver; /**< Historically used to distinguish different possible PHY types, but not in a consistent 73 u8_t autoneg; /**< Enable/disable autonegotiation and auto-detection; either %AUTONEG_DISABLE or 75 u8_t mdio_support; /**< Bitmask of %ETH_MDIO_SUPPORTS_* flags for the MDIO protocols supported by the interface; 80 u8_t eth_tp_mdix; /**< Ethernet twisted-pair MDI(-X) status; one of %ETH_TP_MDI_*. If the status is unknown or 82 u8_t eth_tp_mdix_ctrl; /**< Ethernet twisted pair MDI(-X) control; one of %ETH_TP_MDI_*. If MDI(-X) control is not
|
H A D | sntp.h | 50 void sntp_setoperatingmode(u8_t operating_mode); 51 u8_t sntp_getoperatingmode(void); 55 u8_t sntp_enabled(void); 57 void sntp_setserver(u8_t idx, const ip_addr_t *addr); 58 const ip_addr_t *sntp_getserver(u8_t idx); 61 void sntp_setservername(u8_t idx, char *server); 62 char *sntp_getservername(u8_t idx);
|
H A D | dns.h | 142 void dns_setserver(u8_t numdns, const ip_addr_t *dnsserver); 143 const ip_addr_t *dns_getserver(u8_t numdns); 150 u8_t dns_addrtype); 156 err_t dns_local_lookup(const char *hostname, ip_addr_t *addr, u8_t dns_addrtype); 199 err_t lwip_dns_setserver(u8_t numdns, ip_addr_t *dnsserver); 229 err_t lwip_dns_getserver(u8_t numdns, ip_addr_t *dnsserver); 233 u8_t lwip_dns_get_server_cnt(u8_t *ip4cnt, u8_t *ip6cnt); 234 err_t lwip_dns_copy_ip6server_addr(const struct netif *nif, ip6_addr_t *ipaddr, u8_t nu [all...] |
H A D | mld6.h | 67 u8_t last_reporter_flag; 69 u8_t group_state; 73 u8_t use; 130 u8_t state; 131 u8_t query_count; 144 u8_t querier_state; 145 u8_t query_count; // when startup, need to send [Startup Query Count] times of General Query 148 u8_t listener_num;
|
/third_party/lwip/src/include/netif/ppp/ |
H A D | pppol2tp.h | 170 u8_t phase; /* L2TP phase */ 176 const u8_t *secret; /* Secret string */ 177 u8_t secret_len; /* Secret string length */ 178 u8_t secret_rv[16]; /* Random vector */ 179 u8_t challenge_hash[16]; /* Challenge response */ 180 u8_t send_challenge; /* Boolean whether the next sent packet should contains a challenge response */ 192 u8_t sccrq_retried; /* number of SCCRQ retries already done */ 193 u8_t icrq_retried; /* number of ICRQ retries already done */ 194 u8_t iccn_retried; /* number of ICCN retries already done */ 201 const u8_t *secre [all...] |
H A D | fsm.h | 82 u8_t seen_ack; /* Have received valid Ack/Nak/Rej to Req */ 85 u8_t state; /* State */ 86 u8_t flags; /* Contains option bits */ 87 u8_t id; /* Current id */ 88 u8_t reqid; /* Current request id */ 89 u8_t retransmits; /* Number of retransmissions left */ 90 u8_t nakloops; /* Number of nak loops since last ack */ 91 u8_t rnakloops; /* Number of naks received */ 92 u8_t maxnakloops; /* Maximum number of nak loops tolerated 94 u8_t term_reason_le [all...] |
H A D | pppoe.h | 88 PACK_STRUCT_FLD_8(u8_t vertype); 89 PACK_STRUCT_FLD_8(u8_t code); 150 u8_t sc_state; /* discovery phase or session connected */ 156 u8_t sc_ac_cookie[PPPOE_MAX_AC_COOKIE_LEN]; /* content of AC cookie we must echo back */ 157 u8_t sc_ac_cookie_len; /* length of cookie data */ 159 u8_t *sc_hunique; /* content of host unique we must echo back */ 160 u8_t sc_hunique_len; /* length of host unique */ 162 u8_t sc_padi_retried; /* number of PADI retries already done */ 163 u8_t sc_padr_retried; /* number of PADR retries already done */
|
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_snmpv2_usm.c | 35 u8_t i; in snmp_engineid_to_oid() 44 u8_t i; in snmp_oid_to_name() 53 u8_t i; in snmp_name_to_oid() 84 static snmp_err_t usmusertable_get_instance(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, struct snmp_node_instance *cell_instance) in usmusertable_get_instance() 87 u8_t eid_len; in usmusertable_get_instance() 91 u8_t name_len; in usmusertable_get_instance() 92 u8_t engineid_len; in usmusertable_get_instance() 94 u8_t name_start; in usmusertable_get_instance() 95 u8_t engineid_start; in usmusertable_get_instance() 101 engineid_len = (u8_t)row_oi in usmusertable_get_instance() [all...] |
H A D | snmp_core_priv.h | 69 const struct snmp_node *snmp_mib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t *oid_instance_len); 70 const struct snmp_node *snmp_mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_id *oidret); 72 typedef u8_t (*snmp_validate_node_instance_method)(struct snmp_node_instance *, void *); 74 u8_t snmp_get_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance *node_instance); 75 u8_t snmp_get_next_node_instance_from_oid(const u32_t *oid, u8_t oid_len, snmp_validate_node_instance_method validate_node_instance_method, void *validate_node_instance_arg, struct snmp_obj_id *node_oid, struct snmp_node_instance *node_instance);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/ |
H A D | api_msg.h | 88 extern u8_t netconn_reset; 123 u8_t proto; 131 u8_t netifindex; 138 u8_t local; 144 u8_t apiflags; 156 u8_t shut; 160 u8_t polls_left; 169 u8_t if_idx; 175 u8_t backlog; 207 u8_t dns_addrtyp [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | tcp.h | 173 typedef void (*tcp_extarg_callback_pcb_destroyed_fn)(u8_t id, void *data); 182 typedef err_t (*tcp_extarg_callback_passive_open_fn)(u8_t id, struct tcp_pcb_listen *lpcb, struct tcp_pcb *cpcb); 217 u8_t prio; \ 235 u8_t backlog; 236 u8_t accepts_pending; 278 u8_t polltmr, pollinterval; 279 u8_t last_timer; 305 u8_t nrtx; /* number of retransmissions */ 308 u8_t dupacks; 376 u8_t persist_cn [all...] |
H A D | raw.h | 71 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 81 u8_t protocol; 82 u8_t flags; 86 u8_t mcast_ifindex; 88 u8_t mcast_ttl; 98 u8_t chksum_reqd; 108 struct raw_pcb * raw_new (u8_t proto); 109 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto); 125 #define raw_set_flags(pcb, set_flags) do { (pcb)->flags = (u8_t)((pc [all...] |
H A D | netif.h | 231 u8_t netif_alloc_client_data_id(void); 247 typedef u8_t netif_addr_idx_t; 280 u8_t ip6_addr_state[LWIP_IPV6_NUM_ADDRESSES]; 344 u8_t hwaddr[NETIF_MAX_HWADDR_LEN]; 346 u8_t hwaddr_len; 348 u8_t flags; 353 u8_t num; 356 u8_t ip6_autoconfig_enabled; 360 u8_t rs_count; 364 u8_t link_typ [all...] |
H A D | dhcp6.h | 62 u8_t pcb_allocated; 64 u8_t state; 66 u8_t tries; 68 u8_t request_config_pending; 87 void dhcp6_nd6_ra_trigger(struct netif *netif, u8_t managed_addr_config, u8_t other_config); 93 extern void dhcp6_set_ntp_servers(u8_t num_ntp_servers, const ip_addr_t* ntp_server_addrs);
|
/third_party/lwip/src/include/lwip/priv/ |
H A D | api_msg.h | 91 u8_t proto; 97 u8_t if_idx; 103 u8_t local; 117 u8_t apiflags; 129 u8_t shut; 133 u8_t polls_left; 142 u8_t if_idx; 148 u8_t backlog; 180 u8_t dns_addrtype; 192 u8_t poll_tcp_neede [all...] |
/third_party/lwip/test/unit/core/ |
H A D | test_pbuf.c | 34 static u8_t testbuf_1[TESTBUFSIZE_1]; 35 static u8_t testbuf_1a[TESTBUFSIZE_1]; 36 static u8_t testbuf_2[TESTBUFSIZE_2]; 37 static u8_t testbuf_2a[TESTBUFSIZE_2]; 38 static u8_t testbuf_3[TESTBUFSIZE_3]; 39 static u8_t testbuf_3a[TESTBUFSIZE_3]; 129 testbuf_1[i] = (u8_t)rand(); in START_TEST() 132 testbuf_2[i] = (u8_t)rand(); in START_TEST() 135 testbuf_3[i] = (u8_t)rand(); in START_TEST() 181 u8_t *ou in START_TEST() [all...] |
/third_party/lwip/src/core/ |
H A D | pbuf.c | 113 volatile u8_t pbuf_free_ooseq_pending; 162 u8_t queued; in pbuf_pool_is_empty() 179 pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len, pbuf_type type, u8_t flags) in pbuf_init_alloced_pbuf() 185 p->type_internal = (u8_t)type; in pbuf_init_alloced_pbuf() 254 pbuf_init_alloced_pbuf(q, LWIP_MEM_ALIGN((void *)((u8_t *)q + SIZEOF_STRUCT_PBUF + offset)), in pbuf_alloc() 288 pbuf_init_alloced_pbuf(p, LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)), in pbuf_alloc() 376 payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); in pbuf_alloced_custom() 444 q = (struct pbuf *)mem_trim(q, (mem_size_t)(((u8_t *)q->payload - (u8_t *)q) + rem_len)); in pbuf_realloc() 472 static u8_t [all...] |
/third_party/lwip/src/apps/sntp/ |
H A D | sntp.c | 203 PACK_STRUCT_FLD_8(u8_t li_vn_mode); 204 PACK_STRUCT_FLD_8(u8_t stratum); 205 PACK_STRUCT_FLD_8(u8_t poll); 206 PACK_STRUCT_FLD_8(u8_t precision); 224 static u8_t sntp_opmode; 236 u8_t reachability; 242 static u8_t sntp_set_servers_from_dhcp; 246 static u8_t sntp_current_server; 405 u8_t old_server, i; in sntp_try_next_server() 442 u8_t mod in sntp_recv() [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | ip4_addr.c | 57 u8_t 92 u8_t 148 u8_t base; in ip4addr_aton() 290 u8_t *ap; in ip4addr_ntoa_r() 291 u8_t rem; in ip4addr_ntoa_r() 292 u8_t n; in ip4addr_ntoa_r() 293 u8_t i; in ip4addr_ntoa_r() 299 ap = (u8_t *)&s_addr; in ip4addr_ntoa_r() 303 rem = *ap % (u8_t)10; in ip4addr_ntoa_r() 304 *ap /= (u8_t)1 in ip4addr_ntoa_r() [all...] |