mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
GCC 3.3 complains about anonymous structures in unions, so
give the fxp_ipcb structure a name in the fxp_rfa structure. Submitted by: peter Approved by: re (jhb)
This commit is contained in:
parent
6f1695d876
commit
4d340ec485
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115003
@ -291,18 +291,18 @@ struct fxp_cb_tx {
|
||||
* fetched along with the TxCB.
|
||||
*/
|
||||
union {
|
||||
struct fxp_ipcb;
|
||||
struct fxp_ipcb ipcb;
|
||||
struct fxp_tbd tbd[FXP_NTXSEG];
|
||||
} tx_cb_u;
|
||||
};
|
||||
|
||||
#define tbd tx_cb_u.tbd
|
||||
#define ipcb_schedule_low tx_cb_u.ipcb_schedule_low
|
||||
#define ipcb_ip_schedule tx_cb_u.ipcb_ip_schedule
|
||||
#define ipcb_ip_activation_high tx_cb_u.ipcb_ip_activation_high
|
||||
#define ipcb_vlan_id tx_cb_u.ipcb_vlan_id
|
||||
#define ipcb_ip_header_offset tx_cb_u.ipcb_ip_header_offset
|
||||
#define ipcb_tcp_header_offset tx_cb_u.ipcb_tcp_header_offset
|
||||
#define ipcb_schedule_low tx_cb_u.ipcb.ipcb_schedule_low
|
||||
#define ipcb_ip_schedule tx_cb_u.ipcb.ipcb_ip_schedule
|
||||
#define ipcb_ip_activation_high tx_cb_u.ipcb.ipcb_ip_activation_high
|
||||
#define ipcb_vlan_id tx_cb_u.ipcb.ipcb_vlan_id
|
||||
#define ipcb_ip_header_offset tx_cb_u.ipcb.ipcb_ip_header_offset
|
||||
#define ipcb_tcp_header_offset tx_cb_u.ipcb.ipcb_tcp_header_offset
|
||||
|
||||
/*
|
||||
* IPCB field definitions
|
||||
|
Loading…
Reference in New Issue
Block a user