main/linux-grsec: network support refactoring