1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

New CIDR type and fixed INET type, from D'Arcy.

This commit is contained in:
Bruce Momjian
1998-10-21 16:06:50 +00:00
parent 56f96f56df
commit 858a3b570a
7 changed files with 161 additions and 29 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: inet.h,v 1.1 1998/10/08 00:19:45 momjian Exp $
* $Id: inet.h,v 1.2 1998/10/21 16:06:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,6 +21,7 @@ typedef struct
{
unsigned char family;
unsigned char bits;
unsigned char type;
union
{
unsigned int ipv4_addr; /* network byte order */