network use protocol array

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>