HomeSort by relevance Sort by last modified time
    Searched refs:Nbuf (Results 1 - 25 of 26) sorted by null

1 2

  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
NetBuffer.c 44 NET_BUF *Nbuf;
52 Nbuf = AllocateZeroPool (NET_BUF_SIZE (BlockOpNum));
54 if (Nbuf == NULL) {
58 Nbuf->Signature = NET_BUF_SIGNATURE;
59 Nbuf->RefCnt = 1;
60 Nbuf->BlockOpNum = BlockOpNum;
61 InitializeListHead (&Nbuf->List);
73 Nbuf->Vector = Vector;
76 return Nbuf;
80 FreePool (Nbuf);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
Tcp4Output.c 156 NET_BUF *Nbuf;
163 Nbuf = NET_LIST_USER_STRUCT (Entry, NET_BUF, List);
165 ASSERT (TCP_SEQ_GEQ (TCPSEG_NETBUF (Nbuf)->End, Tcb->SndNxt));
166 return TCPSEG_NETBUF (Nbuf)->End;
283 @param Nbuf Pointer to the buffer containing the segment to be sent out.
292 IN NET_BUF *Nbuf
301 ASSERT ((Nbuf != NULL) && (Nbuf->Tcp == NULL) && (TcpVerifySegment (Nbuf) != 0));
303 DataLen = Nbuf->TotalSize;
    [all...]
Tcp4Input.c 256 @param Nbuf Buffer that contains received TCP segment without IP header.
263 IN NET_BUF *Nbuf,
272 Seg = TCPSEG_NETBUF (Nbuf);
284 NetbufTrim (Nbuf, Nbuf->TotalSize, NET_BUF_HEAD);
316 NetbufTrim (Nbuf, Drop, NET_BUF_HEAD);
334 NetbufTrim (Nbuf, Drop, NET_BUF_TAIL);
338 ASSERT (TcpVerifySegment (Nbuf) != 0);
346 @param Nbuf Pointer to the NET_BUF containing the received tcp segment.
352 IN NET_BUF *Nbuf
    [all...]
Tcp4Option.c 106 @param Nbuf Pointer to the buffer to store the options.
114 IN NET_BUF *Nbuf
120 ASSERT ((Tcb != NULL) && (Nbuf != NULL) && (Nbuf->Tcp == NULL));
130 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) ||
134 Nbuf,
153 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) ||
157 Nbuf,
171 Data = NetbufAllocSpace (Nbuf, TCP_OPTION_MSS_LEN, 1);
185 @param Nbuf Pointer to the buffer to store the options.
    [all...]
Tcp4Func.h 163 @param Nbuf Pointer to the TCP segment to be sent.
174 IN NET_BUF *Nbuf,
330 @param Nbuf Buffer that contains the segment to be checked.
338 IN NET_BUF *Nbuf
426 @param Nbuf Buffer that contains part of the TCP segment without IP header
435 IN NET_BUF *Nbuf,
444 @param Nbuf Buffer that contains received TCP segment without IP header.
456 IN NET_BUF *Nbuf,
520 @param Nbuf Pointer to the NET_BUF containing the received tcp segment.
526 IN NET_BUF *Nbuf
    [all...]
Tcp4Option.h 86 @param Nbuf Pointer to the buffer to store the options.
94 IN NET_BUF *Nbuf
101 @param Nbuf Pointer to the buffer to store the options.
109 IN NET_BUF *Nbuf
Tcp4Misc.c 545 @param Nbuf Pointer to the buffer that contains the TCP
555 IN NET_BUF *Nbuf,
561 Checksum = NetbufChecksum (Nbuf);
566 HTONS ((UINT16) Nbuf->TotalSize)
574 segment Nbuf contains and fill it into a TCP_SEG structure.
577 @param Nbuf Pointer to the buffer contains the TCP segment.
585 IN OUT NET_BUF *Nbuf
591 Seg = TCPSEG_NETBUF (Nbuf);
592 Head = (TCP_HEAD *) NetbufGetByte (Nbuf, 0, NULL);
594 Nbuf->Tcp = Head;
    [all...]
