Forgot the header update for BBMD getter and setters.
Revised gateway demo to use the new device_init(NULL) way. Eliminated triplicate I-Am responses and deprecated the offending routed_ I-Am and I-Have senders (don't see any other usages; scheduled for deletion in 2/2012). Fixed I-Am sender to not always zero out dest->net, because if a src->net was given in Who-Is, need to have it or else global bcast in the I-Am response.
This commit is contained in:
@@ -37,10 +37,10 @@ extern "C" {
|
||||
uint16_t elapsed_seconds);
|
||||
|
||||
/* Simple setters and getter. */
|
||||
void set_bbmd_address( long address );
|
||||
void set_bbmd_port( int port );
|
||||
void set_bbmd_ttl( int ttl_secs );
|
||||
int get_bbmd_result( void );
|
||||
void dlenv_bbmd_address_set( long address );
|
||||
void dlenv_bbmd_port_set( int port );
|
||||
void dlenv_bbmd_ttl_set( int ttl_secs );
|
||||
int dlenv_bbmd_result( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user