/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2000-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* prefix table private interface
*
* Glenn Fowler
* AT&T Research
*/
#ifndef _PTVPREFIX_PRIVATE_
#define _PTVPREFIX_PRIVATE_ \
#define _PTV_PRIVATE_ \
int nr; \
unsigned char* a;
#include <cdt.h>
#include <fv.h>
#include <ip6.h>
#include <error.h>
#include "ptv.h"
#define PTVSCAN(t,b,s) \
do \
{ \
Ptvprefix_t* _pt_p; \
unsigned int b; \
for (_pt_p = (Ptvprefix_t*)dtfirst((t)->dict); _pt_p; _pt_p = (Ptvprefix_t*)dtnext((t)->dict, _pt_p)) \
{ \
do \
{ \
b = (t)->size * 8; \
for (;;) \
{ \
break; \
break; \
break; \
b--; \
} \
s; \
if (!b) \
break; \
break; \
} \
} while (0)
#endif