1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/*
* phn.h: definitions supporting implementation of
* the Previous Hop Node (PHN) block.
*
* Copyright (c) 2009, California Institute of Technology.
* ALL RIGHTS RESERVED. U.S. Government Sponsorship
* acknowledged.
*
* Author: Scott Burleigh, JPL
*/
#include "bei.h"
#define EXTENSION_TYPE_PHN 5
extern int phn_offer(ExtensionBlock *, Bundle *);
extern void phn_release(ExtensionBlock *);
extern int phn_record(ExtensionBlock *, AcqExtBlock *);
extern int phn_copy(ExtensionBlock *, ExtensionBlock *);
extern int phn_processOnFwd(ExtensionBlock *, Bundle *, void *);
extern int phn_processOnAccept(ExtensionBlock *, Bundle *, void *);
extern int phn_processOnEnqueue(ExtensionBlock *, Bundle *, void *);
extern int phn_processOnDequeue(ExtensionBlock *, Bundle *, void *);
extern int phn_acquire(AcqExtBlock *, AcqWorkArea *);
extern int phn_check(AcqExtBlock *, AcqWorkArea *);
extern void phn_clear(AcqExtBlock *);
|