* Actually implemented the SO_BINDTODEVICE socket option I added some time ago.
* This makes it possible to select a specific device, even if no interface has been configured for it yet. To make it work, each interface now has a private direct route which will be returned if a socket is bound to a device. * This will be used for example in DHCP to make it work when more than one adapter is attached. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27983 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -29,6 +29,7 @@ typedef struct net_socket {
|
||||
|
||||
int options;
|
||||
int linger;
|
||||
int bound_to_device;
|
||||
|
||||
struct {
|
||||
uint32 buffer_size;
|
||||
|
||||
Reference in New Issue
Block a user