void net_rx_pkt_attach_iovec_ex(struct NetRxPkt *pkt,

                                const struct iovec *iov, int iovcnt,

                                size_t iovoff, bool strip_vlan,

                                uint16_t vet)

{

    uint16_t tci = 0;

    uint16_t ploff = iovoff;

    assert(pkt);

    pkt->vlan_stripped = false;



    if (strip_vlan) {

        pkt->vlan_stripped = eth_strip_vlan_ex(iov, iovcnt, iovoff, vet,

                                               pkt->ehdr_buf,

                                               &ploff, &tci);

    }



    pkt->tci = tci;



    net_rx_pkt_pull_data(pkt, iov, iovcnt, ploff);

}

void net_rx_pkt_attach_iovec_ex(struct NetRxPkt *pkt,

                                const struct iovec *iov, int iovcnt,

                                size_t iovoff, bool strip_vlan,

                                uint16_t vet)

{

    uint16_t tci = 0;

    uint16_t ploff = iovoff;

    assert(pkt);

    pkt->vlan_stripped = false;



    if (strip_vlan) {

        pkt->vlan_stripped = eth_strip_vlan_ex(iov, iovcnt, iovoff, vet,

                                               pkt->ehdr_buf,

                                               &ploff, &tci);

    }



    pkt->tci = tci;



    net_rx_pkt_pull_data(pkt, iov, iovcnt, ploff);

}

    pkt->vlan_stripped = false;     pkt->vlan_stripped = false;         pkt->vlan_stripped = eth_strip_vlan_ex(iov, iovcnt, iovoff, vet,                                                pkt->ehdr_buf,                                                &ploff, &tci);
void FUNC_0(struct NetRxPkt *VAR_0,

                                const struct iovec *VAR_1, int VAR_2,

                                size_t VAR_3, bool VAR_4,

                                uint16_t VAR_5)

{

    uint16_t tci = 0;

    uint16_t ploff = VAR_3;

    assert(VAR_0);

    VAR_0->vlan_stripped = false;



    if (VAR_4) {

        VAR_0->vlan_stripped = eth_strip_vlan_ex(VAR_1, VAR_2, VAR_3, VAR_5,

                                               VAR_0->ehdr_buf,

                                               &ploff, &tci);

    }



    VAR_0->tci = tci;



    net_rx_pkt_pull_data(VAR_0, VAR_1, VAR_2, ploff);

}

void FUNC_0(struct NetRxPkt *VAR_0,
const struct iovec *VAR_1, int VAR_2,
size_t VAR_3, bool VAR_4,
uint16_t VAR_5)
{ uint16_t tci = 0; uint16_t ploff = VAR_3; assert(VAR_0); VAR_0->vlan_stripped = false; if (VAR_4) { VAR_0->vlan_stripped = eth_strip_vlan_ex(VAR_1, VAR_2, VAR_3, VAR_5,
VAR_0->ehdr_buf,
&ploff, &tci); } VAR_0->tci = tci; net_rx_pkt_pull_data(VAR_0, VAR_1, VAR_2, ploff); }