Home
last modified time | relevance | path

Searched refs:u8_t (Results 76 - 100 of 297) sorted by relevance

12345678910>>...12

/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...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/
H A Ddhcp.h64 PACK_STRUCT_FLD_8(u8_t op);
65 PACK_STRUCT_FLD_8(u8_t htype);
66 PACK_STRUCT_FLD_8(u8_t hlen);
67 PACK_STRUCT_FLD_8(u8_t hops);
75 PACK_STRUCT_FLD_8(u8_t chaddr[DHCP_CHADDR_LEN]);
76 PACK_STRUCT_FLD_8(u8_t sname[DHCP_SNAME_LEN]);
77 PACK_STRUCT_FLD_8(u8_t file[DHCP_FILE_LEN]);
113 PACK_STRUCT_FLD_8(u8_t options[DHCP_OPTIONS_LEN]);
/third_party/lwip/src/apps/snmp/
H A Dsnmp_asn1.h75 u8_t type; /* only U8 because extended types are not specified by SNMP */
76 u8_t type_len; /* encoded length of 'type' field (normally 1) */
77 u8_t length_len; /* indicates how many bytes are required to encode the 'value_len' field */
87 err_t snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *oid, u8_t *oid_len, u8_t oid_max_len);
88 err_t snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t *buf_len, u16_t buf_max_len);
92 void snmp_asn1_enc_length_cnt(u16_t length, u8_t *octets_needed);
99 err_t snmp_asn1_enc_raw(struct snmp_pbuf_stream *pbuf_stream, const u8_t *raw, u16_t raw_len);
H A Dsnmpv3_priv.h61 err_t snmpv3_auth(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out);
62 err_t snmpv3_crypt(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key,
63 const u8_t *priv_param, const u32_t engine_boots, const u32_t engine_time, snmpv3_priv_algo_t algo, snmpv3_priv_mode_t mode);
64 err_t snmpv3_build_priv_param(u8_t *priv_param);
/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)
/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...]
/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);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dinet_chksum.h113 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
115 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto,
120 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
122 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
127 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
129 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
H A Dtcp_sack.h29 tcp_parseopt_sack(u8_t *opts, u16_t c);
54 void tcp_enqueue_flags_sack(struct tcp_pcb *pcb, u8_t *optflags);
56 u8_t tcp_get_sack_block_count_for_send(struct tcp_pcb *pcb, u8_t optlen);
57 void tcp_build_sack_option(struct tcp_pcb *pcb, u8_t cnt, u32_t *options);
64 u8_t tcp_check_and_alloc_sack_options(struct tcp_seg *seg, struct tcp_pcb *pcb);
H A Digmp.h80 u8_t last_reporter_flag;
82 u8_t group_state;
86 u8_t use;
91 u8_t report_timer;
92 u8_t report_cnt;
/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...]
/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);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/
H A Dtcp_priv.h81 struct tcp_pcb *tcp_alloc (u8_t prio);
214 #define TF_RESET (u8_t)0x08U /* Connection was reset. */
215 #define TF_CLOSED (u8_t)0x10U /* Connection was successfully closed. */
216 #define TF_GOT_FIN (u8_t)0x20U /* Connection was closed by the remote end. */
330 u8_t chksum_swapped;
332 u8_t flags;
333 #define TF_SEG_OPTS_MSS (u8_t)0x01U /* Include MSS option. */
334 #define TF_SEG_OPTS_TS (u8_t)0x02U /* Include timestamp option. */
335 #define TF_SEG_DATA_CHECKSUMMED (u8_t)0x04U /* ALL data (not the header) is
337 #define TF_SEG_OPTS_WND_SCALE (u8_t)
[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...]

Completed in 13 milliseconds

12345678910>>...12