File: phn.h

package info (click to toggle)
ion 3.2.1%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,768 kB
  • ctags: 11,049
  • sloc: ansic: 141,798; sh: 22,848; makefile: 7,818; python: 1,638; sql: 311; perl: 197; awk: 178; xml: 50; java: 19
file content (26 lines) | stat: -rw-r--r-- 935 bytes parent folder | download | duplicates (2)
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 *);