Home
last modified time | relevance | path

Searched refs:ipv6_blocks (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_m/components/net/lwip-2.1/enhancement/src/
Dfixme.c120 const int ipv6_blocks = 8; in ip6addr_aton() local
123 u16_t addr16[ipv6_blocks]; in ip6addr_aton()
125 int squash_pos = ipv6_blocks; in ip6addr_aton()
131 if (current_block_index >= ipv6_blocks) { in ip6addr_aton()
152 if (squash_pos != ipv6_blocks) { in ip6addr_aton()
164 } else if (*sc == '.' && current_block_index < ipv6_blocks - 1) { in ip6addr_aton()
180 if (squash_pos == ipv6_blocks && current_block_index != ipv6_blocks) { in ip6addr_aton()
183 if (squash_pos != ipv6_blocks && current_block_index == ipv6_blocks) { in ip6addr_aton()
190 for (; i < ipv6_blocks - current_block_index + squash_pos; ++i) { in ip6addr_aton()
193 for (; i < ipv6_blocks; ++i) { in ip6addr_aton()
[all …]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dfixme.c419 const int ipv6_blocks = 8; local
422 u16_t addr16[ipv6_blocks];
424 int squash_pos = ipv6_blocks;
430 if (current_block_index >= ipv6_blocks) {
451 if (squash_pos != ipv6_blocks) {
463 } else if (*s == '.' && current_block_index < ipv6_blocks - 1) {
479 if (squash_pos == ipv6_blocks && current_block_index != ipv6_blocks) {
482 if (squash_pos != ipv6_blocks && current_block_index == ipv6_blocks) {
489 for (; i < ipv6_blocks - current_block_index + squash_pos; ++i) {
492 for (; i < ipv6_blocks; ++i) {
[all …]