[klibc] the return value of packet_peek()

H. Peter Anvin hpa at zytor.com
Wed Mar 11 21:45:14 PDT 2009

Shou-Lien Chen wrote:
> There are two questions:
> 1. Are you plan to make ipconfig work with network card which already
> have an ip?

No.  It's not a full-blown DHCP client; it's "fire and forget".

> 2. Is it safely to change the return value to -1 in discard_pkg lable
> of packet_peek()?

Have to think about it, but I suspect so.


H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

More information about the klibc mailing list