inet.h (0c927cdd8e6e05387fc5a9ffcb5dbe128d4ad749) | inet.h (0bb263df82e129f5f8c82da6deb55dfe10daa677) |
---|---|
1/* 2 * ++Copyright++ 1983, 1993 3 * - 4 * Copyright (c) 1983, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 134 unchanged lines hidden (view full) --- 143uint32_t htonl(uint32_t); 144uint16_t htons(uint16_t); 145uint32_t ntohl(uint32_t); 146uint16_t ntohs(uint16_t); 147#endif 148 149in_addr_t inet_addr(const char *); 150/*const*/ char *inet_ntoa(struct in_addr); | 1/* 2 * ++Copyright++ 1983, 1993 3 * - 4 * Copyright (c) 1983, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 134 unchanged lines hidden (view full) --- 143uint32_t htonl(uint32_t); 144uint16_t htons(uint16_t); 145uint32_t ntohl(uint32_t); 146uint16_t ntohs(uint16_t); 147#endif 148 149in_addr_t inet_addr(const char *); 150/*const*/ char *inet_ntoa(struct in_addr); |
151char *inet_ntoa_r(struct in_addr, char *buf); | 151char *inet_ntoa_r(struct in_addr, char *buf, socklen_t size); |
152const char *inet_ntop(int, const void * __restrict, char * __restrict, 153 socklen_t); 154int inet_pton(int, const char * __restrict, void * __restrict); 155 156#if __BSD_VISIBLE 157int ascii2addr(int, const char *, void *); 158char *addr2ascii(int, const void *, int, char *); 159int inet_aton(const char *, struct in_addr *); --- 25 unchanged lines hidden --- | 152const char *inet_ntop(int, const void * __restrict, char * __restrict, 153 socklen_t); 154int inet_pton(int, const char * __restrict, void * __restrict); 155 156#if __BSD_VISIBLE 157int ascii2addr(int, const char *, void *); 158char *addr2ascii(int, const void *, int, char *); 159int inet_aton(const char *, struct in_addr *); --- 25 unchanged lines hidden --- |