Add priority mechanism

This commit is contained in:
Michael Brown
2006-06-28 13:48:02 +00:00
parent bd0c8b21ad
commit 291f072b82
2 changed files with 76 additions and 16 deletions

View File

@@ -84,4 +84,13 @@ struct dhcp_option_block {
size_t len;
};
extern unsigned long dhcp_num_option ( struct dhcp_option *option );
extern struct dhcp_option * find_dhcp_option ( unsigned int tag,
struct dhcp_option_block *options );
static inline unsigned long
find_dhcp_num_option ( unsigned int tag, struct dhcp_option_block *options ) {
return dhcp_num_option ( find_dhcp_option ( tag, options ) );
}
#endif /* _GPXE_DHCP_H */