File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src / ippool.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:39:23 2021 UTC (3 years, 9 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, HEAD
mpd 5.9


/*
 * 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, const char *const av[], const void *arg);

#endif


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