1 char temp
[] = "192.168.190.160";
2 unsigned result
= (((((192u<<8)|168u)<<8)|190u)<<8)|160u;
4 int strtoul1(const char *a
, char **b
, int c
) __attribute__((noinline
, noclone
));
5 int strtoul1(const char *a
, char **b
, int c
)
14 else if (a
== temp
+12)
19 int string_to_ip(const char *s
) __attribute__((noinline
,noclone
));
20 int string_to_ip(const char *s
)
29 for (addr
=0, i
=0; i
<4; ++i
) {
30 int val
= s
? strtoul1(s
, &e
, 10) : 0;
43 int t
= string_to_ip (temp
);
45 printf ("%x\n", result
);