Lines Matching refs:total
1243 int total; member
1254 v6stat.total = 0; in ipv6_from_asc()
1269 if (v6stat.total != 16) in ipv6_from_asc()
1273 if (v6stat.total == 16) in ipv6_from_asc()
1280 if (v6stat.total > 0) in ipv6_from_asc()
1285 && (v6stat.zero_pos != v6stat.total)) in ipv6_from_asc()
1290 || (v6stat.zero_pos == v6stat.total)) in ipv6_from_asc()
1301 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total); in ipv6_from_asc()
1303 if (v6stat.total != v6stat.zero_pos) in ipv6_from_asc()
1304 memcpy(v6 + v6stat.zero_pos + 16 - v6stat.total, in ipv6_from_asc()
1306 v6stat.total - v6stat.zero_pos); in ipv6_from_asc()
1319 if (s->total == 16) in ipv6_cb()
1324 s->zero_pos = s->total; in ipv6_cb()
1326 else if (s->zero_pos != s->total) in ipv6_cb()
1333 if (s->total > 12) in ipv6_cb()
1338 if (!ipv4_from_asc(s->tmp + s->total, elem)) in ipv6_cb()
1340 s->total += 4; in ipv6_cb()
1342 if (!ipv6_hex(s->tmp + s->total, elem, len)) in ipv6_cb()
1344 s->total += 2; in ipv6_cb()