Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if.h
Show First 20 Lines • Show All 524 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
struct ifgroupreq { | struct ifgroupreq { | ||||
char ifgr_name[IFNAMSIZ]; | char ifgr_name[IFNAMSIZ]; | ||||
u_int ifgr_len; | u_int ifgr_len; | ||||
union { | union { | ||||
char ifgru_group[IFNAMSIZ]; | char ifgru_group[IFNAMSIZ]; | ||||
struct ifg_req *ifgru_groups; | struct ifg_req *ifgru_groups; | ||||
} ifgr_ifgru; | } ifgr_ifgru; | ||||
#ifndef _KERNEL | |||||
#define ifgr_group ifgr_ifgru.ifgru_group | #define ifgr_group ifgr_ifgru.ifgru_group | ||||
#define ifgr_groups ifgr_ifgru.ifgru_groups | #define ifgr_groups ifgr_ifgru.ifgru_groups | ||||
#endif | |||||
}; | }; | ||||
/* | /* | ||||
* Structure used to request i2c data | * Structure used to request i2c data | ||||
* from interface transceivers. | * from interface transceivers. | ||||
*/ | */ | ||||
struct ifi2creq { | struct ifi2creq { | ||||
uint8_t dev_addr; /* i2c address (0xA0, 0xA2) */ | uint8_t dev_addr; /* i2c address (0xA0, 0xA2) */ | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |