1 |
XXX Before check in: |
-*- Mode: Outline -*- |
2 |
|
|
3 |
Rework changeif.c |
* Before release: |
4 |
Implement flags support in changeif.c and options.c |
|
5 |
Fix and move if_index.c to libinetutils. |
** Implement flags support in changeif.c and options.c |
6 |
Fix system.c, system.h stuff. |
** Fix and move if_index.c to libinetutils. |
7 |
|
** Port to BSD. |
8 |
XXX Some systems can provide more interfaces than SIOCGIFCONF/if_nameindex, |
** Make sure it is a drop in replacement at least for the most |
9 |
interfaces which are usually not UP but registered nevertheless. |
common options on Linux and BSD. |
10 |
(linux: /prov/net/dev). Some support for that? |
|
11 |
|
* Some systems can provide more interfaces than |
12 |
XXX Honour IFF_CANTCHANGE when working in flag setting in brdaddr, |
SIOCGIFCONF/if_nameindex, interfaces which are usually not UP but |
13 |
dstaddr, etc. |
registered nevertheless. |
14 |
|
(linux: /prov/net/dev). Some support for that? |
15 |
XXX We could put the option parsing (invocation of getopt_long) into a function |
|
16 |
like parse_opt_rest, which could be used by system_parse_opt_rest to continue |
* Honour IFF_CANTCHANGE when working in flag setting in brdaddr, |
17 |
parsing the options as usual after processing a not-option. |
dstaddr, etc. |
18 |
|
|
19 |
XXX Is it necessary to merge long/short options intelligently? |
* We could put the option parsing (invocation of getopt_long) into a |
20 |
For example, if a system specific option shadows a normal option? |
function like parse_opt_rest, which could be used by |
21 |
Allow this? |
system_parse_opt_rest to continue parsing the options as usual after |
22 |
|
processing a non-option. |
23 |
|
|
24 |
|
* Is it necessary to merge long/short options intelligently? |
25 |
|
For example, if a system specific option shadows a normal option? |
26 |
|
Allow this? |