[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PL/SQL & CIDR?
- Subject: PL/SQL & CIDR?
- From: sethm at rollernet.us (Seth Mattinen)
- Date: Fri, 12 Mar 2010 18:06:59 -0800
- In-reply-to: <[email protected]>
- References: <[email protected]>
On 3/12/2010 09:13, J.D. Falk wrote:
> Does anyone know of a library, sample code, etc. to help Oracle PL/SQL do CIDR math?
>
Not exactly sample code, but: I do that with MySQL by storing the IP as
its integer value and using simple comparisons to see if that stored
value is within the range of values that a given CIDR mask represents.
Works great for IPv4 and IPv6 addresses.
~Seth