Revert "update network/getprotobyname: rebase process in procedure of const char *"

This reverts commit 70b42e7c2a016b81eb45063d365ac5a457f6a8b2.