Home
last modified time | relevance | path

Searched refs:u32_t (Results 1 – 25 of 152) sorted by relevance

1234567

/third_party/lwip/src/include/lwip/apps/
Dsnmp_core.h131 u32_t id[SNMP_MAX_OBJ_ID_LEN];
137 const u32_t* id;
147 u32_t u32;
174 u32_t oid;
221 u32_t reference_len;
247 …snmp_err_t (*get_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* in…
248 …snmp_err_t (*get_next_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instanc…
254 const u32_t *base_oid;
264 u32_t min;
265 u32_t max;
[all …]
Dsnmp_table.h53 u32_t index;
65 …snmp_err_t (*get_cell_instance)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, struc…
66 …snmp_err_t (*get_next_cell_instance)(const u32_t* column, struct snmp_obj_id* row_oid, struct snmp…
75 snmp_err_t snmp_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_insta…
76 snmp_err_t snmp_table_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_…
99 u32_t index;
111 …err_t (*get_cell_value)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, union snmp_va…
112 …ext_cell_instance_and_value)(const u32_t* column, struct snmp_obj_id* row_oid, union snmp_variant_…
115 snmp_err_t snmp_table_simple_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_nod…
116 snmp_err_t snmp_table_simple_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snm…
/third_party/lwip/src/include/lwip/
Dstats.h56 #define STAT_COUNTER u32_t
126 u32_t ipinhdrerrors;
127 u32_t ipinaddrerrors;
128 u32_t ipinunknownprotos;
129 u32_t ipindiscards;
130 u32_t ipindelivers;
131 u32_t ipoutrequests;
132 u32_t ipoutdiscards;
133 u32_t ipoutnoroutes;
134 u32_t ipreasmoks;
[all …]
Ddef.h72 #define LWIP_MAKEU32(a,b,c,d) (((u32_t)((a) & 0xff) << 24) | \
73 ((u32_t)((b) & 0xff) << 16) | \
74 ((u32_t)((c) & 0xff) << 8) | \
75 (u32_t)((d) & 0xff))
88 #define lwip_htonl(x) ((u32_t)(x))
89 #define lwip_ntohl(x) ((u32_t)(x))
92 #define PP_HTONL(x) ((u32_t)(x))
93 #define PP_NTOHL(x) ((u32_t)(x))
101 u32_t lwip_htonl(u32_t x);
110 #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \
[all …]
Dip4_addr.h52 u32_t addr;
63 #define IPADDR_NONE ((u32_t)0xffffffffUL)
65 #define IPADDR_LOOPBACK ((u32_t)0x7f000001UL)
67 #define IPADDR_ANY ((u32_t)0x00000000UL)
69 #define IPADDR_BROADCAST ((u32_t)0xffffffffUL)
75 #define IP_CLASSA(a) ((((u32_t)(a)) & 0x80000000UL) == 0)
81 #define IP_CLASSB(a) ((((u32_t)(a)) & 0xc0000000UL) == 0x80000000UL)
87 #define IP_CLASSC(a) ((((u32_t)(a)) & 0xe0000000UL) == 0xc0000000UL)
92 #define IP_CLASSD(a) (((u32_t)(a) & 0xf0000000UL) == 0xe0000000UL)
98 #define IP_EXPERIMENTAL(a) (((u32_t)(a) & 0xf0000000UL) == 0xf0000000UL)
[all …]
Dtcp.h161 u32_t left;
163 u32_t right;
280 u32_t tmr;
283 u32_t rcv_nxt; /* next seqno expected */
286 u32_t rcv_ann_right_edge; /* announced right edge of window */
300 u32_t rttest; /* RTT estimate in 500ms ticks */
301 u32_t rtseq; /* sequence number being timed */
309 u32_t lastack; /* Highest acknowledged seqno. */
316 u32_t rto_end;
319 u32_t snd_nxt; /* next new seqno to be sent */
[all …]
Dsio.h99 u32_t sio_read(sio_fd_t fd, u8_t *data, u32_t len);
112 u32_t sio_tryread(sio_fd_t fd, u8_t *data, u32_t len);
126 u32_t sio_write(sio_fd_t fd, u8_t *data, u32_t len);
Dtimeouts.h71 u32_t interval_ms;
95 u32_t time;
106 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam…
109 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
115 u32_t sys_timeouts_sleeptime(void);
/third_party/lwip/test/unit/tcp/
Dtcp_helper.h11 u32_t recv_calls;
12 u32_t recved_bytes;
13 u32_t recv_calls_after_close;
14 u32_t recved_bytes_after_close;
15 u32_t close_calls;
16 u32_t err_calls;
19 u32_t expected_data_len;
23 u32_t num_tx_calls;
24 u32_t num_tx_bytes;
40 u32_t seqno, u32_t ackno, u8_t headerflags);
[all …]
/third_party/lwip/src/core/
Dinet_chksum.c82 u32_t acc; in lwip_standard_chksum()
138 u32_t sum = 0; in lwip_standard_chksum()
194 const u32_t *pl; in lwip_standard_chksum()
195 u32_t sum = 0, tmp; in lwip_standard_chksum()
211 pl = (const u32_t *)(const void *)ps; in lwip_standard_chksum()
260 inet_cksum_pseudo_base(struct pbuf *p, u8_t proto, u16_t proto_len, u32_t acc) in inet_cksum_pseudo_base()
285 acc += (u32_t)lwip_htons((u16_t)proto); in inet_cksum_pseudo_base()
286 acc += (u32_t)lwip_htons(proto_len); in inet_cksum_pseudo_base()
313 u32_t acc; in inet_chksum_pseudo()
314 u32_t addr; in inet_chksum_pseudo()
[all …]
Dtimeouts.c73 #define TIME_LESS_THAN(t, compare_to) ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 )
124 static u32_t current_timeout_due_time;
181 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name) in sys_timeout_abs()
183 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg) in sys_timeout_abs()
234 u32_t now; in lwip_cyclic_timer()
235 u32_t next_timeout_time; in lwip_cyclic_timer()
244 …next_timeout_time = (u32_t)(current_timeout_due_time + cyclic->interval_ms); /* overflow handled … in lwip_cyclic_timer()
248 … sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg, cyclic->handler_name); in lwip_cyclic_timer()
250 sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg); in lwip_cyclic_timer()
287 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_name) in sys_timeout_debug()
[all …]
/third_party/lwip/src/netif/ppp/
Dmagic.c88 static u32_t magic_randomseed; /* Seed used for random number generation. */
100 static void magic_churnrand(char *rand_data, u32_t rand_len) { in magic_churnrand()
112 u32_t jiffies; in magic_churnrand()
114 u32_t rand; in magic_churnrand()
162 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes()
165 u32_t n; in magic_random_bytes()
185 u32_t magic(void) { in magic()
186 u32_t new_rand; in magic()
201 static u32_t magic_randomseed; /* Seed used for random number generation. */
263 u32_t magic(void) { in magic()
[all …]
/third_party/lwip/src/apps/sntp/
Dsntp.c115 #define DIFF_SEC_1970_2036 ((u32_t)2085978496L)
121 # define SNTP_FRAC_TO_US(f) ((u32_t)(((u64_t)(f) * 1000000UL) >> 32))
123 # define SNTP_FRAC_TO_US(f) ((u32_t)(f) / 4295)
136 SNTP_SET_SYSTEM_TIME_US((u32_t)((s) + DIFF_SEC_1970_2036), SNTP_FRAC_TO_US(f))
139 SNTP_SET_SYSTEM_TIME((u32_t)((s) + DIFF_SEC_1970_2036))
151 u32_t sec_, usec_; \
168 ((s64_t)(((u64_t)(s) << 32) | (u32_t)(f)))
177 u32_t sec;
178 u32_t frac;
207 PACK_STRUCT_FIELD(u32_t root_delay);
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_core.c204 const u32_t snmp_zero_dot_zero_values[] = { 0, 0 };
286 snmp_oid_to_ip4(const u32_t *oid, ip4_addr_t *ip) in snmp_oid_to_ip4()
306 snmp_ip4_to_oid(const ip4_addr_t *ip, u32_t *oid) in snmp_ip4_to_oid()
322 snmp_oid_to_ip6(const u32_t *oid, ip6_addr_t *ip) in snmp_oid_to_ip6()
357 snmp_ip6_to_oid(const ip6_addr_t *ip, u32_t *oid) in snmp_ip6_to_oid()
387 snmp_ip_port_to_oid(const ip_addr_t *ip, u16_t port, u32_t *oid) in snmp_ip_port_to_oid()
405 snmp_ip_to_oid(const ip_addr_t *ip, u32_t *oid) in snmp_ip_to_oid()
440 snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip) in snmp_oid_to_ip()
516 snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port) in snmp_oid_to_ip_port()
548 snmp_oid_assign(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) in snmp_oid_assign()
[all …]
Dsnmp_snmpv2_usm.c33 static void snmp_engineid_to_oid(const char *engineid, u32_t *oid, u32_t len) in snmp_engineid_to_oid()
42 static void snmp_oid_to_name(char *name, const u32_t *oid, size_t len) in snmp_oid_to_name()
51 static void snmp_name_to_oid(const char *name, u32_t *oid, size_t len) 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… in usmusertable_get_instance()
89 u32_t engineid_oid[SNMP_V3_MAX_ENGINE_ID_LENGTH]; in usmusertable_get_instance()
170 static snmp_err_t usmusertable_get_next_instance(const u32_t *column, struct snmp_obj_id *row_oid, … in usmusertable_get_next_instance()
175 u32_t engineid_oid[SNMP_V3_MAX_ENGINE_ID_LENGTH]; in usmusertable_get_next_instance()
186 u32_t result_temp[LWIP_ARRAYSIZE(usmUserTable_oid_ranges)]; in usmusertable_get_next_instance()
250 u32_t test_oid[LWIP_ARRAYSIZE(usmUserTable_oid_ranges)]; in usmusertable_get_next_instance()
288 MEMCPY(value, snmp_zero_dot_zero.id, snmp_zero_dot_zero.len * sizeof(u32_t)); in usmusertable_get_value()
[all …]
Dsnmp_mib2_udp.c63 u32_t *uint_ptr = (u32_t *)value; in udp_get_value()
103 udp_endpointTable_get_cell_value_core(const u32_t *column, union snmp_variant_value *value) in udp_endpointTable_get_cell_value_core()
118 …intTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in udp_endpointTable_get_cell_value()
165 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in udp_endpointTable_get_next_cell_instance_and_value()
173 u32_t result_temp[39]; in udp_endpointTable_get_next_cell_instance_and_value()
183 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in udp_endpointTable_get_next_cell_instance_and_value()
226 …le_get_cell_value_core(struct udp_pcb *pcb, const u32_t *column, union snmp_variant_value *value, in udp_Table_get_cell_value_core()
247 …dp_Table_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in udp_Table_get_cell_value()
279 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in udp_Table_get_next_cell_instance_and_value()
283 u32_t result_temp[LWIP_ARRAYSIZE(udp_Table_oid_ranges)]; in udp_Table_get_next_cell_instance_and_value()
[all …]
Dsnmp_mib2_ip.c65 u32_t *uint_ptr = (u32_t *)value; in ip_get_value()
210 …le_get_cell_value_core(struct netif *netif, const u32_t *column, union snmp_variant_value *value, in ip_AddrTable_get_cell_value_core()
251 …ddrTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in ip_AddrTable_get_cell_value()
277 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in ip_AddrTable_get_next_cell_instance_and_value()
281 u32_t result_temp[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value()
288 u32_t test_oid[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value()
317 …re(struct netif *netif, u8_t default_route, const u32_t *column, union snmp_variant_value *value, in ip_RouteTable_get_cell_value_core()
386 *value_len = snmp_zero_dot_zero.len * sizeof(u32_t); in ip_RouteTable_get_cell_value_core()
396 …uteTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in ip_RouteTable_get_cell_value()
431 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in ip_RouteTable_get_next_cell_instance_and_value()
[all …]
Dsnmp_mib2_tcp.c64 u32_t *uint_ptr = (u32_t *)value; in tcp_get_value()
165 …le_get_cell_value_core(struct tcp_pcb *pcb, const u32_t *column, union snmp_variant_value *value, in tcp_ConnTable_get_cell_value_core()
203 …onnTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in tcp_ConnTable_get_cell_value()
256 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in tcp_ConnTable_get_next_cell_instance_and_value()
261 u32_t result_temp[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value()
270 u32_t test_oid[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value()
312 tcp_ConnectionTable_get_cell_value_core(const u32_t *column, struct tcp_pcb *pcb, union snmp_varian… in tcp_ConnectionTable_get_cell_value_core()
330 …ionTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in tcp_ConnectionTable_get_cell_value()
374 …next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_… in tcp_ConnectionTable_get_next_cell_instance_and_value()
380 u32_t result_temp[38]; in tcp_ConnectionTable_get_next_cell_instance_and_value()
[all …]
Dsnmp_asn1.c151 snmp_asn1_enc_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u32_t value) in snmp_asn1_enc_u32t()
206 snmp_asn1_enc_oid(struct snmp_pbuf_stream *pbuf_stream, const u32_t *oid, u16_t oid_len) in snmp_asn1_enc_oid()
210 u32_t compressed_byte = ((oid[0] * 40) + oid[1]); in snmp_asn1_enc_oid()
221 u32_t sub_id; in snmp_asn1_enc_oid()
275 snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed) in snmp_asn1_enc_u32t_cnt()
323 snmp_asn1_enc_oid_cnt(const u32_t *oid, u16_t oid_len, u16_t *octets_needed) in snmp_asn1_enc_oid_cnt()
325 u32_t sub_id; in snmp_asn1_enc_oid_cnt()
421 snmp_asn1_dec_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *value) in snmp_asn1_dec_u32t()
498 snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *oid, u8_t *oid_len, u8_t … in snmp_asn1_dec_oid()
500 u32_t *oid_ptr; in snmp_asn1_dec_oid()
[all …]
/third_party/lwip/src/include/lwip/priv/
Dnd6_priv.h86 u32_t reachable_time; /* in seconds */
87 u32_t delay_time; /* ticks (ND6_TMR_INTERVAL) */
88 u32_t probes_sent;
89 u32_t stale_time; /* ticks (ND6_TMR_INTERVAL) */
97 u32_t age;
103 u32_t invalidation_timer; /* in seconds */
108 u32_t invalidation_timer; /* in seconds */
133 extern u32_t reachable_time;
134 extern u32_t retrans_timer;
/third_party/lwip/src/core/ipv4/
Dip4_addr.c58 ip4_addr_isbroadcast_u32(u32_t addr, const struct netif *netif) in ip4_addr_isbroadcast_u32()
93 ip4_addr_netmask_valid(u32_t netmask) in ip4_addr_netmask_valid()
95 u32_t mask; in ip4_addr_netmask_valid()
96 u32_t nm_hostorder = lwip_htonl(netmask); in ip4_addr_netmask_valid()
122 u32_t
147 u32_t val; in ip4addr_aton()
150 u32_t parts[4]; in ip4addr_aton()
151 u32_t *pp = parts; in ip4addr_aton()
176 if((base == 8) && ((u32_t)(c - '0') >= 8)) in ip4addr_aton()
178 val = (val * base) + (u32_t)(c - '0'); in ip4addr_aton()
[all …]
/third_party/lwip/src/include/netif/ppp/
Dvj.h127 u32_t vjs_packets; /* outbound packets */
128 u32_t vjs_compressed; /* outbound compressed packets */
129 u32_t vjs_searches; /* searches for connection state */
130 u32_t vjs_misses; /* times couldn't find conn. state */
131 u32_t vjs_uncompressedin; /* inbound uncompressed packets */
132 u32_t vjs_compressedin; /* inbound compressed packets */
133 u32_t vjs_errorin; /* inbound unknown type packets */
134 u32_t vjs_tossed; /* inbound packets tossed because of error */
Dppp_impl.h159 void (*send_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp);
161 void (*recv_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp);
426 int ppp_send_config(ppp_pcb *pcb, int mtu, u32_t accm, int pcomp, int accomp);
427 int ppp_recv_config(ppp_pcb *pcb, int mru, u32_t accm, int pcomp, int accomp);
430 int sifaddr(ppp_pcb *pcb, u32_t our_adr, u32_t his_adr, u32_t netmask);
431 int cifaddr(ppp_pcb *pcb, u32_t our_adr, u32_t his_adr);
433 int sifproxyarp(ppp_pcb *pcb, u32_t his_adr);
434 int cifproxyarp(ppp_pcb *pcb, u32_t his_adr);
437 int sdns(ppp_pcb *pcb, u32_t ns1, u32_t ns2);
438 int cdns(ppp_pcb *pcb, u32_t ns1, u32_t ns2);
[all …]
/third_party/lwip/src/include/lwip/prot/
Dnd6.h57 PACK_STRUCT_FIELD(u32_t reserved);
97 PACK_STRUCT_FIELD(u32_t reserved);
125 PACK_STRUCT_FIELD(u32_t reachable_time);
126 PACK_STRUCT_FIELD(u32_t retrans_timer);
143 PACK_STRUCT_FIELD(u32_t reserved);
185 PACK_STRUCT_FIELD(u32_t valid_lifetime);
186 PACK_STRUCT_FIELD(u32_t preferred_lifetime);
224 PACK_STRUCT_FIELD(u32_t mtu);
242 PACK_STRUCT_FIELD(u32_t route_lifetime);
260 PACK_STRUCT_FIELD(u32_t lifetime);
/third_party/optimized-routines/math/
Dv_math.h43 typedef uint32_t u32_t; typedef
50 static inline u32_t
53 union { f32_t f; u32_t u; } r = {x}; in as_u32_f32()
57 as_f32_u32 (u32_t x) in as_f32_u32()
59 union { u32_t u; f32_t f; } r = {x}; in as_f32_u32()
63 as_s32_u32 (u32_t x) in as_s32_u32()
65 union { u32_t u; s32_t i; } r = {x}; in as_s32_u32()
68 static inline u32_t
71 union { s32_t i; u32_t u; } r = {x}; in as_u32_s32()
102 typedef u32_t v_u32_t;
[all …]

1234567