Searched refs:do_digit (Results 1 – 2 of 2) sorted by relevance
/external/iproute2/lib/ |
D | dnet_ntop.c | 19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len… in do_digit() function 55 if (do_digit(str + pos, &area, 10, &pos, len, &started)) in dnet_ntop1() 58 if (do_digit(str + pos, &area, 1, &pos, len, &started)) in dnet_ntop1() 68 if (do_digit(str + pos, &addr, 1000, &pos, len, &started)) in dnet_ntop1() 71 if (do_digit(str + pos, &addr, 100, &pos, len, &started)) in dnet_ntop1() 74 if (do_digit(str + pos, &addr, 10, &pos, len, &started)) in dnet_ntop1() 77 if (do_digit(str + pos, &addr, 1, &pos, len, &started)) in dnet_ntop1()
|
D | ipx_ntop.c | 7 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) in do_digit() function 33 if (do_digit(str + pos, ntohl(addr->ipx_net), i, &pos, len)) in ipx_ntop1() 43 if (do_digit(str + pos, addr->ipx_node[i], 1, &pos, len)) in ipx_ntop1() 45 if (do_digit(str + pos, addr->ipx_node[i], 0, &pos, len)) in ipx_ntop1()
|