Lines Matching defs:Hdr
244 VNETHDR Hdr;
787 VNETHDRMRX Hdr;
796 Hdr.Hdr.u8Flags = VNETHDR_F_NEEDS_CSUM;
800 Hdr.Hdr.u8GSOType = VNETHDR_GSO_TCPV4;
801 Hdr.Hdr.u16CSumOffset = RT_OFFSETOF(RTNETTCP, th_sum);
804 Hdr.Hdr.u8GSOType = VNETHDR_GSO_TCPV6;
805 Hdr.Hdr.u16CSumOffset = RT_OFFSETOF(RTNETTCP, th_sum);
808 Hdr.Hdr.u8GSOType = VNETHDR_GSO_UDP;
809 Hdr.Hdr.u16CSumOffset = RT_OFFSETOF(RTNETUDP, uh_sum);
814 Hdr.Hdr.u16HdrLen = pGso->cbHdrsTotal;
815 Hdr.Hdr.u16GSOSize = pGso->cbMaxSeg;
816 Hdr.Hdr.u16CSumStart = pGso->offHdr2;
821 Hdr.Hdr.u8Flags = 0;
822 Hdr.Hdr.u8GSOType = VNETHDR_GSO_NONE;
870 elem.aSegsIn[nSeg++].pv = &Hdr;
891 Hdr.u16NumBufs = nElem;
893 &Hdr, sizeof(Hdr));
1207 VNETHDR Hdr;
1211 &Hdr, sizeof(Hdr));
1217 pGso = vnetSetupGsoCtx(&Gso, &Hdr);
1241 //if (pGso->cbHdrs < Hdr.u16CSumStart + Hdr.u16CSumOffset + 2)
1249 pGso->cbHdrsTotal = Hdr.u16CSumStart +
1250 ((PRTNETTCP)(((uint8_t*)pSgBuf->aSegs[0].pvSeg) + Hdr.u16CSumStart))->th_off * 4;
1254 pGso->cbHdrsTotal = (uint8_t)(Hdr.u16CSumStart + sizeof(RTNETUDP));
1255 pGso->cbHdrsSeg = Hdr.u16CSumStart;
1269 else if (Hdr.u8Flags & VNETHDR_F_NEEDS_CSUM)
1276 Hdr.u16CSumStart, Hdr.u16CSumOffset);