| /lib/liblwip/src/include/lwip/ |
| D | def.h | 43 #define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y)) argument 44 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) argument 77 #define htons(x) lwip_htons(x) argument 78 #define ntohs(x) lwip_ntohs(x) argument 79 #define htonl(x) lwip_htonl(x) argument 80 #define ntohl(x) lwip_ntohl(x) argument 84 #define lwip_htons(x) (x) argument 85 #define lwip_ntohs(x) (x) argument 86 #define lwip_htonl(x) (x) argument 87 #define lwip_ntohl(x) (x) argument [all …]
|
| D | stats.h | 153 #define STATS_INC(x) ++lwip_stats.x argument 154 #define STATS_DEC(x) --lwip_stats.x argument 155 #define STATS_INC_USED(x, y) do { lwip_stats.x.used += y; \ argument 168 #define TCP_STATS_INC(x) STATS_INC(x) argument 171 #define TCP_STATS_INC(x) argument 176 #define UDP_STATS_INC(x) STATS_INC(x) argument 179 #define UDP_STATS_INC(x) argument 184 #define ICMP_STATS_INC(x) STATS_INC(x) argument 187 #define ICMP_STATS_INC(x) argument 192 #define IGMP_STATS_INC(x) STATS_INC(x) argument [all …]
|
| D | err.h | 78 #define lwip_strerr(x) "" argument
|
| D | arch.h | 68 #define PACK_STRUCT_FIELD(x) x argument 73 #define LWIP_UNUSED_ARG(x) (void)x argument
|
| D | sockets.h | 244 #define _IO(x,y) (IOC_VOID|((x)<<8)|(y)) argument 246 #define _IOR(x,y,t) (IOC_OUT|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y)) argument 248 #define _IOW(x,y,t) (IOC_IN|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y)) argument
|
| /sys/include/ |
| D | elf_generic.h | 53 #define __elfN(x) __CONCAT(__CONCAT(__CONCAT(elf,__ELF_WORD_SIZE),_),x) argument 54 #define __ElfN(x) __CONCAT(__CONCAT(__CONCAT(Elf,__ELF_WORD_SIZE),_),x) argument 55 #define __ELFN(x) __CONCAT(__CONCAT(__CONCAT(ELF,__ELF_WORD_SIZE),_),x) argument 56 #define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x) argument
|
| D | queue.h | 120 #define TRASHIT(x) do {(x) = (void *)-1;} while (0) argument 143 #define TRASHIT(x) argument
|
| D | elf_common.h | 546 #define VER_DEF_IDX(x) VER_NDX(x) argument 554 #define VER_NEED_IDX(x) VER_NDX(x) argument 561 #define VER_NDX(x) ((x) & ~(1u << 15)) argument
|
| /lib/liblwip/src/netif/ppp/ |
| D | md5.c | 73 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument 74 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument 75 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 76 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument 79 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument 83 #define FF(a, b, c, d, x, s, ac) \ argument 88 #define GG(a, b, c, d, x, s, ac) \ argument 93 #define HH(a, b, c, d, x, s, ac) \ argument 98 #define II(a, b, c, d, x, s, ac) \ argument 105 #define UL(x) x##UL argument [all …]
|
| D | ipcp.c | 168 #define CODENAME(x) ((x) == CONFACK ? "ACK" : \ argument 1375 #define net_short(x) (((x)[0] << 8) + (x)[1]) argument 1376 #define get_iphl(x) (((unsigned char *)(x))[0] & 0xF) argument 1377 #define get_ipoff(x) net_short((unsigned char *)(x) + 6) argument 1378 #define get_ipproto(x) (((unsigned char *)(x))[9]) argument 1379 #define get_tcpoff(x) (((unsigned char *)(x))[12] >> 4) argument 1380 #define get_tcpflags(x) (((unsigned char *)(x))[13]) argument
|
| D | chap.c | 853 u_char x; in ChapPrintPkt() local
|
| D | lcp.c | 202 #define CODENAME(x) ((x) == CONFACK ? "ACK" : (x) == CONFNAK ? "NAK" : "REJ") argument
|
| /lib/liblwip/test/unit/ |
| D | lwip_check.h | 11 #define EXPECT(x) fail_unless(x) argument 12 #define EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) argument 13 #define EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) argument 14 #define EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) argument
|
| /lib/liblwip/src/include/arch/ |
| D | perf.h | 39 #define PERF_STOP(x) __asm__(".byte 0x0f, 0x31" : "=a" (__c2l), "=d" (__c2h)); \ argument 50 #define PERF_STOP(x) /* null definition */ argument
|
| D | cc.h | 76 #define PACK_STRUCT_FIELD(x) x argument 85 #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) argument 87 #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ argument
|
| /lib/liblwip/src/core/ |
| D | memp.c | 102 #define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x) + MEMP_SANITY_REGION_AFTER_ALIGNED) argument 111 #define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x)) argument 121 #define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x)) argument
|
| /sys/amd64/ |
| D | disasm.c | 122 #define op1(x) (x) argument 123 #define op2(x,y) ((x)|((y)<<8)) argument 124 #define op3(x,y,z) ((x)|((y)<<8)|((z)<<16)) argument
|
| /lib/liblwip/test/unit/tcp/ |
| D | test_tcp_oos.c | 20 #define EXPECT_OOSEQ(x) EXPECT(x) argument 22 #define EXPECT_OOSEQ(x) argument
|
| /sys/amd64/include/ |
| D | amd64.h | 32 #define ROUNDUP_PGSIZE(x) (((x) + LARGE_PGSIZE - 1) & ~LARGE_PGMASK) argument 33 #define ROUNDDOWN_PGSIZE(x) ((x) & ~LARGE_PGMASK) argument
|