Revert "Update network.c"

This reverts commit 26fcb932443df9a74871ba9d59d818dbc05a18b6.
this permit to compile on older kernel/network sources
files to make python wrapper