Home
last modified time | relevance | path

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

123

/lk-master/external/lib/lwip/include/ipv4/lwip/
A Dip_addr.h45 u32_t addr;
55 PACK_STRUCT_FIELD(u32_t addr);
96 #define IPADDR_NONE ((u32_t)0xffffffffUL)
98 #define IPADDR_LOOPBACK ((u32_t)0x7f000001UL)
100 #define IPADDR_ANY ((u32_t)0x00000000UL)
102 #define IPADDR_BROADCAST ((u32_t)0xffffffffUL)
140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \
143 (u32_t)((d) & 0xff)
151 (u32_t)((a) & 0xff)
206 u8_t ip4_addr_netmask_valid(u32_t netmask);
[all …]
/lk-master/external/lib/lwip/netif/ppp/
A Drandm.c84 avChurnRand(char *randData, u32_t randLen) in avChurnRand()
123 avGenRand(char *buf, u32_t bufLen) in avGenRand()
127 u32_t n; in avGenRand()
145 u32_t
148 u32_t newRand; in avRandom()
186 u32_t *lptr1 = (u32_t *)((char *)&clockBuf[3]); in avRandomInit()
199 avRandomSeed += *(u32_t *)clockBuf + *lptr1 + OSIdleCtr in avRandomInit()
200 + ppp_mtime() + ((u32_t)TM1 << 16) + TM1; in avRandomInit()
219 static u32_t last_jiffies; in avRandomize()
241 u32_t
[all …]
A Dppp_impl.h333 void ppp_send_config (int, u16_t, u32_t, int, int);
337 void ppp_recv_config (int, int, u32_t, int, int);
350 int sifaddr (int, u32_t, u32_t, u32_t, u32_t, u32_t);
352 int cifaddr (int, u32_t, u32_t);
354 int sifdefaultroute (int, u32_t, u32_t);
356 int cifdefaultroute (int, u32_t, u32_t);
359 u32_t GetMask (u32_t);
A Dmd5.c59 static void Transform (u32_t *buf, u32_t *in);
123 mdContext->buf[0] = (u32_t)0x67452301UL; in MD5Init()
124 mdContext->buf[1] = (u32_t)0xefcdab89UL; in MD5Init()
125 mdContext->buf[2] = (u32_t)0x98badcfeUL; in MD5Init()
126 mdContext->buf[3] = (u32_t)0x10325476UL; in MD5Init()
136 u32_t in[16]; in MD5Update()
152 mdContext->i[0] += ((u32_t)inLen << 3); in MD5Update()
153 mdContext->i[1] += ((u32_t)inLen >> 29); in MD5Update()
179 u32_t in[16]; in MD5Final()
200 ((u32_t)mdContext->in[ii]); in MD5Final()
[all …]
A Drandm.h53 void avChurnRand(char *randData, u32_t randLen);
73 void avGenRand(char *buf, u32_t bufLen);
78 u32_t avRandom(void);
A Dipcp.h93 u32_t ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */
94 u32_t dnsaddr[2]; /* Primary and secondary MS DNS entries */
95 u32_t winsaddr[2]; /* Primary and secondary MS WINS entries */
A Dlcp.h106 u32_t asyncmap; /* Value of async map */
107 u32_t magicnumber;
109 u32_t lqr_period; /* Reporting period for LQR 1/100ths second */
A Dmd5.h45 u32_t i[2]; /* number of _bits_ handled mod 2^64 */
46 u32_t buf[4]; /* scratch buffer */
A Dauth.h106 int auth_ip_addr (int, u32_t);
109 int bad_ip_adrs (u32_t);
/lk-master/external/lib/lwip/core/
A Dstats.c116 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail)); in stats_display_mem()
117 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used)); in stats_display_mem()
118 LWIP_PLATFORM_DIAG(("max: %"U32_F"\n\t", (u32_t)mem->max)); in stats_display_mem()
119 LWIP_PLATFORM_DIAG(("err: %"U32_F"\n", (u32_t)mem->err)); in stats_display_mem()
142 LWIP_PLATFORM_DIAG(("sem.used: %"U32_F"\n\t", (u32_t)sys->sem.used)); in stats_display_sys()
143 LWIP_PLATFORM_DIAG(("sem.max: %"U32_F"\n\t", (u32_t)sys->sem.max)); in stats_display_sys()
144 LWIP_PLATFORM_DIAG(("sem.err: %"U32_F"\n\t", (u32_t)sys->sem.err)); in stats_display_sys()
146 LWIP_PLATFORM_DIAG(("mutex.max: %"U32_F"\n\t", (u32_t)sys->mutex.max)); in stats_display_sys()
147 LWIP_PLATFORM_DIAG(("mutex.err: %"U32_F"\n\t", (u32_t)sys->mutex.err)); in stats_display_sys()
149 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max)); in stats_display_sys()
[all …]
A Ddef.c87 u32_t
88 lwip_htonl(u32_t n) in lwip_htonl()
102 u32_t
103 lwip_ntohl(u32_t n) in lwip_ntohl()
/lk-master/external/lib/lwip/include/ipv6/lwip/
A Dinet.h47 u8_t proto, u32_t proto_len);
49 u32_t inet_addr(const char *cp);
57 u32_t htonl(u32_t n);
58 u32_t ntohl(u32_t n);
/lk-master/external/lib/lwip/include/lwip/
A Dsio.h98 u32_t sio_read(sio_fd_t fd, u8_t *data, u32_t len);
111 u32_t sio_tryread(sio_fd_t fd, u8_t *data, u32_t len);
125 u32_t sio_write(sio_fd_t fd, u8_t *data, u32_t len);
A Dtcp.h193 u32_t tmr;
196 u32_t rcv_nxt; /* next seqno expected */
207 u32_t rttest; /* RTT estimate in 500ms ticks */
208 u32_t rtseq; /* sequence number being timed */
216 u32_t lastack; /* Highest acknowledged seqno. */
223 u32_t snd_nxt; /* next new seqno to be sent */
264 u32_t ts_lastacksent;
265 u32_t ts_recent;
269 u32_t keep_idle;
271 u32_t keep_intvl;
[all …]
A Dnetif.h201 u32_t link_speed;
203 u32_t ts;
205 u32_t ifinoctets;
206 u32_t ifinucastpkts;
207 u32_t ifinnucastpkts;
208 u32_t ifindiscards;
209 u32_t ifoutoctets;
210 u32_t ifoutucastpkts;
211 u32_t ifoutnucastpkts;
212 u32_t ifoutdiscards;
A Dsys.h148 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout);
165 void sys_msleep(u32_t ms); /* only has a (close to) 1 jiffy resolution. */
191 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout);
200 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg);
233 u32_t sys_jiffies(void);
238 u32_t sys_now(void);
A Dtcp_impl.h72 u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb);
93 #define TCP_SEQ_LT(a,b) ((s32_t)((u32_t)(a) - (u32_t)(b)) < 0)
94 #define TCP_SEQ_LEQ(a,b) ((s32_t)((u32_t)(a) - (u32_t)(b)) <= 0)
95 #define TCP_SEQ_GT(a,b) ((s32_t)((u32_t)(a) - (u32_t)(b)) > 0)
96 #define TCP_SEQ_GEQ(a,b) ((s32_t)((u32_t)(a) - (u32_t)(b)) >= 0)
162 PACK_STRUCT_FIELD(u32_t seqno);
163 PACK_STRUCT_FIELD(u32_t ackno);
307 extern u32_t tcp_ticks;
444 void tcp_rst(u32_t seqno, u32_t ackno,
448 u32_t tcp_next_iss(void);
A Ddhcp.h32 u32_t xid;
57 u32_t offered_t0_lease; /* lease period (in seconds) */
58 u32_t offered_t1_renew; /* recommended renew time (usually 50% of lease period) */
59 u32_t offered_t2_rebind; /* recommended rebind time (usually 66% of lease period) */
80 PACK_STRUCT_FIELD(u32_t xid);
90 PACK_STRUCT_FIELD(u32_t cookie);
A Dtimers.h69 u32_t time;
80 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam…
83 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
A Ddef.h101 u32_t lwip_htonl(u32_t x);
102 u32_t lwip_ntohl(u32_t x);
/lk-master/external/lib/lwip/core/ipv4/
A Dinet_chksum.c83 u32_t acc; in lwip_standard_chksum()
139 u32_t sum = 0; in lwip_standard_chksum()
195 u32_t *pl; in lwip_standard_chksum()
196 u32_t sum = 0, tmp; in lwip_standard_chksum()
212 pl = (u32_t *)ps; in lwip_standard_chksum()
276 u32_t acc; in inet_chksum_pseudo()
277 u32_t addr; in inet_chksum_pseudo()
309 acc += (u32_t)htons(proto_len); in inet_chksum_pseudo()
336 u32_t acc; in inet_chksum_pseudo_partial()
337 u32_t addr; in inet_chksum_pseudo_partial()
[all …]
A Dip_addr.c55 ip4_addr_isbroadcast(u32_t addr, const struct netif *netif) in ip4_addr_isbroadcast()
90 ip4_addr_netmask_valid(u32_t netmask) in ip4_addr_netmask_valid()
92 u32_t mask; in ip4_addr_netmask_valid()
93 u32_t nm_hostorder = lwip_htonl(netmask); in ip4_addr_netmask_valid()
129 u32_t
154 u32_t val; in ipaddr_aton()
157 u32_t parts[4]; in ipaddr_aton()
158 u32_t *pp = parts; in ipaddr_aton()
278 u32_t s_addr; in ipaddr_ntoa_r()
/lk-master/external/lib/lwip/core/snmp/
A Dmib2.c2494 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2536 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2542 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2548 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2554 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2560 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
2568 u32_t *uint_ptr = (u32_t*)value; in ifentry_get_value()
3494 u32_t *uint_ptr = (u32_t*)value; in icmp_get_value()
3649 u32_t *uint_ptr = (u32_t*)value; in tcp_get_value()
3817 u32_t *uint_ptr = (u32_t*)value; in udp_get_value()
[all …]
/lk-master/external/lib/lwip/core/ipv6/
A Dinet6.c54 static u32_t
58 u32_t acc; in chksum()
82 u8_t proto, u32_t proto_len) in inet_chksum_pseudo()
84 u32_t acc; in inet_chksum_pseudo()
131 u32_t acc, sum; in inet_chksum()
142 u32_t acc; in inet_chksum_pbuf()
/lk-master/external/lib/lwip/
A Dsys_arch.c55 u32_t sys_arch_sem_wait(sys_sem_t * sem, u32_t timeout) in sys_arch_sem_wait()
102 u32_t sys_arch_mbox_tryfetch(sys_mbox_t * mbox, void **msg) in sys_arch_mbox_tryfetch()
126 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) in sys_arch_mbox_fetch()

Completed in 34 milliseconds

123