Lines Matching defs:Nbuf
547 @param Nbuf Pointer to the buffer that contains the TCP
557 IN NET_BUF *Nbuf,
563 Checksum = NetbufChecksum (Nbuf);
568 HTONS ((UINT16) Nbuf->TotalSize)
576 segment Nbuf contains and fill it into a TCP_SEG structure.
579 @param Nbuf Pointer to the buffer contains the TCP segment.
587 IN OUT NET_BUF *Nbuf
593 Seg = TCPSEG_NETBUF (Nbuf);
594 Head = (TCP_HEAD *) NetbufGetByte (Nbuf, 0, NULL);
595 Nbuf->Tcp = Head;
599 Seg->End = Seg->Seq + (Nbuf->TotalSize - (Head->HeadLen << 2));
636 NET_BUF *Nbuf;
639 Nbuf = NetbufAlloc (TCP_MAX_HEAD);
641 if (Nbuf == NULL) {
646 Nbuf,
653 Nbuf->Tcp = Nhead;
665 Nhead->Checksum = TcpChecksum (Nbuf, Tcb->HeadSum);
667 TcpSendIpPacket (Tcb, Nbuf, Tcb->LocalEnd.Ip, Tcb->RemoteEnd.Ip);
669 NetbufFree (Nbuf);