changeset 1365:2320af12ba95 draft

Update cleanup page, now linking to descriptions of all of the ifconfig cleanup.
author Rob Landley <>
date Fri, 27 Jun 2014 22:26:02 -0500
parents 94677e7b6d97
children 4cf313dbd885
files www/cleanup.html
diffstat 1 files changed, 14 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/www/cleanup.html	Thu Jun 26 07:25:20 2014 -0500
+++ b/www/cleanup.html	Fri Jun 27 22:26:02 2014 -0500
@@ -168,9 +168,15 @@
 <li>commit: <a href=/hg/toybox/rev/862>862</a>, description:
 <a href=>remove unused headers and function, replace local buffer with toybuf, perror_exit(), avoid unnecessary assignment.</a></li>
 <li>commit: <a href=/hg/toybox/rev/864>864</a>, description:
-<a href=>blah</a></li>
+<a href=>use common linked list functions, inline set_data, add xioctl, clean up error messages, whitespace and comment tweaks, remove NOP return statements</a></li>
 <li>commit: <a href=/hg/toybox/rev/866>866</a>, description:
-<a href=>blah</a></li>
+<a href=>move standalone globals into GLOBALS() block, collate structs into
+iface_list. Inline/rewrite/remove field_format, iface_flags_str,
+omit_whitespace(), print_iface_flags(), print_media(), get_ifconfig_info(),
+and clear_list(). Merge duplicate function
+calls. Show get_proc_info() version field can't matter in 2.6 or newer kernel,
+and that SIOCGIFMAP has been there since 1994 so doesn't need an #ifdef.
+Loop simplification in readconf() and show_iface().</a></li>
 <li>commit: <a href=/hg/toybox/rev/869>869</a> and <a href=/hg/toybox/rev/870>870</a>,
 description: <a href=>869:
@@ -208,12 +214,12 @@
 <a href=>todo whitespace damage, introduce IFREQ_OFFSZ() and poke() to
 ifconfig_main() table logic to fold more if/else parts into the table</a></li>
 <li>Status update: <a href=>Entering the home stretch on ifconfig</a> (and a <a href=>note about infiniband</a>)</li>
-<li>commit: <a href=/hg/toybox/rev/921>921</a>, description: todo</li>
-<li>commit: <a href=/hg/toybox/rev/957>957</a>, description: <a href=>here</a></li>
-<li>commit: <a href=/hg/toybox/rev/958>958</a>, description: <a href=>here</a></li>
-<li>commit: <a href=/hg/toybox/rev/1104>1104</a>, description: todo</li>
-<li>commit: <a href=/hg/toybox/rev/1127>1127</a>, description: <a href=>here</a></li>
-<li>commit: <a href=/hg/toybox/rev/1128>1128</a>, description: <a href=>here</a></li>
+<li>commit: <a href=/hg/toybox/rev/921>921</a>, description: <a href=>Inline a couple more functions and make sockfd a global.</li>
+<li>commit: <a href=/hg/toybox/rev/957>957</a>, description: <a href=>Remove unused socklen and addr_to_len(), cleanup so we can merge get_device_info()/display_ifconfig().</a></li>
+<li>commit: <a href=/hg/toybox/rev/958>958</a>, description: <a href=>This commit removes struct if_list by unifying get_device_info() and display_ifconfig().</a></li>
+<li>commit: <a href=/hg/toybox/rev/1104>1104</a>, description: Merge toynet into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.</li>
+<li>commit: <a href=/hg/toybox/rev/1127>1127</a>, description: <a href=>Start tacling ipv6 issues, beginning with display_ifconfig().</a></li>
+<li>commit: <a href=/hg/toybox/rev/1128>1128</a>, description: <a href=>More ipv6, make struct sockaddr_with_len go away, merge more arguments into the table in main().</a></li>
 <li>commit: <a href=/hg/toybox/rev/1132>1132</a>, description: promotion from pending to other</li>
 <li>commit: <a href=/hg/toybox/rev/1132>1133</a>, description: <a href=>cleanup help text, remove obsolete/NOP commands</a></li>