/reactos/drivers/network/tcpip/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); 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 code); 140 PACK_STRUCT_FLD_8(u8_t type); [all …]
|
H A D | ip6.h | 88 PACK_STRUCT_FLD_8(u8_t _nexth); 90 PACK_STRUCT_FLD_8(u8_t _hoplim); 126 PACK_STRUCT_FLD_8(u8_t _opt_type); 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 _hlen); 188 PACK_STRUCT_FLD_8(u8_t _nexth); 190 PACK_STRUCT_FLD_8(u8_t _hlen); 215 PACK_STRUCT_FLD_8(u8_t _nexth); [all …]
|
/reactos/drivers/network/tcpip/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; 255 u8_t base_oid_len; 269 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, … 281 u8_t start_oid_len; 284 u8_t next_oid_len; 301 u8_t snmp_oid_equal(const u32_t *oid1, u8_t oid1_len, const u32_t *oid2, u8_t oid2_len); 316 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip); [all …]
|
H A D | mdns_priv.h | 87 u8_t qtype; 135 u8_t flags; 140 u8_t cache_flush; 145 u8_t legacy_query; 148 u8_t probe_query_recv; 150 u8_t host_questions; 154 u8_t host_replies; 170 u8_t multicast_timeout; 207 u8_t sent_num; 223 u8_t index; [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 …nst char* username, snmpv3_auth_algo_t *auth_algo, u8_t *auth_key, snmpv3_priv_algo_t *priv_algo, … 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 */ 102 const u8_t *password, /* IN */ 104 const u8_t *engineID, /* IN - pointer to snmpEngineID */ [all …]
|
H A D | snmp.h | 65 u8_t type; 82 void snmp_trap_dst_enable(u8_t dst_idx, u8_t enable); 112 u8_t snmp_get_default_trap_version(void); 116 void snmp_set_auth_traps_enabled(u8_t enable); 117 u8_t snmp_get_auth_traps_enabled(void); 119 u8_t snmp_v1_enabled(void); 120 u8_t snmp_v2c_enabled(void); 121 u8_t snmp_v3_enabled(void); 122 void snmp_v1_enable(u8_t enable); 123 void snmp_v2c_enable(u8_t enable); [all …]
|
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); 60 u8_t sntp_getkodreceived(u8_t idx); 63 u8_t sntp_getreachability(u8_t idx); 67 void sntp_setservername(u8_t idx, const char *server); 68 const char *sntp_getservername(u8_t idx);
|
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/ |
H A D | snmp_msg.h | 88 u8_t version; 94 u8_t request_type; 107 u8_t request_out_type; 112 u8_t msg_flags; 119 u8_t msg_user_name_len; 123 u8_t msg_privacy_parameters_len; 125 u8_t context_engine_id_len; 127 u8_t context_name_len; 158 u8_t vb_len_len; 160 u8_t oid_len_len; [all …]
|
H A D | snmp_core.c | 288 u8_t 324 u8_t 389 u8_t 407 u8_t 442 u8_t 518 u8_t 666 u8_t 677 u8_t 773 u8_t 813 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() 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_local[16]; in snmpv3_crypt() 208 u8_t in_byte; in snmpv3_crypt() 209 u8_t out_byte; in snmpv3_crypt() 248 u8_t i; in snmpv3_password_to_key_md5() [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() 222 u8_t shift, tail; in snmp_asn1_enc_oid() 229 u8_t code; in snmp_asn1_enc_oid() 231 code = (u8_t)(sub_id >> shift); in snmp_asn1_enc_oid() 358 u8_t data; in snmp_asn1_dec_tlv() 377 u8_t length_bytes = data - 0x80; in snmp_asn1_dec_tlv() 423 u8_t data; in snmp_asn1_dec_u32t() 461 u8_t data; in snmp_asn1_dec_s32t() 501 u8_t data; in snmp_asn1_dec_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; 66 static const u8_t *syscontact = syscontact_default; 73 static const u8_t sysname_default[] = SNMP_LWIP_MIB2_SYSNAME; 74 static const u8_t *sysname = sysname_default; 82 static const u8_t *syslocation = syslocation_default; 96 snmp_mib2_set_sysdescr(const u8_t *str, const u16_t *len) in snmp_mib2_set_sysdescr() 118 snmp_mib2_set_syscontact(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) in snmp_mib2_set_syscontact() 160 snmp_mib2_set_sysname(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) in snmp_mib2_set_sysname() 232 const u8_t *var = NULL; in system_get_value() [all …]
|
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() 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() 173 u8_t eid_len; in usmusertable_get_next_instance() 177 u8_t name_len; in usmusertable_get_next_instance() 180 u8_t name_start; in usmusertable_get_next_instance() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/ |
H A D | ip4.h | 73 u8_t ttl, u8_t tos, u8_t proto); 75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 80 u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint); 84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
H A D | ip6.h | 64 u8_t hl, u8_t tc, u8_t nexth); 66 u8_t hl, u8_t tc, u8_t nexth, struct netif *netif); 68 u8_t hl, u8_t tc, u8_t nexth, struct netif *netif); 71 u8_t hl, u8_t tc, u8_t nexth, struct netif_hint *netif_hint); 74 err_t ip6_options_add_hbh_ra(struct pbuf * p, u8_t nexth, u8_t value);
|
H A D | altcp_tls.h | 73 struct altcp_tls_config *altcp_tls_create_config_server(u8_t cert_count); 79 const u8_t *privkey, size_t privkey_len, 80 const u8_t *privkey_pass, size_t privkey_pass_len, 81 const u8_t *cert, size_t cert_len); 89 const u8_t *privkey_pass, size_t privkey_pass_len, 90 const u8_t *cert, size_t cert_len); 100 …_tls_config *altcp_tls_create_config_client_2wayauth(const u8_t *ca, size_t ca_len, const u8_t *pr… 101 const u8_t *privkey_pass, size_t privkey_pass_len, 102 const u8_t *cert, size_t cert_len); 137 struct altcp_pcb *altcp_tls_new(struct altcp_tls_config *config, u8_t ip_type); [all …]
|
H A D | tcp.h | 217 u8_t prio; \ 235 u8_t backlog; 236 u8_t accepts_pending; 279 u8_t last_timer; 308 u8_t dupacks; 376 u8_t persist_cnt; 378 u8_t persist_backoff; 380 u8_t persist_probe; 383 u8_t keep_cnt_sent; 386 u8_t snd_scale; [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; 104 struct raw_pcb * raw_new (u8_t proto); 105 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto); 121 #define raw_set_flags(pcb, set_flags) do { (pcb)->flags = (u8_t)((pcb)->flags | (set_… 122 #define raw_clear_flags(pcb, clr_flags) do { (pcb)->flags = (u8_t)((pcb)->flags & (u8_t)…
|
H A D | netif.h | 255 u8_t addr_hint; 352 u8_t hwaddr_len; 354 u8_t flags; 359 u8_t num; 366 u8_t rs_count; 370 u8_t link_type; 403 u8_t reschedule_poll; 479 #define netif_is_up(netif) (((netif)->flags & NETIF_FLAG_UP) ? (u8_t)1 : (u8_t)0) 624 u8_t state; 630 u8_t state; [all …]
|
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/ |
H A D | ppp.h | 262 u8_t pap_max_transmits; /* Number of auth-reqs sent */ 271 u8_t chap_max_transmits; /* max # times to send challenge */ 278 u8_t eap_allow_req; /* Max Requests allowed */ 281 u8_t eap_max_transmits; /* Max Requests allowed */ 287 u8_t fsm_timeout_time; /* Timeout time in seconds */ 326 u8_t phase; /* where the link is at */ 385 u8_t lcp_echo_number; /* ID number of next echo frame */ 401 u8_t ccp_receive_method; /* Method chosen on receive path */ 521 void ppp_set_mppe(ppp_pcb *pcb, u8_t flags); 642 err_t ppp_close(ppp_pcb *pcb, u8_t nocarrier); [all …]
|
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 r… 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 *secret, u8_t secret_len,
|
/reactos/drivers/network/tcpip/lwip/src/apps/mdns/ |
H A D | mdns_domain.c | 206 u8_t c; in mdns_readname_loop() 284 u8_t i; in mdns_domain_debug_print() 306 u8_t *ptra, *ptrb; in mdns_domain_eq() 307 u8_t len; in mdns_domain_eq() 349 const u8_t *ptr; in mdns_build_reverse_v4_domain() 389 const u8_t *ptr; in mdns_build_reverse_v6_domain() 540 u8_t target_len; in mdns_compress_domain() 542 u8_t *ptr; in mdns_compress_domain() 553 u8_t domainlen = (u8_t)(domain->length - writelen); in mdns_compress_domain() 554 u8_t labellen; in mdns_compress_domain() [all …]
|
/reactos/drivers/network/tcpip/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() 138 u8_t *m; in mem_overflow_init_raw() 331 u8_t data = *((u8_t *)rmem + i); in mem_free() 355 u8_t used; 384 static u8_t *ram; 571 u8_t last_used; in mem_sanity() 638 if ((u8_t *)mem < ram || (u8_t *)rmem + MIN_SIZE_ALIGNED > (u8_t *)ram_end) { in mem_free() 721 LWIP_ASSERT("mem_trim: legal memory", (u8_t *)rmem >= (u8_t *)ram && in mem_trim() 722 (u8_t *)rmem < (u8_t *)ram_end); in mem_trim() [all …]
|
/reactos/drivers/network/tcpip/lwip/test/unit/dhcp/ |
H A D | test_dhcp.c | 27 static u8_t dhcp_offer[] = { 71 static u8_t dhcp_ack[] = { 217 u8_t *data; in check_pkt() 227 data = (u8_t*)p->payload; in check_pkt() 235 u8_t *data; in check_pkt_fuzzy() 246 data = (u8_t*)p->payload; in check_pkt_fuzzy() 623 u8_t relay_offer[] = { in START_TEST() 668 u8_t relay_ack1[] = { in START_TEST() 712 u8_t relay_ack2[] = { in START_TEST() 756 const u8_t arp_resp[] = { in START_TEST() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/netif/ |
H A D | lowpan6_ble.c | 110 ble_addr_to_eui64(u8_t *dst, const u8_t *src, int public_addr) in ble_addr_to_eui64() 139 eui64_to_ble_addr(u8_t *dst, const u8_t *src) in eui64_to_ble_addr() 234 u8_t *buffer; in rfc7668_compress() 235 u8_t lowpan6_header_len; in rfc7668_compress() 236 u8_t hidden_header_len; in rfc7668_compress() 254 buffer = (u8_t*)p_frag->payload; in rfc7668_compress() 256 err = lowpan6_compress_headers(netif, (u8_t *)p->payload, p->len, buffer, p_frag->len, in rfc7668_compress() 300 rfc7668_set_context(u8_t idx, const ip6_addr_t *context) in rfc7668_set_context() 349 u8_t * puc; in rfc7668_input() 354 puc = (u8_t*)p->payload; in rfc7668_input() [all …]
|