Added ability to get "my" netmask from the OS-specific network code, so we could construct subnet broadcasts from source addresses.
(Haven't hooked up code to actually do that, yet.)
This commit is contained in:
@@ -94,6 +94,12 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <netdb.h>
|
||||
|
||||
/** @file linux/net.h Includes Linux network headers. */
|
||||
|
||||
/* Local helper functions for this port */
|
||||
extern int bip_get_local_netmask(
|
||||
struct in_addr *netmask );
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/** @file linux/net.h Includes Linux network headers. */
|
||||
|
||||
Reference in New Issue
Block a user