# HG changeset patch # User Rob Landley # Date 1403925962 18000 # Node ID 2320af12ba95dcc06d1cc610d390715ffce71943 # Parent 94677e7b6d974821c55a252ff7703d18dfe7d9dd Update cleanup page, now linking to descriptions of all of the ifconfig cleanup. diff -r 94677e7b6d97 -r 2320af12ba95 www/cleanup.html --- 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 @@
  • commit: 862, description: remove unused headers and function, replace local buffer with toybuf, perror_exit(), avoid unnecessary assignment.
  • commit: 864, description: -blah
  • +use common linked list functions, inline set_data, add xioctl, clean up error messages, whitespace and comment tweaks, remove NOP return statements
  • commit: 866, description: -blah
  • +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().
  • commit: 869 and 870, description: 869: @@ -208,12 +214,12 @@ todo whitespace damage, introduce IFREQ_OFFSZ() and poke() to ifconfig_main() table logic to fold more if/else parts into the table
  • Status update: Entering the home stretch on ifconfig (and a note about infiniband)
  • -
  • commit: 921, description: todo
  • -
  • commit: 957, description: here
  • -
  • commit: 958, description: here
  • -
  • commit: 1104, description: todo
  • -
  • commit: 1127, description: here
  • -
  • commit: 1128, description: here
  • +
  • commit: 921, description: Inline a couple more functions and make sockfd a global.
  • +
  • commit: 957, description: Remove unused socklen and addr_to_len(), cleanup so we can merge get_device_info()/display_ifconfig().
  • +
  • commit: 958, description: This commit removes struct if_list by unifying get_device_info() and display_ifconfig().
  • +
  • commit: 1104, description: Merge toynet into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.
  • +
  • commit: 1127, description: Start tacling ipv6 issues, beginning with display_ifconfig().
  • +
  • commit: 1128, description: More ipv6, make struct sockaddr_with_len go away, merge more arguments into the table in main().
  • commit: 1132, description: promotion from pending to other
  • commit: 1133, description: cleanup help text, remove obsolete/NOP commands