Lines Matching defs:tmp
69 char tmp[MAX_IPv4_STR_LEN]; /* max length of ipv4 addr string */
77 fulllen = snprintf(tmp, sizeof(tmp), "%d.%d.%d.%d",
83 bcopy(tmp, buf, fulllen + 1);
91 char hexa[8][5], tmp[MAX_IPv6_STR_LEN];
101 bzero(tmp, sizeof(tmp));
110 len = snprintf(tmp, sizeof(tmp), "::%s%s", (i != 0) ? "ffff:" : "",
113 bcopy(tmp, dst, len + 1);
189 if (i == 0) tmp[len++] = ':';
190 tmp[len++] = ':';
194 for (j = 0; hexa[i][j] != '\0'; j++) tmp[len++] = hexa[i][j];
195 if (i != 7) tmp[len++] = ':';
202 bcopy(tmp, dst, len);