File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src / ippool.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:29 2013 UTC (10 years, 11 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_8p7, v5_8p1_cross, v5_8p1, v5_8, v5_7p0, v5_7, v5_6, HEAD
5.7


/*
 * ippool.h
 *
 * Written by Alexander Motin <mav@FreeBSD.org>
 */

#ifndef _IPPOOL_H_
#define _IPPOOL_H_

#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>

/*
 * DEFINITIONS
 */

/*
 * VARIABLES
 */

  extern const struct cmdtab IPPoolSetCmds[];

/*
 * FUNCTIONS
 */

  extern int	IPPoolGet(char *pool, struct u_addr *ip);
  extern void	IPPoolFree(char *pool, struct u_addr *ip);
  
  extern void	IPPoolInit(void);
  extern int	IPPoolStat(Context ctx, int ac, char *av[], void *arg);

#endif


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>