[RFC V2 PATCH 16/25] net/netpolicy: introduce per socket netpolicy

2016-08-04 Thread kan . liang
From: Kan Liang The network socket is the most basic unit which control the network traffic. This patch introduces a new socket option SO_NETPOLICY to set/get net policy for socket. so that the application can set its own policy on socket to improve the network performance. Per socket net policy

[RFC V2 PATCH 16/25] net/netpolicy: introduce per socket netpolicy

2016-08-04 Thread kan . liang
From: Kan Liang The network socket is the most basic unit which control the network traffic. This patch introduces a new socket option SO_NETPOLICY to set/get net policy for socket. so that the application can set its own policy on socket to improve the network performance. Per socket net policy