Rev 4243 | Rev 4350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4243 | Rev 4261 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | 32 | ||
33 | /** @file |
33 | /** @file |
34 | * |
34 | * |
35 | */ |
35 | */ |
36 | 36 | ||
- | 37 | #include <errno.h> |
|
37 | #include <mem.h> |
38 | #include <mem.h> |
38 | #include <stdio.h> |
39 | #include <stdio.h> |
39 | 40 | ||
40 | #include "include/sockaddr.h" |
41 | #include "include/sockaddr.h" |
41 | #include "include/socket.h" |
42 | #include "include/socket.h" |
42 | 43 | ||
43 | #include "err.h" |
- | |
44 | - | ||
45 | int inet_pton( uint16_t family, const char * address, uint8_t * data ){ |
44 | int inet_pton( uint16_t family, const char * address, uint8_t * data ){ |
46 | const char * next; |
45 | const char * next; |
47 | char * last; |
46 | char * last; |
48 | int index; |
47 | int index; |
49 | int count; |
48 | int count; |