libos-nuse / net-next-nuse

Network Stack in Userspace
Other
289 stars 67 forks source link

handle kernel boot parameters #28

Open thehajime opened 9 years ago

thehajime commented 9 years ago

like 'linux ip=dhcp'.

from getenv(2) ?

upa commented 9 years ago

Do you need all kernel parameters ? or dhcp only ?

as just an idea, I start to write bootp (not dhcp) client functionality for nuse process. bootp branch : https://github.com/libos-nuse/net-next-nuse/commit/d0866b787c9328d046821d3305aa71c3f010f51d if bootp is specified in config file, it sends bootp request and waits reply in nuse_netdev_create().

now, but read(2) does not work with raw socket...