* is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate.
*
- * $Id: inet.c,v 1.1 1998/10/08 00:19:35 momjian Exp $
+ * $Id: inet.c,v 1.2 1998/10/08 02:08:44 momjian Exp $
*/
#include <sys/types.h>
#include <postgres.h>
#include <utils/palloc.h>
#include <utils/builtins.h>
-#include <utils/network.h>
+#include <utils/inet.h>
static int v4bitncmp(unsigned int a1, unsigned int a2, int bits);
/*
* PostgreSQL type definitions for MAC addresses.
*
- * $Id: mac.c,v 1.4 1998/10/08 00:19:36 momjian Exp $
+ * $Id: mac.c,v 1.5 1998/10/08 02:08:45 momjian Exp $
*/
#include <stdio.h>
#include <postgres.h>
#include <utils/palloc.h>
#include <utils/builtins.h>
-#include <utils/network.h>
+#include <utils/inet.h>
manufacturer manufacturers[] = {
{0x00, 0x00, 0x0C, "Cisco"},
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.58 1998/10/08 00:19:43 momjian Exp $
+ * $Id: builtins.h,v 1.59 1998/10/08 02:08:47 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
#include <utils/nabstime.h>
#include <utils/int8.h>
#include <utils/cash.h>
-#include <utils/network.h>
+#include <utils/inet.h>
#include <utils/rel.h>
/*