Hi Mike,
On Fri, Feb 3, 2012 at 6:37 AM, Mike Frysinger wrote:
> On Thursday 19 January 2012 19:53:25 Joe Hershberger wrote:
>> @@ -627,6 +639,12 @@ NetSendUDPPacket
>>
>> + /* make sure the NetTxPacket is initialized (NetInit() was called) */
>> + if (NetTxPacket == NULL) {
>> +
On Thursday 19 January 2012 19:53:25 Joe Hershberger wrote:
> --- a/include/net.h
> +++ b/include/net.h
>
> -extern int NetLoop(enum proto_t);
> +extern int NetLoop(enum proto_t protocol);
explicit variable names are unnecessary when the type is self explanatory
> --- a/net/net.c
> +++ b/net/n
A new non-static function NetInit() will initialize buffers and read
from the env
Only update from the env on each entry to NetLoop()
Check when attempting to send a packet that the buffers were initialized
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include/net
3 matches
Mail list logo