lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] PBUFS


From: Muhamad Ikhwan Ismail
Subject: RE: [lwip-users] PBUFS
Date: Tue, 4 Mar 2008 12:30:54 +0000

        Hi,
        I had the same project integrating lwIP into MPC852T running an RTOS. I used PBUF_POOL for the data reception when i linked the pbufs to the buffer descriptor,
        this way i dont have to allocate memory for each pbufs.
        As for transmission it depends on which API you use. You really dont have to do much about pbufs, except initialising them with memory
        and linking them to the CPM buffer descriptor before reception
        and transmission. I used socket API, so UDP uses PBUF_REF/ROM as it just references the data it got from application, while TCP uses PBUF_RAM as it copies the
        data from the appplication buffer into the packet buffer.
 
        Hope that helps.
 
 
        Greetings
        M Ikhwan Ismail





From: address@hidden
To: address@hidden
Date: Tue, 4 Mar 2008 16:36:33 +0530th
Subject: [lwip-users] PBUFS

Dear All,

 

I am new to the lwIP stack and trying to use it on mpc852 powerpc processor …

 

I am trying to understand it but have difficulty to understand the significance and usage of PUF_RAM, PBUF_ROM and PUB_POOL.

I am not able to understand which one to use and when to use ? ? ?

 

Any information regarding it will be really helpful for me to proceed.

So waiting for your prompt reply, thank you …

 

Kind Regards,

Vijay


Email Disclaimer:
-------------------------
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Computer viruses can be transmitted via email.The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Using Symantec Hosted Mail Outbound Server


Connect and share in new ways with Windows Live. Get it now!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]