* We now use a FreeBSD compatible ifmediareq structure for SIOCIFMEDIA, and
SIOCSIFMEDIA. * Made sure that the two media ioctls are actually forwarded to the driver. * Added NetworkDevice.cpp to the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39389 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -64,6 +64,18 @@ struct ifaliasreq {
|
||||
uint32_t ifra_flags;
|
||||
};
|
||||
|
||||
/* used with SIOCGIFMEDIA */
|
||||
struct ifmediareq {
|
||||
char ifm_name[IF_NAMESIZE];
|
||||
int ifm_current;
|
||||
int ifm_mask;
|
||||
int ifm_status;
|
||||
int ifm_active;
|
||||
int ifm_count;
|
||||
int* ifm_ulist;
|
||||
};
|
||||
|
||||
|
||||
/* interface flags */
|
||||
#define IFF_UP 0x0001
|
||||
#define IFF_BROADCAST 0x0002 /* valid broadcast address */
|
||||
|
||||
Reference in New Issue
Block a user