From ab4e1dba3fe44a94c5bc425d737571bdc7b21fda Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 4 Dec 2006 22:04:10 +0000 Subject: Added nvo_save() --- src/include/gpxe/nvo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/nvo.h b/src/include/gpxe/nvo.h index f766508ce..90d4ff9b7 100644 --- a/src/include/gpxe/nvo.h +++ b/src/include/gpxe/nvo.h @@ -33,11 +33,17 @@ struct nvo_block { * The list is terminated by a fragment with a length of zero. */ struct nvo_fragment *fragments; + /** Total length of all fragments + * + * This field is filled in by nvo_register(). + */ + size_t total_len; /** DHCP options block */ struct dhcp_option_block *options; }; extern int nvo_register ( struct nvo_block *nvo ); +extern int nvo_save ( struct nvo_block *nvo ); extern void nvo_unregister ( struct nvo_block *nvo ); #endif /* _GPXE_NVO_H */ -- cgit v1.2.3-55-g7522