Home
last modified time | relevance | path

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

123

/external/syslinux/core/lwip/src/include/ipv4/lwip/
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)
108 #define IP_CLASSA(a) ((((u32_t)(a)) & 0x80000000UL) == 0)
114 #define IP_CLASSB(a) ((((u32_t)(a)) & 0xc0000000UL) == 0x80000000UL)
120 #define IP_CLASSC(a) ((((u32_t)(a)) & 0xe0000000UL) == 0xc0000000UL)
125 #define IP_CLASSD(a) (((u32_t)(a) & 0xf0000000UL) == 0xe0000000UL)
[all …]
/external/syslinux/core/lwip/src/netif/ppp/
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()
161 static u32_t avRandomSeed = 0; /* Seed used for random number generation. */
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()
[all …]
Dmd5.c59 static void Transform (u32_t *buf, u32_t *in);
84 {(a) += F ((b), (c), (d)) + (x) + (u32_t)(ac); \
89 {(a) += G ((b), (c), (d)) + (x) + (u32_t)(ac); \
94 {(a) += H ((b), (c), (d)) + (x) + (u32_t)(ac); \
99 {(a) += I ((b), (c), (d)) + (x) + (u32_t)(ac); \
120 mdContext->i[0] = mdContext->i[1] = (u32_t)0; in MD5Init()
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()
[all …]
Dppp.h446 void ppp_send_config (int, u16_t, u32_t, int, int);
450 void ppp_recv_config (int, int, u32_t, int, int);
463 int sifaddr (int, u32_t, u32_t, u32_t, u32_t, u32_t);
465 int cifaddr (int, u32_t, u32_t);
467 int sifdefaultroute (int, u32_t, u32_t);
469 int cifdefaultroute (int, u32_t, u32_t);
472 u32_t GetMask (u32_t);
Drandm.h53 void avChurnRand(char *randData, u32_t randLen);
73 void avGenRand(char *buf, u32_t bufLen);
78 u32_t avRandom(void);
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 */
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 */
Dipcp.c374 u32_t l; \ in ipcp_addci()
392 u32_t l; \ in ipcp_addci()
429 u32_t cilong; in ipcp_ackci()
469 u32_t l; \ in ipcp_ackci()
495 u32_t l; \ in ipcp_ackci()
551 u32_t ciaddr1, ciaddr2, l, cidnsaddr; in ipcp_nakci()
755 u32_t cilong; in ipcp_rejci()
769 u32_t l; \ in ipcp_rejci()
819 u32_t l; \ in ipcp_rejci()
880 u32_t tl, ciaddr1; /* Parsed address values */ in ipcp_reqci()
[all …]
Dauth.c212 static int have_chap_secret (char *, char *, u32_t);
213 static int ip_addr_check (u32_t, struct wordlist *);
789 u32_t remote;
833 u32_t remote; in auth_reset()
1057 have_chap_secret(char *client, char *server, u32_t remote) in have_chap_secret()
1153 u32_t a;
1159 a = *(u32_t *)hp->h_addr;
1163 if (a != (u32_t) -1) {
1177 auth_ip_addr(int unit, u32_t addr) in auth_ip_addr()
1183 ip_addr_check(u32_t addr, struct wordlist *addrs) in ip_addr_check()
[all …]
/external/syslinux/core/lwip/src/core/
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()
145 LWIP_PLATFORM_DIAG(("mutex.used: %"U32_F"\n\t", (u32_t)sys->mutex.used)); 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()
[all …]
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()
Dtcp.c73 u32_t tcp_ticks;
320 u32_t seqno, ackno; in tcp_abandon()
543 u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb) in tcp_update_rcv_ann_wnd()
545 u32_t new_right_edge = pcb->rcv_nxt + pcb->rcv_wnd; in tcp_update_rcv_ann_wnd()
558 u32_t new_rcv_ann_wnd = pcb->rcv_ann_right_edge - pcb->rcv_nxt; in tcp_update_rcv_ann_wnd()
653 u32_t iss; in tcp_connect()
835 if ((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr()
847 if((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr()
851 if((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr()
863 else if((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr()
[all …]
Dtimers.c64 static u32_t timeouts_last_time;
262 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name) in sys_timeout_debug()
265 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) in sys_timeout_debug()
360 u32_t diff; in sys_check_timeouts()
364 u32_t now; in sys_check_timeouts()
421 u32_t time_needed; in sys_timeouts_mbox_fetch()
/external/syslinux/core/lwip/src/include/lwip/
Dtcp.h191 u32_t rcv_nxt; /* next seqno expected */
194 u32_t rcv_ann_right_edge; /* announced right edge of window */
197 u32_t tmr;
206 u32_t rttest; /* RTT estimate in 500ms ticks */
207 u32_t rtseq; /* sequence number being timed */
214 u32_t lastack; /* Highest acknowledged seqno. */
222 u32_t snd_nxt; /* next new seqno to be sent */
224 u32_t snd_wl1, snd_wl2; /* Sequence and acknowledgement numbers of last
226 u32_t snd_lbb; /* Sequence number of next byte to be buffered. */
262 u32_t ts_lastacksent;
[all …]
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);
Dnetif.h197 u32_t link_speed;
199 u32_t ts;
201 u32_t ifinoctets;
202 u32_t ifinucastpkts;
203 u32_t ifinnucastpkts;
204 u32_t ifindiscards;
205 u32_t ifoutoctets;
206 u32_t ifoutucastpkts;
207 u32_t ifoutnucastpkts;
208 u32_t ifoutdiscards;
Dsys.h142 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout);
159 void sys_msleep(u32_t ms); /* only has a (close to) 1 jiffy resolution. */
185 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout);
194 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg);
227 u32_t sys_jiffies(void);
232 u32_t sys_now(void);
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);
Ddef.h105 u32_t lwip_htonl(u32_t x);
106 u32_t lwip_ntohl(u32_t x);
Dtcp_impl.h73 u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb);
161 PACK_STRUCT_FIELD(u32_t seqno);
162 PACK_STRUCT_FIELD(u32_t ackno);
304 #define TCP_BUILD_MSS_OPTION(x) (x) = PP_HTONL(((u32_t)2 << 24) | \
305 ((u32_t)4 << 16) | \
306 (((u32_t)TCP_MSS / 256) << 8) | \
311 extern u32_t tcp_ticks;
429 void tcp_rst(u32_t seqno, u32_t ackno,
433 u32_t tcp_next_iss(void);
Dtimers.h67 u32_t time;
78 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam…
81 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
/external/syslinux/core/lwip/src/core/ipv4/
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()
308 acc += (u32_t)htons((u16_t)proto); in inet_chksum_pseudo()
309 acc += (u32_t)htons(proto_len); in inet_chksum_pseudo()
336 u32_t acc; in inet_chksum_pseudo_partial()
[all …]
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()
/external/syslinux/core/lwip/src/core/snmp/
Dmib2.c804 static u32_t sysuptime = 0;
807 static u32_t ipinreceives = 0,
825 static u32_t icmpinmsgs = 0,
852 static u32_t tcpactiveopens = 0,
862 static u32_t udpindatagrams = 0,
867 static u32_t snmpinpkts = 0,
969 void snmp_add_sysuptime(u32_t value) in snmp_add_sysuptime()
974 void snmp_get_sysuptime(u32_t *value) in snmp_get_sysuptime()
1029 void snmp_add_ifinoctets(struct netif *ni, u32_t value) in snmp_add_ifinoctets()
1049 void snmp_add_ifoutoctets(struct netif *ni, u32_t value) in snmp_add_ifoutoctets()
[all …]
/external/syslinux/core/lwip/src/arch/
Dsys_arch.c47 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) in sys_arch_sem_wait()
94 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) in sys_arch_mbox_fetch()
107 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch()

123