| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.h | 11 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; 34 u32_t seqno, u32_t ackno, u8_t headerflags); [all …]
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| 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) 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 …]
|
| /lib/liblwip/src/netif/ppp/ |
| 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() 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 …]
|
| 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);
|
| D | md5.c | 59 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 …]
|
| D | randm.h | 53 void avChurnRand(char *randData, u32_t randLen); 73 void avGenRand(char *buf, u32_t bufLen); 78 u32_t avRandom(void);
|
| 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 */
|
| 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 */
|
| D | md5.h | 45 u32_t i[2]; /* number of _bits_ handled mod 2^64 */ 46 u32_t buf[4]; /* scratch buffer */
|
| /lib/liblwip/src/core/ |
| 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() 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 …]
|
| 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()
|
| /lib/liblwip/src/include/lwip/ |
| 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);
|
| D | tcp.h | 193 u32_t tmr; 196 u32_t rcv_nxt; /* next seqno expected */ 199 u32_t rcv_ann_right_edge; /* announced right edge of window */ 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 */ 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. */ 264 u32_t ts_lastacksent; [all …]
|
| 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;
|
| 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);
|
| 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);
|
| 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);
|
| 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);
|
| D | def.h | 101 u32_t lwip_htonl(u32_t x); 102 u32_t lwip_ntohl(u32_t x);
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| 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);
|
| /lib/liblwip/src/core/ipv4/ |
| 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() 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 …]
|
| 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()
|
| /lib/liblwip/src/core/snmp/ |
| D | mib2.c | 804 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 …]
|
| /lib/liblwip/src/arch/ |
| D | sys_arch.c | 105 static u32_t cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex, 106 u32_t timeout); 267 u32_t 300 u32_t 301 sys_arch_mbox_fetch(struct sys_mbox **mb, void **msg, u32_t timeout) in sys_arch_mbox_fetch() 303 u32_t time_needed = 0; in sys_arch_mbox_fetch() 374 static u32_t 375 cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, u32_t timeout) in cond_wait() 407 return (u32_t)tdiff; in cond_wait() 415 u32_t [all …]
|
| /lib/liblwip/src/core/ipv6/ |
| 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()
|