/lk-master/external/lib/lwip/include/ipv4/lwip/ |
A D | ip_addr.h | 45 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 D | randm.c | 84 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 D | ppp_impl.h | 333 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 D | md5.c | 59 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 D | randm.h | 53 void avChurnRand(char *randData, u32_t randLen); 73 void avGenRand(char *buf, u32_t bufLen); 78 u32_t avRandom(void);
|
A D | ipcp.h | 93 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 D | lcp.h | 106 u32_t asyncmap; /* Value of async map */ 107 u32_t magicnumber; 109 u32_t lqr_period; /* Reporting period for LQR 1/100ths second */
|
A D | md5.h | 45 u32_t i[2]; /* number of _bits_ handled mod 2^64 */ 46 u32_t buf[4]; /* scratch buffer */
|
A D | auth.h | 106 int auth_ip_addr (int, u32_t); 109 int bad_ip_adrs (u32_t);
|
/lk-master/external/lib/lwip/core/ |
A D | stats.c | 116 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 D | def.c | 87 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 D | inet.h | 47 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 D | sio.h | 98 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 D | tcp.h | 193 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 D | netif.h | 201 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 D | sys.h | 148 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 D | tcp_impl.h | 72 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 D | dhcp.h | 32 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 D | timers.h | 69 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 D | def.h | 101 u32_t lwip_htonl(u32_t x); 102 u32_t lwip_ntohl(u32_t x);
|
/lk-master/external/lib/lwip/core/ipv4/ |
A D | inet_chksum.c | 83 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 D | ip_addr.c | 55 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 D | mib2.c | 2494 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 D | inet6.c | 54 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 D | sys_arch.c | 55 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()
|