Tcp4Io.c 52 @param Nbuf Pointer to the TCP segment to be sent.
63 IN NET_BUF *Nbuf,
104 Status = IpIoSend (IpIo, Nbuf, IpSender, NULL, NULL, &Destination, &Override);
Tcp4Driver.h 91 @param Nbuf Pointer to the TCP segment to be sent.
102 IN NET_BUF *Nbuf,
  /device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
TcpOutput.c 152 NET_BUF *Nbuf;
159 Nbuf = NET_LIST_USER_STRUCT (Entry, NET_BUF, List);
161 ASSERT (TCP_SEQ_GEQ (TCPSEG_NETBUF (Nbuf)->End, Tcb->SndNxt));
162 return TCPSEG_NETBUF (Nbuf)->End;
276 @param[in] Nbuf Pointer to the buffer containing the segment to be
286 IN NET_BUF *Nbuf
295 ASSERT ((Nbuf != NULL) && (Nbuf->Tcp == NULL) && (TcpVerifySegment (Nbuf) != 0));
297 DataLen = Nbuf->TotalSize;
    [all...]
TcpInput.c 280 @param[in] Nbuf The buffer that contains a received TCP segment without an IP header.
287 IN NET_BUF *Nbuf,
296 Seg = TCPSEG_NETBUF (Nbuf);
308 NetbufTrim (Nbuf, Nbuf->TotalSize, NET_BUF_HEAD);
340 NetbufTrim (Nbuf, Drop, NET_BUF_HEAD);
358 NetbufTrim (Nbuf, Drop, NET_BUF_TAIL);
362 ASSERT (TcpVerifySegment (Nbuf) != 0);
369 @param[in] Nbuf Pointer to the NET_BUF containing the received tcp segment.
375 IN NET_BUF *Nbuf
    [all...]
TcpOption.c 104 @param[in] Nbuf Pointer to the buffer to store the options.
112 IN NET_BUF *Nbuf
118 ASSERT ((Tcb != NULL) && (Nbuf != NULL) && (Nbuf->Tcp == NULL));
128 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) ||
133 Nbuf,
152 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) ||
157 Nbuf,
171 Data = NetbufAllocSpace (Nbuf, TCP_OPTION_MSS_LEN, 1);
184 @param[in] Nbuf Pointer to the buffer to store the options.
    [all...]
TcpOption.h 86 @param[in] Nbuf Pointer to the buffer to store the options.
94 IN NET_BUF *Nbuf
101 @param[in] Nbuf Pointer to the buffer to store the options.
109 IN NET_BUF *Nbuf
TcpMisc.c 653 @param[in] Nbuf Pointer to the buffer that contains the TCP segment.
661 IN NET_BUF *Nbuf,
667 Checksum = NetbufChecksum (Nbuf);
672 HTONS ((UINT16) Nbuf->TotalSize)
680 segment Nbuf contents and fill it into a TCP_SEG structure.
683 @param[in, out] Nbuf Pointer to the buffer contains the TCP segment.
691 IN OUT NET_BUF *Nbuf
697 Seg = TCPSEG_NETBUF (Nbuf);
698 Head = (TCP_HEAD *) NetbufGetByte (Nbuf, 0, NULL);
701 Nbuf->Tcp = Head;
    [all...]
TcpFunc.h 177 @param[in] Nbuf Pointer to the buffer that contains the TCP segment.
185 IN NET_BUF *Nbuf,
191 segment Nbuf contains, and fill it into a TCP_SEG structure.
194 @param[in, out] Nbuf Pointer to the buffer contains the TCP segment.
202 IN OUT NET_BUF *Nbuf
449 @param[in] Nbuf Buffer that contains the segment to be checked.
457 IN NET_BUF *Nbuf
467 @param[in] Nbuf Buffer that contains part of the TCP segment without IP header
478 IN NET_BUF *Nbuf,
488 @param[in] Nbuf Buffer that contains received TCP segment without an IP header.
    [all...]
