private String parseIp(String ip) {
            ip = ip.substring(ip.length() - 8);
            int ip1 = NetBareUtils.parseInt(ip.substring(6, 8), 16, -1);
            int ip2 = NetBareUtils.parseInt(ip.substring(4, 6), 16, -1);
            int ip3 = NetBareUtils.parseInt(ip.substring(2, 4), 16, -1);
            int ip4 = NetBareUtils.parseInt(ip.substring(0, 2), 16, -1);
            if (ip1 < 0 || ip2 < 0 || ip3 < 0 || ip4 < 0) {
                return null;
            }
            return ip1 + "." + ip2 + "." + ip3 + "." + ip4;
        }
A dumper analyzes /proc/net/ files to dump uid of the network session. This class may be a
battery-killer, but can set {@link NetBareConfig.Builder#dumpUid} to false to close the dumper.

@author Megatron King
@since 2018-12-03 16:54
netbare-core/src/main/java/com/github/megatronking/netbare/net/UidDumper.java