[CRIU] [PATCH 3/8] crit: Add protocols decoding
Cyrill Gorcunov
gorcunov at openvz.org
Wed Nov 1 16:19:20 MSK 2017
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
lib/py/images/pb2dict.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/py/images/pb2dict.py b/lib/py/images/pb2dict.py
index d29937b294f3..2ed39f756623 100644
--- a/lib/py/images/pb2dict.py
+++ b/lib/py/images/pb2dict.py
@@ -142,7 +142,10 @@ sk_maps = {
17: 'PACKET' },
'type' : { 1: 'STREAM', 2: 'DGRAM' },
'state' : { 1: 'ESTABLISHED', 7: 'CLOSE', 10: 'LISTEN' },
- 'proto' : { 6: 'TCP' },
+ 'proto' : { 0: 'IP',
+ 6: 'TCP',
+ 17: 'UDP',
+ 136: 'UDPLITE' },
}
gen_rmaps = { k: {v2:k2 for k2,v2 in v.items()} for k,v in gen_maps.items() }
--
2.7.5
More information about the CRIU
mailing list