Home
last modified time | relevance | path

Searched refs:u32_t (Results 1 - 25 of 163) sorted by relevance

1234567

/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_core.h69 #define SNMP_ASN1_APPLICATION_COUNTER 1 /* [APPLICATION 1] IMPLICIT INTEGER (0..4294967295) => u32_t */
70 #define SNMP_ASN1_APPLICATION_GAUGE 2 /* [APPLICATION 2] IMPLICIT INTEGER (0..4294967295) => u32_t */
71 #define SNMP_ASN1_APPLICATION_TIMETICKS 3 /* [APPLICATION 3] IMPLICIT INTEGER (0..4294967295) => u32_t */
131 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* instance);
248 snmp_err_t (*get_next_instance)(const u32_t *root_oi
[all...]
H A 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, struct snmp_node_instance* cell_instance);
66 snmp_err_t (*get_next_cell_instance)(const u32_t* column, struct snmp_obj_id* row_oid, 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);
99 u32_t index;
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_le
[all...]
/third_party/lwip/src/include/lwip/
H A 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 ipreasmok
[all...]
H A Ddef.h71 /** Create u32_t value from bytes */
72 #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_hton
[all...]
H A 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_nx
[all...]
H A 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)(
[all...]
H A Dlowpower.h94 typedef u32_t (*get_next_timeout)(void);
97 u32_t interval;
106 u32_t clock_max; /* tmr interval */
107 u32_t timeout;
126 u32_t waiting_time;
154 void sys_timeout_set_wake_time(u32_t val);
155 u32_t sys_timeout_get_wake_time(void);
161 err_t sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
H A 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);
/third_party/lwip/test/unit/tcp/
H A 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 seqn
[all...]
/third_party/lwip/src/apps/sntp/
H A 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_dela
[all...]
/third_party/lwip/src/netif/ppp/
H A 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 magi
[all...]
/third_party/lwip/src/core/
H A Dtimeouts.c74 /* Check if timer's expiry time is greater than time and care about u32_t wraparounds */
75 #define TIME_LESS_THAN(t, compare_to) ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 )
126 static u32_t current_timeout_due_time;
183 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name) in sys_timeout_abs()
185 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg) in sys_timeout_abs()
236 u32_t now; in lwip_cyclic_timer()
237 u32_t next_timeout_time; in lwip_cyclic_timer()
246 next_timeout_time = (u32_t)(current_timeout_due_time + cyclic->interval_ms); /* overflow handled by TIME_LESS_THAN macro */ in lwip_cyclic_timer()
250 sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg, cyclic->handler_name); in lwip_cyclic_timer()
252 sys_timeout_abs((u32_t)(no in lwip_cyclic_timer()
[all...]
H A 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 add in inet_chksum_pseudo()
[all...]
H A Dlowpower.c62 static u32_t g_wake_up_time = TIMEOUT_MAX;
66 static u32_t g_last_check_timeout = 0;
126 set_timer_state(enum timer_state state, u32_t waiting_time) in set_timer_state()
160 u32_t msec, in sys_timeout_reg()
209 timeout_handler(struct timer_entry *t, u32_t now) in timeout_handler()
222 static u32_t
225 u32_t tick; in get_timer_tick()
267 static u32_t
268 get_sleep_time(u32_t now) in get_sleep_time()
273 u32_t mse in get_sleep_time()
[all...]
/third_party/lwip/src/include/lwip/priv/
H A Dnd6_priv.h75 /*u32_t pmtu;*/
86 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_time
[all...]
/third_party/lwip/src/apps/snmp/
H A Dsnmp_core.c204 const u32_t snmp_zero_dot_zero_values[] = { 0, 0 };
282 * @param oid points to u32_t ident[4] input
286 snmp_oid_to_ip4(const u32_t *oid, ip4_addr_t *ip) in snmp_oid_to_ip4()
303 * @param oid points to u32_t ident[4] output
306 snmp_ip4_to_oid(const ip4_addr_t *ip, u32_t *oid) in snmp_ip4_to_oid()
318 * @param oid points to u32_t oid[16] input
322 snmp_oid_to_ip6(const u32_t *oid, ip6_addr_t *ip) in snmp_oid_to_ip6()
354 * @param oid points to u32_t ident[16] output
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 *oi
[all...]
H A 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_len, struct snmp_node_instance *cell_instance) 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, struct snmp_node_instance *cell_instance) 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_tem in usmusertable_get_next_instance()
[all...]
H A Dsnmp_mib2_tcp.c64 u32_t *uint_ptr = (u32_t *)value; in tcp_get_value()
165 tcp_ConnTable_get_cell_value_core(struct tcp_pcb *pcb, const u32_t *column, union snmp_variant_value *value, u32_t *value_len) in tcp_ConnTable_get_cell_value_core()
203 tcp_ConnTable_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) in tcp_ConnTable_get_cell_value()
256 tcp_ConnTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) in tcp_ConnTable_get_next_cell_instance_and_value()
261 u32_t result_tem in tcp_ConnTable_get_next_cell_instance_and_value()
[all...]
H A 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 udp_endpointTable_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) in udp_endpointTable_get_cell_value()
165 udp_endpointTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) 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_oi in udp_endpointTable_get_next_cell_instance_and_value()
[all...]
H A Dsnmp_mib2_ip.c65 u32_t *uint_ptr = (u32_t *)value; in ip_get_value()
210 ip_AddrTable_get_cell_value_core(struct netif *netif, const u32_t *column, union snmp_variant_value *value, u32_t *value_len) in ip_AddrTable_get_cell_value_core()
251 ip_AddrTable_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) in ip_AddrTable_get_cell_value()
277 ip_AddrTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) in ip_AddrTable_get_next_cell_instance_and_value()
281 u32_t result_tem in ip_AddrTable_get_next_cell_instance_and_value()
[all...]
/third_party/lwip/src/core/ipv4/
H A 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)( in ip4addr_aton()
[all...]
/third_party/lwip/src/include/netif/ppp/
H A 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 */
H A 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_ad
[all...]
/third_party/lwip/src/include/lwip/prot/
H A 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 lifetim
[all...]
/third_party/optimized-routines/math/
H A 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_
[all...]

Completed in 15 milliseconds

1234567