Mercurial > hg > nginx-quic
view src/core/ngx_inet.h @ 478:e6576f690993
release-0.1.13 tag
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Dec 2004 12:30:30 +0000 |
parents | 42d11f017717 |
children | c52408583801 |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #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_ */