Comtrol eCos User Manual
Page 498
Advertising
Chapter 35. Configuring IP Addresses
•
As readable example code from which further development might start.
If your application has different requirements for bringing up available network interfaces, setting up routes, de-
termining IP addresses and the like from the defaults that the example code provides, you can write your own
initialization code to use whatever sequence of
ioctl()
function calls carries out the desired setup. Analogously,
in larger systems, a sequence of “ifconfig” invocations is used; these mostly map to
ioctl()
calls to manipulate
the state of the interface in question.
394
Advertising