[CRIU] [PATCH 4/8] crit: Add socket types decoding

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 1 16:19:21 MSK 2017


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 lib/py/images/pb2dict.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/py/images/pb2dict.py b/lib/py/images/pb2dict.py
index 2ed39f756623..367557f676ef 100644
--- a/lib/py/images/pb2dict.py
+++ b/lib/py/images/pb2dict.py
@@ -140,7 +140,11 @@ sk_maps = {
 			10: 'INET6',
 			16: 'NETLINK',
 			17: 'PACKET' },
-	'type'      : { 1: 'STREAM', 2: 'DGRAM' },
+	'type'      : {  1: 'STREAM',
+			 2: 'DGRAM',
+			 3: 'RAW',
+			 5: 'SEQPACKET',
+			10: 'PACKET' },
 	'state'     : { 1: 'ESTABLISHED', 7: 'CLOSE', 10: 'LISTEN' },
 	'proto'     : {   0: 'IP',
 			  6: 'TCP',
-- 
2.7.5



More information about the CRIU mailing list