/third_party/lwip/src/include/lwip/prot/ |
H A D | nd6.h | 54 PACK_STRUCT_FLD_8(u8_t type); 55 PACK_STRUCT_FLD_8(u8_t code); 72 PACK_STRUCT_FLD_8(u8_t type); 73 PACK_STRUCT_FLD_8(u8_t code); 75 PACK_STRUCT_FLD_8(u8_t flags); 76 PACK_STRUCT_FLD_8(u8_t reserved[3]); 94 PACK_STRUCT_FLD_8(u8_t type); 95 PACK_STRUCT_FLD_8(u8_t code); 119 PACK_STRUCT_FLD_8(u8_t type); 120 PACK_STRUCT_FLD_8(u8_t cod [all...] |
H A D | ip6.h | 88 PACK_STRUCT_FLD_8(u8_t _nexth); 90 PACK_STRUCT_FLD_8(u8_t _hoplim); 104 #define IP6H_NEXTH_P(hdr) ((u8_t *)(hdr) + 6) 109 #define IP6H_HOPLIM_SET(hdr, hl) (hdr)->_hoplim = (u8_t)(hl) 126 PACK_STRUCT_FLD_8(u8_t _opt_type); 128 PACK_STRUCT_FLD_8(u8_t _opt_dlen); 149 PACK_STRUCT_FLD_8(u8_t _nexth); 151 PACK_STRUCT_FLD_8(u8_t _hlen); 168 PACK_STRUCT_FLD_8(u8_t _nexth); 170 PACK_STRUCT_FLD_8(u8_t _hle [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/ |
H A D | nd6.h | 54 PACK_STRUCT_FLD_8(u8_t type); 55 PACK_STRUCT_FLD_8(u8_t code); 72 PACK_STRUCT_FLD_8(u8_t type); 73 PACK_STRUCT_FLD_8(u8_t code); 75 PACK_STRUCT_FLD_8(u8_t flags); 76 PACK_STRUCT_FLD_8(u8_t reserved[3]); 94 PACK_STRUCT_FLD_8(u8_t type); 95 PACK_STRUCT_FLD_8(u8_t code); 132 PACK_STRUCT_FLD_8(u8_t type); 133 PACK_STRUCT_FLD_8(u8_t cod [all...] |
H A D | ip6.h | 100 PACK_STRUCT_FLD_8(u8_t _nexth); 102 PACK_STRUCT_FLD_8(u8_t _hoplim); 131 PACK_STRUCT_FLD_8(u8_t _opt_type); 133 PACK_STRUCT_FLD_8(u8_t _opt_dlen); 153 PACK_STRUCT_FLD_8(u8_t _nexth); 155 PACK_STRUCT_FLD_8(u8_t _hlen); 157 PACK_STRUCT_FLD_8(u8_t _ra_opt_type); 159 PACK_STRUCT_FLD_8(u8_t _ra_opt_dlen); 163 PACK_STRUCT_FLD_8(u8_t _padn_opt_type); 165 PACK_STRUCT_FLD_8(u8_t _padn_opt_dle [all...] |
/third_party/lwip/src/include/lwip/apps/ |
H A D | snmp_core.h | 130 u8_t len; 136 u8_t len; 172 u8_t node_type; 205 u8_t asn1_type; 247 snmp_err_t (*get_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 248 snmp_err_t (*get_next_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 255 u8_t base_oid_len; 259 #define SNMP_MIB_CREATE(oid_list, root_node) { (oid_list), (u8_t)LWIP_ARRAYSIZE(oid_list), root_node } 269 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_le [all...] |
H A D | snmp.h | 65 u8_t type; 77 void snmp_set_mibs(const struct snmp_mib **mibs, u8_t num_mibs); 82 void snmp_trap_dst_enable(u8_t dst_idx, u8_t enable); 83 void snmp_trap_dst_ip_set(u8_t dst_idx, const ip_addr_t *dst); 106 void snmp_set_auth_traps_enabled(u8_t enable); 107 u8_t snmp_get_auth_traps_enabled(void); 109 u8_t snmp_v1_enabled(void); 110 u8_t snmp_v2c_enabled(void); 111 u8_t snmp_v3_enable [all...] |
H A D | snmpv3.h | 75 void snmpv3_get_engine_id(const char **id, u8_t *len); 76 err_t snmpv3_set_engine_id(const char* id, u8_t len); 84 err_t snmpv3_get_user(const char* username, snmpv3_auth_algo_t *auth_algo, u8_t *auth_key, snmpv3_priv_algo_t *priv_algo, u8_t *priv_key); 85 u8_t snmpv3_get_amount_of_users(void); 87 err_t snmpv3_get_username(char *username, u8_t index); 95 const u8_t *password, /* IN */ 97 const u8_t *engineID, /* IN - pointer to snmpEngineID */ 98 u8_t engineLength, /* IN - length of snmpEngineID */ 99 u8_t *ke [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_msg.h | 88 u8_t version; 90 u8_t community[SNMP_MAX_COMMUNITY_STR_LEN + 1]; 94 u8_t request_type; 107 u8_t request_out_type; 112 u8_t msg_flags; 114 u8_t msg_authoritative_engine_id[SNMP_V3_MAX_ENGINE_ID_LENGTH]; 115 u8_t msg_authoritative_engine_id_len; 118 u8_t msg_user_name[SNMP_V3_MAX_USER_LENGTH]; 119 u8_t msg_user_name_len; 120 u8_t msg_authentication_parameter [all...] |
H A D | snmp_core.c | 197 #error "SNMP_MAX_OBJ_ID_LEN must fit into an u8_t" 212 static u8_t snmp_num_mibs = LWIP_ARRAYSIZE(default_mibs); 216 static u8_t snmp_num_mibs = LWIP_ARRAYSIZE(default_mibs); 219 static u8_t snmp_num_mibs = 0; 236 snmp_set_mibs(const struct snmp_mib **mibs, u8_t num_mibs) in snmp_set_mibs() 285 u8_t 321 u8_t 386 u8_t 389 u8_t idx; in snmp_ip_port_to_oid() 404 u8_t [all...] |
H A D | snmpv3_mbedtls.c | 53 const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out) in snmpv3_auth() 56 u8_t key_len; in snmpv3_auth() 82 u8_t byte; in snmpv3_auth() 109 const u8_t *key, const u8_t *priv_param, const u32_t engine_boots, in snmpv3_crypt() 123 u8_t iv_local[8]; in snmpv3_crypt() 124 u8_t out_bytes[8]; in snmpv3_crypt() 153 u8_t in_bytes[8]; in snmpv3_crypt() 180 u8_t iv_loca in snmpv3_crypt() [all...] |
H A D | snmp_asn1.c | 59 u8_t data; in snmp_ans1_enc_tlv() 60 u8_t length_bytes_required; in snmp_ans1_enc_tlv() 106 data = (u8_t)(tlv->value_len >> 8); in snmp_ans1_enc_tlv() 118 data = (u8_t)(tlv->value_len & 0xFF); in snmp_ans1_enc_tlv() 133 snmp_asn1_enc_raw(struct snmp_pbuf_stream *pbuf_stream, const u8_t *raw, u16_t raw_len) in snmp_asn1_enc_raw() 164 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, (u8_t)(value >> (octets_needed << 3)))); in snmp_asn1_enc_u32t() 168 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, (u8_t)value)); in snmp_asn1_enc_u32t() 188 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, (u8_t)(value >> (octets_needed << 3)))); in snmp_asn1_enc_s32t() 192 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, (u8_t)value)); in snmp_asn1_enc_s32t() 211 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, (u8_t)compressed_byt in snmp_asn1_enc_oid() [all...] |
H A D | snmp_mib2_system.c | 60 static const u8_t sysdescr_default[] = SNMP_LWIP_MIB2_SYSDESC; 61 static const u8_t *sysdescr = sysdescr_default; 65 static const u8_t syscontact_default[] = SNMP_LWIP_MIB2_SYSCONTACT; 66 static const u8_t *syscontact = syscontact_default; 68 static u8_t *syscontact_wr = NULL; /* if writable, points to the same buffer as syscontact (required for correct constness) */ 73 static const u8_t sysname_default[] = SNMP_LWIP_MIB2_SYSNAME; 74 static const u8_t *sysname = sysname_default; 76 static u8_t *sysname_wr = NULL; /* if writable, points to the same buffer as sysname (required for correct constness) */ 81 static const u8_t syslocation_default[] = SNMP_LWIP_MIB2_SYSLOCATION; 82 static const u8_t *syslocatio [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | netif.h | 209 u8_t addr[NETIF_MAX_HWADDR_LEN]; 210 u8_t addrlen; 334 u8_t is_mesh_ap; 341 typedef err_t (*netif_linklayer_event_fn)(struct netif *netif, u8_t evt_type, void *evt_info); 348 u8_t status; 349 u8_t retry_count; 357 u8_t is_mesh_user; 359 u8_t beacon_prio; 360 u8_t lqi; 365 u8_t is_mesh_use [all...] |
H A D | nd6.h | 103 u8_t hwaddr[NETIF_MAX_HWADDR_LEN]; 104 u8_t hwlen; 105 u8_t curstate; 110 void nd6_rs_input(struct pbuf *p, struct netif *inp, u8_t flags); 111 err_t nd6_send_ra(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags); 115 const u8_t **hwaddrp); 122 void nd6_adjust_mld_membership(struct netif *netif, s8_t addr_idx, u8_t new_state); 124 void nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags); 131 err_t nd6_add_neighbor_cache_entry(struct netif *netif, const ip6_addr_t *nbr_addr, const u8_t *addr, 132 const u8_t addrle [all...] |
H A D | ip6.h | 78 u16_t hlen, u8_t *need_ip6_input_cleanup); 127 int ip6_common_prefix_length(const ip6_addr_t *addr1, const ip6_addr_t *addr2, u8_t prefix_length); 133 u8_t hl, u8_t tc, u8_t nexth, struct ip_pcb *pcb); 136 u8_t hl, u8_t tc, u8_t nexth, struct netif *netif); 138 u8_t hl, u8_t t [all...] |
H A D | ip4.h | 88 u8_t ttl, u8_t tos, u8_t proto, struct ip_pcb *pcb); 91 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 93 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 96 u8_t tt [all...] |
H A D | raw.h | 78 extern u8_t pkt_raw_pcbs_using_netif(u8_t ifindex); 95 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 102 u8_t hdrincl; 107 u8_t netifindex; 112 u8_t protocol; /* IP protocol for AF_INET sockets */ 116 u8_t protocol; 121 u8_t mcast_ifindex; 123 u8_t mcast_ttl; 138 u8_t chksum_req [all...] |
H A D | nat64.h | 43 u8_t na_tries : 4; 44 u8_t na_to : 4; 50 u8_t state; 51 u8_t dao_sn; 52 u8_t mnid; 163 nat64_entry_t *nat64_entry_add(const u8_t *mac, int maclen); 167 int nat64_request_ipv4_addr(const linklayer_addr_t *lladdr, u8_t dao_sn, u8_t mnid, 169 int nat64_delete_ipv4_addr(linklayer_addr_t *lladdr, u8_t mnid); 170 int nat64_delete_entry_by_mnid(u8_t mni [all...] |
H A D | dhcp.h | 84 u8_t *_p = (u8_t *)(&(_xid)); \ 134 u8_t vci_len; 139 err_t dhcp_set_vci(char *vci, u8_t vci_len); 141 err_t dhcp_get_vci(char *vci, u8_t *vci_len); 193 u8_t xid; 195 u8_t tries; 200 u8_t state: 4; 201 u8_t hwaddr_len: 4; 213 u8_t subnet_mask_give [all...] |
H A D | netifapi.h | 70 u8_t hwaddr[NETIF_MAX_HWADDR_LEN]; 71 u8_t hwlen; 72 u8_t curstate; 85 u8_t authstatus; 132 u8_t *mac; 133 u8_t maclen; 155 u8_t num; 160 u8_t namelen; 170 u8_t index; 177 u8_t *vci_le [all...] |
/third_party/lwip/src/include/netif/ppp/ |
H A D | ppp.h | 261 u8_t pap_timeout_time; /* Timeout (seconds) for auth-req retrans. */ 262 u8_t pap_max_transmits; /* Number of auth-reqs sent */ 264 u8_t pap_req_timeout; /* Time to wait for auth-req from peer */ 269 u8_t chap_timeout_time; /* Timeout (seconds) for retransmitting req */ 270 u8_t chap_max_transmits; /* max # times to send challenge */ 272 u8_t chap_rechallenge_time; /* Time to wait for auth-req from peer */ 277 u8_t eap_req_time; /* Time to wait (for retransmit/fail) */ 278 u8_t eap_allow_req; /* Max Requests allowed */ 280 u8_t eap_timeout_time; /* Time to wait (for retransmit/fail) */ 281 u8_t eap_max_transmit [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | ip4.h | 81 u8_t ttl, u8_t tos, u8_t proto); 83 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 85 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 88 u8_t tt [all...] |
H A D | altcp_tls.h | 72 const u8_t *privkey, size_t privkey_len, 73 const u8_t *privkey_pass, size_t privkey_pass_len, 74 const u8_t *cert, size_t cert_len); 81 struct altcp_tls_config *altcp_tls_create_config_server_privkey_cert(const u8_t *privkey, size_t privkey_len, 82 const u8_t *privkey_pass, size_t privkey_pass_len, 83 const u8_t *cert, size_t cert_len); 88 struct altcp_tls_config *altcp_tls_create_config_client(const u8_t *cert, size_t cert_len); 93 struct altcp_tls_config *altcp_tls_create_config_client_2wayauth(const u8_t *ca, size_t ca_len, const u8_t *privkey, size_t privkey_len, 94 const u8_t *privkey_pas [all...] |
H A D | ip6.h | 68 u8_t hl, u8_t tc, u8_t nexth); 70 u8_t hl, u8_t tc, u8_t nexth, struct netif *netif); 72 u8_t hl, u8_t tc, u8_t nexth, struct netif *netif); 75 u8_t h [all...] |
/third_party/lwip/src/core/ |
H A D | mem.c | 101 u8_t *m; in mem_overflow_check_raw() 104 m = (u8_t *)p + size; in mem_overflow_check_raw() 115 m = (u8_t *)p - MEM_SANITY_REGION_BEFORE_ALIGNED; in mem_overflow_check_raw() 138 u8_t *m; in mem_overflow_init_raw() 140 m = (u8_t *)p - MEM_SANITY_REGION_BEFORE_ALIGNED; in mem_overflow_init_raw() 144 m = (u8_t *)p + size; in mem_overflow_init_raw() 216 ret = (u8_t *)ret + MEM_LIBC_STATSHELPER_SIZE; in mem_malloc() 233 rmem = (u8_t *)rmem - MEM_LIBC_STATSHELPER_SIZE; in mem_free() 286 ret = (u8_t *)element + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper)); in mem_malloc() 295 memset((u8_t *)re in mem_malloc() [all...] |