Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 6 of 6) sorted by relevance

/lib/liblwip/src/netif/ppp/
Dppp_impl.h178 #define GETCHAR(c, cp) { \ argument
179 (c) = *(cp)++; \
181 #define PUTCHAR(c, cp) { \ argument
182 *(cp)++ = (u_char) (c); \
186 #define GETSHORT(s, cp) { \ argument
187 (s) = *(cp); (cp)++; (s) <<= 8; \
188 (s) |= *(cp); (cp)++; \
190 #define PUTSHORT(s, cp) { \ argument
191 *(cp)++ = (u_char) ((s) >> 8); \
192 *(cp)++ = (u_char) (s & 0xff); \
[all …]
Dvj.c80 *cp++ = 0; \
81 cp[1] = (u_char)(n); \
82 cp[0] = (u_char)((n) >> 8); \
83 cp += 2; \
85 *cp++ = (u_char)(n); \
90 *cp++ = 0; \
91 cp[1] = (u_char)(n); \
92 cp[0] = (u_char)((n) >> 8); \
93 cp += 2; \
95 *cp++ = (u_char)(n); \
[all …]
/lib/liblwip/src/core/ipv4/
Dip_addr.c130 ipaddr_addr(const char *cp) in ipaddr_addr() argument
134 if (ipaddr_aton(cp, &val)) { in ipaddr_addr()
152 ipaddr_aton(const char *cp, ip_addr_t *addr) in ipaddr_aton() argument
160 c = *cp; in ipaddr_aton()
172 c = *++cp; in ipaddr_aton()
175 c = *++cp; in ipaddr_aton()
182 c = *++cp; in ipaddr_aton()
185 c = *++cp; in ipaddr_aton()
200 c = *++cp; in ipaddr_aton()
/lib/liblwip/src/include/ipv4/lwip/
Dinet.h98 #define inet_addr(cp) ipaddr_addr(cp) argument
99 #define inet_aton(cp, addr) ipaddr_aton(cp, (ip_addr_t*)addr) argument
Dip_addr.h234 u32_t ipaddr_addr(const char *cp);
235 int ipaddr_aton(const char *cp, ip_addr_t *addr);
/lib/liblwip/src/include/ipv6/lwip/
Dinet.h49 u32_t inet_addr(const char *cp);
50 s8_t inet_aton(const char *cp, struct in_addr *addr);