ipconfig: Refactor /proc value get/set to separate functions

Refactor getting and setting the proc conf values, have read and write
in their own respective general functions. If write/read is issued
without interface name (NULL) then "all" section is used to follow the
old behavior.
1 file changed