Mercurial > hg > nginx-quic
view src/core/ngx_inet.h @ 387:236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 12 Jul 2004 15:30:22 +0000 |
parents | 0bf903191ceb |
children | da8c5707af39 |
line wrap: on
line source
#ifndef _NGX_INET_H_INCLUDED_ #define _NGX_INET_H_INCLUDED_ typedef struct { in_addr_t addr; in_addr_t mask; } ngx_inet_cidr_t; size_t ngx_sock_ntop(int family, struct sockaddr *addr, u_char *text, size_t len); size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr); #endif /* _NGX_INET_H_INCLUDED_ */