TcpIo.c 58 @param[in] Nbuf Pointer to the TCP segment to be sent.
70 IN NET_BUF *Nbuf,
136 Status = IpIoSend (IpIo, Nbuf, IpSender, NULL, NULL, Dest, &Override);
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
MnpIo.c 341 if (RxDataWrap->Nbuf->RefCnt > 2) {
343 // There are other instances share this Nbuf, duplicate to get a
348 DEBUG ((EFI_D_WARN, "MnpDeliverPacket: Failed to allocate a free Nbuf.\n"));
356 NetbufDuplicate (RxDataWrap->Nbuf, DupNbuf, 0);
357 MnpFreeNbuf (MnpDeviceData, RxDataWrap->Nbuf);
358 RxDataWrap->Nbuf = DupNbuf;
373 RxData->MediaHeader = NetbufGetByte (RxDataWrap->Nbuf, 0, NULL);
450 ASSERT (RxDataWrap->Nbuf != NULL);
456 // Free this Nbuf.
458 MnpFreeNbuf (MnpDeviceData, RxDataWrap->Nbuf);
    [all...]
MnpConfig.c 68 NET_BUF *Nbuf;
75 Nbuf = NetbufAlloc (MnpDeviceData->BufferLength + MnpDeviceData->PaddingSize);
76 if (Nbuf == NULL) {
87 NetbufAllocSpace (Nbuf, MnpDeviceData->PaddingSize, NET_BUF_TAIL);
88 NetbufTrim (Nbuf, MnpDeviceData->PaddingSize, NET_BUF_HEAD);
91 NetbufQueAppend (&MnpDeviceData->FreeNbufQue, Nbuf);
117 NET_BUF *Nbuf;
136 Nbuf = NULL;
155 Nbuf = NetbufQueRemove (FreeNbufQue);
160 if (Nbuf != NULL) {
    [all...]
MnpVlan.h 47 @param[in, out] Nbuf Pointer to the NET_BUF to remove VLAN tag.
57 IN OUT NET_BUF *Nbuf,
MnpImpl.h 93 NET_BUF *Nbuf;
457 Try to reclaim the Nbuf into the buffer pool.
460 @param[in, out] Nbuf Pointer to the NET_BUF to free.
466 IN OUT NET_BUF *Nbuf
    [all...]
MnpVlan.c 117 @param[in, out] Nbuf Pointer to the NET_BUF to remove VLAN tag.
127 IN OUT NET_BUF *Nbuf,
141 Packet = NetbufGetByte (Nbuf, 0, NULL);
165 // Remove VLAN tag from the Nbuf
167 NetbufTrim (Nbuf, NET_VLAN_TAG_LEN, NET_BUF_HEAD);
  /device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
NetLib.h     [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
Mtftp6Support.c 479 NET_BUF *Nbuf;
529 if ((Nbuf = NetbufAlloc (BufferLength)) == NULL) {
536 Packet = (EFI_MTFTP6_PACKET *) NetbufAllocSpace (Nbuf, BufferLength, FALSE);
578 Instance->LastPacket = Nbuf;
581 return Mtftp6TransmitPacket (Instance, Nbuf);
604 NET_BUF *Nbuf;
612 Nbuf = NetbufAlloc (Len);
614 if (Nbuf == NULL) {
618 TftpError = (EFI_MTFTP6_PACKET *) NetbufAllocSpace (Nbuf, Len, FALSE);
621 NetbufFree (Nbuf);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
Mtftp4Support.c 282 NET_BUF *Nbuf;
315 if ((Nbuf = NetbufAlloc (BufferLength)) == NULL) {
319 Packet = (EFI_MTFTP4_PACKET *) NetbufAllocSpace (Nbuf, BufferLength, FALSE);
351 return Mtftp4SendPacket (Instance, Nbuf);
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
IScsiProto.c 506 NET_BUF *Nbuf;
512 Nbuf = NetbufAlloc (sizeof (ISCSI_LOGIN_REQUEST) + DEFAULT_MAX_RECV_DATA_SEG_LEN);
513 if (Nbuf == NULL) {
517 LoginReq = (ISCSI_LOGIN_REQUEST *) NetbufAllocSpace (Nbuf, sizeof (ISCSI_LOGIN_REQUEST), NET_BUF_TAIL);
547 return Nbuf;
552 Status = IScsiCHAPToSendReq (Conn, Nbuf);
556 Status = IScsiFillOpParams (Conn, Nbuf);
569 NetbufFree (Nbuf);
570 Nbuf = NULL;
575 IScsiPadSegment (Nbuf, ISCSI_GET_DATASEG_LEN (LoginReq));
    [all...]

Completed in 79 milliseconds

1 2