e1000e_write_ext_rx_descr(E1000ECore *core, uint8_t *desc,

                          struct NetRxPkt *pkt,

                          const E1000E_RSSInfo *rss_info,

                          uint16_t length)

{

    union e1000_rx_desc_extended *d = (union e1000_rx_desc_extended *) desc;



    memset(d, 0, sizeof(*d));



    d->wb.upper.length = cpu_to_le16(length);



    e1000e_build_rx_metadata(core, pkt, pkt != NULL,

                             rss_info,

                             &d->wb.lower.hi_dword.rss,

                             &d->wb.lower.mrq,

                             &d->wb.upper.status_error,

                             &d->wb.lower.hi_dword.csum_ip.ip_id,

                             &d->wb.upper.vlan);

}

e1000e_write_ext_rx_descr(E1000ECore *core, uint8_t *desc,

                          struct NetRxPkt *pkt,

                          const E1000E_RSSInfo *rss_info,

                          uint16_t length)

{

    union e1000_rx_desc_extended *d = (union e1000_rx_desc_extended *) desc;



    memset(d, 0, sizeof(*d));



    d->wb.upper.length = cpu_to_le16(length);



    e1000e_build_rx_metadata(core, pkt, pkt != NULL,

                             rss_info,

                             &d->wb.lower.hi_dword.rss,

                             &d->wb.lower.mrq,

                             &d->wb.upper.status_error,

                             &d->wb.lower.hi_dword.csum_ip.ip_id,

                             &d->wb.upper.vlan);

}

    memset(d, 0, sizeof(*d));     memset(d, 0, sizeof(*d));     memset(d, 0, sizeof(*d));
FUNC_0(E1000ECore *VAR_0, uint8_t *VAR_1,

                          struct NetRxPkt *VAR_2,

                          const E1000E_RSSInfo *VAR_3,

                          uint16_t VAR_4)

{

    union e1000_rx_desc_extended *VAR_5 = (union e1000_rx_desc_extended *) VAR_1;



    memset(VAR_5, 0, sizeof(*VAR_5));



    VAR_5->wb.upper.VAR_4 = cpu_to_le16(VAR_4);



    e1000e_build_rx_metadata(VAR_0, VAR_2, VAR_2 != NULL,

                             VAR_3,

                             &VAR_5->wb.lower.hi_dword.rss,

                             &VAR_5->wb.lower.mrq,

                             &VAR_5->wb.upper.status_error,

                             &VAR_5->wb.lower.hi_dword.csum_ip.ip_id,

                             &VAR_5->wb.upper.vlan);

}

FUNC_0(E1000ECore *VAR_0, uint8_t *VAR_1,
struct NetRxPkt *VAR_2,
const E1000E_RSSInfo *VAR_3,
uint16_t VAR_4)
{ union e1000_rx_desc_extended *VAR_5 = (union e1000_rx_desc_extended *) VAR_1; memset(VAR_5, 0, sizeof(*VAR_5)); VAR_5->wb.upper.VAR_4 = cpu_to_le16(VAR_4); e1000e_build_rx_metadata(VAR_0, VAR_2, VAR_2 != NULL,
VAR_3,
&VAR_5->wb.lower.hi_dword.rss,
&VAR_5->wb.lower.mrq,
&VAR_5->wb.upper.status_error,
&VAR_5->wb.lower.hi_dword.csum_ip.ip_id,
&VAR_5->wb.upper.vlan); }