Home
last modified time | relevance | path

Searched refs:u8_t (Results 51 - 75 of 225) sorted by relevance

123456789

/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_table.h54 u8_t asn1_type;
65 snmp_err_t (*get_cell_instance)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, struct snmp_node_instance* cell_instance);
75 snmp_err_t snmp_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
76 snmp_err_t snmp_table_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
100 u8_t asn1_type;
111 snmp_err_t (*get_cell_value)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, union snmp_variant_value* value, u32_t* value_len);
115 snmp_err_t snmp_table_simple_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
116 snmp_err_t snmp_table_simple_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
H A Dsnmp_scalar.h55 u8_t asn1_type;
63 snmp_err_t snmp_scalar_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
64 snmp_err_t snmp_scalar_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
78 u8_t asn1_type;
98 snmp_err_t snmp_scalar_array_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
99 snmp_err_t snmp_scalar_array_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 Ddhcp.h107 u8_t pcb_allocated;
109 u8_t state;
111 u8_t tries;
113 u8_t autoip_coop_state;
115 u8_t subnet_mask_given;
139 u8_t rx_options_given[DHCP_OPTION_IDX_MAX];
157 u8_t dhcp_supplied_address(const struct netif *netif);
172 extern void dhcp_set_ntp_servers(u8_t num_ntp_servers, const ip4_addr_t* ntp_server_addrs);
H A Dip.h91 u8_t netif_idx; \
93 u8_t so_options; \
95 u8_t tos; \
97 u8_t ttl \
107 u8_t netif_idx; \
109 u8_t so_options; \
111 u8_t tos; \
113 u8_t ttl \
195 (const u8_t*)ip6_current_header() : (const u8_t*)ip4_current_heade
[all...]
H A Dinet_chksum.h81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
83 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto,
88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
/third_party/lwip/src/include/lwip/prot/
H A Dip4.h75 PACK_STRUCT_FLD_8(u8_t _v_hl);
77 PACK_STRUCT_FLD_8(u8_t _tos);
91 PACK_STRUCT_FLD_8(u8_t _ttl);
93 PACK_STRUCT_FLD_8(u8_t _proto);
108 #define IPH_HL_BYTES(hdr) ((u8_t)(IPH_HL(hdr) * 4))
119 #define IPH_VHL_SET(hdr, v, hl) (hdr)->_v_hl = (u8_t)((((v) << 4) | (hl)))
124 #define IPH_TTL_SET(hdr, ttl) (hdr)->_ttl = (u8_t)(ttl)
125 #define IPH_PROTO_SET(hdr, proto) (hdr)->_proto = (u8_t)(proto)
H A Dicmp6.h139 PACK_STRUCT_FLD_8(u8_t type);
140 PACK_STRUCT_FLD_8(u8_t code);
157 PACK_STRUCT_FLD_8(u8_t type);
158 PACK_STRUCT_FLD_8(u8_t code);
/third_party/lwip/src/netif/
H A Dlowpan6.c84 u8_t timer;
103 u8_t tx_frame_seq_num;
154 static u8_t
158 u8_t ieee_header_len; in lowpan6_write_iee802154_header()
159 u8_t *buffer; in lowpan6_write_iee802154_header()
160 u8_t i; in lowpan6_write_iee802154_header()
184 buffer = (u8_t *)hdr; in lowpan6_write_iee802154_header()
214 u8_t *puc; in lowpan6_parse_iee802154_header()
220 puc = (u8_t *)p->payload; in lowpan6_parse_iee802154_header()
291 u8_t in lowpan6_calc_crc()
[all...]
H A Dzepif.c71 PACK_STRUCT_FLD_8(u8_t prot_id[2]);
72 PACK_STRUCT_FLD_8(u8_t prot_version);
73 PACK_STRUCT_FLD_8(u8_t type);
74 PACK_STRUCT_FLD_8(u8_t channel_id);
76 PACK_STRUCT_FLD_8(u8_t crc_mode);
77 PACK_STRUCT_FLD_8(u8_t unknown_1);
80 PACK_STRUCT_FLD_8(u8_t unknown_2[10]);
81 PACK_STRUCT_FLD_8(u8_t len);
94 static u8_t zep_lowpan_timer_running;
202 zep->len = (u8_t) in zepif_linkoutput()
[all...]
/third_party/lwip/src/netif/ppp/
H A Dvj.c50 u8_t i; in vj_compress_init()
78 cp[1] = (u8_t)(n); \
79 cp[0] = (u8_t)((n) >> 8); \
82 *cp++ = (u8_t)(n); \
88 cp[1] = (u8_t)(n); \
89 cp[0] = (u8_t)((n) >> 8); \
92 *cp++ = (u8_t)(n); \
159 u8_t
172 u8_t new_seq[16]; in vj_compress_tcp()
173 u8_t *c in vj_compress_tcp()
[all...]
H A Dmppe.c64 u8_t sha1_digest[SHA1_SIGNATURE_SIZE]; in mppe_rekey()
100 void mppe_set_key(ppp_pcb *pcb, ppp_mppe_state *state, u8_t *key) { in mppe_set_key()
109 mppe_init(ppp_pcb *pcb, ppp_mppe_state *state, u8_t options) in mppe_init()
112 const u8_t *debugstr = (const u8_t*)"mppe_comp_init"; in mppe_init()
114 debugstr = (const u8_t*)"mppe_decomp_init"; in mppe_init()
196 u8_t *pl; in mppe_compress()
221 pl = (u8_t*)np->payload; in mppe_compress()
253 lwip_arc4_crypt(&state->arc4, (u8_t*)n->payload, n->len); in mppe_compress()
282 u8_t *p in mppe_decompress()
[all...]
/third_party/lwip/src/core/ipv6/
H A Dicmp6.c66 static void icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type);
67 static void icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data,
68 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr);
69 static void icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data,
70 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr, struct netif *netif);
294 u32_t pointer_u32 = (u32_t)((const u8_t *)pointer - (const u8_t *)ip6_current_header()); in icmp6_param_problem()
309 icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t typ
[all...]
H A Dethip6.c82 const u8_t *hwaddr; in ethip6_output()
95 dest.addr[2] = ((const u8_t *)(&(ip6addr->addr[3])))[0]; in ethip6_output()
96 dest.addr[3] = ((const u8_t *)(&(ip6addr->addr[3])))[1]; in ethip6_output()
97 dest.addr[4] = ((const u8_t *)(&(ip6addr->addr[3])))[2]; in ethip6_output()
98 dest.addr[5] = ((const u8_t *)(&(ip6addr->addr[3])))[3]; in ethip6_output()
H A Dip6_frag.c188 if (pbuf_header_force(p, (s16_t)((u8_t*)p->payload - (u8_t*)ipr->iphdr))) { in ip6_reass_free_complete_datagram()
300 u8_t valid = 1; in ip6_reass()
319 hdrdiff = (u8_t*)p->payload - (const u8_t*)ip6_current_header(); in ip6_reass()
433 u8_t hdrerr = pbuf_header_force(p, IPV6_FRAG_REQROOM); in ip6_reass()
589 u8_t hdrerr = pbuf_remove_header(next_pbuf, IPV6_FRAG_REQROOM); in ip6_reass()
608 u8_t hdrerr; in ip6_reass()
629 MEMMOVE((u8_t*)ipr->iphdr + sizeof(struct ip6_frag_hdr), ipr->iphdr, in ip6_reass()
630 (size_t)((u8_t*) in ip6_reass()
[all...]
H A Ddhcp6.c110 u8_t option_given;
131 static u8_t dhcp6_pcb_refcount;
254 dhcp6_set_state(struct dhcp6 *dhcp6, u8_t new_state, const char *dbg_caller) in dhcp6_set_state()
377 dhcp6_create_msg(struct netif *netif, struct dhcp6 *dhcp6, u8_t message_type, in dhcp6_create_msg()
407 msg_out->transaction_id[0] = (u8_t)(dhcp6->xid >> 16); in dhcp6_create_msg()
408 msg_out->transaction_id[1] = (u8_t)(dhcp6->xid >> 8); in dhcp6_create_msg()
409 msg_out->transaction_id[2] = (u8_t)dhcp6->xid; in dhcp6_create_msg()
415 dhcp6_option_short(u16_t options_out_len, u8_t *options, u16_t value) in dhcp6_option_short()
417 options[options_out_len++] = (u8_t)((value & 0xff00U) >> 8); in dhcp6_option_short()
418 options[options_out_len++] = (u8_t) (valu in dhcp6_option_short()
[all...]
/third_party/lwip/src/include/netif/
H A Dlowpan6_ble.h58 err_t rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_len);
59 err_t rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_len, int is_public_addr);
60 err_t rfc7668_set_peer_addr_eui64(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len);
61 err_t rfc7668_set_peer_addr_mac48(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len, int is_public_addr);
62 err_t rfc7668_set_context(u8_t index, const ip6_addr_t * context);
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Dcoap_client.c77 s32_t CoapNewToken(u16_t msg_id, u8_t *token, u8_t token_len) in CoapNewToken()
84 token[0] = (u8_t)(msg_id); /* 0数据 */ in CoapNewToken()
85 token[1] = (u8_t)(msg_id >> 8); /* 1数据,8数据 */ in CoapNewToken()
86 token[2] = (u8_t)(now_ms); /* 2数据 */ in CoapNewToken()
87 token[3] = (u8_t)(now_ms >> 8); /* 3数据,8数据 */ in CoapNewToken()
98 u8_t temp_token[DHCP_COAP_TOKEN_LEN] = {0}; in CoapClientSendMsg()
/third_party/lwip/src/include/netif/ppp/
H A Dmppe.h138 static const u8_t mppe_sha1_pad1[SHA1_PAD_SIZE] = {
144 static const u8_t mppe_sha1_pad2[SHA1_PAD_SIZE] = {
156 u8_t master_key[MPPE_MAX_KEY_LEN];
157 u8_t session_key[MPPE_MAX_KEY_LEN];
158 u8_t keylen; /* key length in bytes */
162 u8_t bits; /* MPPE control bits */
169 void mppe_set_key(ppp_pcb *pcb, ppp_mppe_state *state, u8_t *key);
170 void mppe_init(ppp_pcb *pcb, ppp_mppe_state *state, u8_t options);
/third_party/lwip/src/apps/mdns/
H A Dmdns.c103 static u8_t mdns_netif_client_id;
189 u8_t probes_sent;
191 u8_t probing_state;
247 u8_t cache_flush;
249 u8_t unicast_reply;
252 u8_t legacy_query;
254 u8_t host_replies;
256 u8_t host_reverse_v6_replies;
258 u8_t serv_replies[MDNS_MAX_SERVICES];
287 static err_t mdns_send_outpacket(struct mdns_outpacket *outpkt, u8_t flag
[all...]
/third_party/lwip/src/apps/snmp/
H A Dsnmp_traps.c99 u8_t enable;
103 static u8_t snmp_auth_traps_enabled = 0;
112 snmp_trap_dst_enable(u8_t dst_idx, u8_t enable) in snmp_trap_dst_enable()
127 snmp_trap_dst_ip_set(u8_t dst_idx, const ip_addr_t *dst) in snmp_trap_dst_ip_set()
140 snmp_set_auth_traps_enabled(u8_t enable) in snmp_set_auth_traps_enabled()
149 u8_t
284 u8_t tot_len_len; in snmp_trap_varbind_sum()
318 u8_t lenlen; in snmp_trap_header_sum()
410 BUILD_EXEC( snmp_asn1_enc_raw(pbuf_stream, (const u8_t *)snmp_community_tra in snmp_trap_header_enc()
[all...]
/third_party/lwip/test/unit/mdns/
H A Dtest_mdns.c41 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', 0x00 }; in START_TEST()
60 static const u8_t data[] = { 0x05, 0x00, 0xFF, 0x08, 0xc0, 0x0f, 0x04, 0x7f, 0x80, 0x82, 0x88, 0x00 }; in START_TEST()
79 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a' }; in START_TEST()
96 static const u8_t data[] = { in START_TEST()
121 static const u8_t data[] = { in START_TEST()
177 static const u8_t data[] = { in START_TEST()
183 static const u8_t fullname[] = { in START_TEST()
205 static const u8_t data[] = { in START_TEST()
212 static const u8_t fullname[] = { in START_TEST()
234 static const u8_t dat in START_TEST()
[all...]
/third_party/lwip/src/apps/mqtt/
H A Dmqtt.c153 mqtt_msg_type_to_str(u8_t msg_type) in mqtt_msg_type_to_str()
184 mqtt_ringbuf_put(struct mqtt_ringbuf_t *rb, u8_t item) in mqtt_ringbuf_put()
194 static u8_t *
237 u8_t wrap = 0; in mqtt_output_send()
290 u8_t n; in mqtt_create_request()
391 mqtt_request_time_elapsed(struct mqtt_request_t **tail, u8_t t) in mqtt_request_time_elapsed()
398 t -= (u8_t)r->timeout_diff; in mqtt_request_time_elapsed()
438 u8_t n; in mqtt_init_requests()
451 mqtt_output_append_u8(struct mqtt_ringbuf_t *rb, u8_t value) in mqtt_output_append_u8()
468 mqtt_ringbuf_put(rb, ((const u8_t *)dat in mqtt_output_append_buf()
[all...]
/third_party/lwip/src/core/ipv4/
H A Ddhcp.c161 u8_t dhcp_rx_options_given[DHCP_OPTION_IDX_MAX];
169 static u8_t dhcp_discover_request_options[] = {
183 static u8_t xid_initialised;
194 static u8_t dhcp_pcb_refcount;
205 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state);
217 static struct pbuf *dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len);
219 static u16_t dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len);
221 static u16_t dhcp_option_byte(u16_t options_out_len, u8_t *option
[all...]
/third_party/lwip/src/core/distributed_net/
H A Ddistributed_net_utils.c69 u8_t num[4] = {0}; in mask_len_to_mask()
73 u8_t byte = 0x80;// binary 1000|0000 in mask_len_to_mask()
74 u8_t bit = 0x80; // binary 1000|0000 in mask_len_to_mask()
91 u8_t is_no_proxy_network_segment(const struct sockaddr_in *addr_in) in is_no_proxy_network_segment()
/third_party/lwip/src/include/lwip/priv/
H A Dnd6_priv.h74 u8_t lladdr[NETIF_MAX_HWADDR_LEN];
83 u8_t state;
84 u8_t isrouter;
109 u8_t flags;

Completed in 23 milliseconds

123456789