nginx-quic/src/core/ngx_inet.h

19 lines
408 B
C
Raw Normal View History

2002-12-15 03:25:09 -03:00
#ifndef _NGX_INET_H_INCLUDED_
#define _NGX_INET_H_INCLUDED_
2004-05-25 11:28:46 -04:00
typedef struct {
in_addr_t addr;
in_addr_t mask;
} ngx_inet_cidr_t;
2004-03-16 03:10:12 -04:00
size_t ngx_sock_ntop(int family, struct sockaddr *addr, u_char *text,
size_t len);
2004-03-16 09:35:20 -04:00
size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len);
2002-12-15 03:25:09 -03:00
2004-05-25 11:28:46 -04:00
ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr);
2002-12-15 03:25:09 -03:00
#endif /* _NGX_INET_H_INCLUDED_ */