In bvlc.c, IP address and port number are always in the network byte order (including FD_Table[] and BBMD_Table[]).

The only left hton and ntoh functions are in debug_printf() and test functions.
This commit is contained in:
bacpack
2010-11-05 19:30:20 +00:00
parent a639864cc8
commit d50eb7fef7
3 changed files with 52 additions and 70 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ extern "C" {
#endif
/* registers with a bbmd as a foreign device */
void bvlc_register_with_bbmd(
long bbmd_address, /* in network byte order */
uint16_t bbmd_port,
uint32_t bbmd_address, /* in network byte order */
uint16_t bbmd_port, /* in network byte order */
uint16_t time_to_live_seconds);
uint16_t bvlc_receive(