Re: [HACKERS] cidr - Mailing list pgsql-hackers

From Matthew N. Dodd
Subject Re: [HACKERS] cidr
Date
Msg-id Pine.BSF.3.96.980720235332.10970k-100000@sasami.jurai.net
Whole thread Raw
In response to Re: [HACKERS] cidr  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
On Mon, 20 Jul 1998, Bruce Momjian wrote:
> As far as the name, we just want a name that makes it clear to novices
> what the module does.  ip_and_mac is pretty clear.  I have no idea what
> a cidr is.  If you can think of a more descriptive name, let's go for
> it.

I think most people who would use the IP related types do know what a CIDR
is.

An IP address should be just that, a discrete IP, no netmask, nothing.

A CIDR is a type able to represent a range of IP addresses (what one of
the previous patches did by storing an address and a netmask.)

MAC addresses speak for themselves.

I'll let others describe all the nifty functions that the first two types
will/can have (IP - IP, IP - CIDR, CIDR - CIDR).

/*
   Matthew N. Dodd        | A memory retaining a love you had for life
   winter@jurai.net        | As cruel as it seems nothing ever seems to
   http://www.jurai.net/~winter | go right - FLA M 3.1:53
*/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] cidr
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] cidr