Home | History | Annotate | Download | only in lib

Lines Matching refs:str

20 static int ipx_getnet(u_int32_t *net, const char *str)
25 for(i = 0; *str && (i < 8); i++) {
27 if ((tmp = hexget(*str)) & 0xf0) {
28 if (*str == '.')
34 str++;
39 if (*str == 0)
45 static int ipx_getnode(u_int8_t *node, const char *str)
51 if ((tmp = hexget(*str++)) & 0xf0)
55 if ((tmp = hexget(*str++)) & 0xf0)
58 if (*str == ':')
59 str++;