dump tc

xiaoxiao2021-02-28  66

crash> net.gen init_net gen = 0xffff880afd858200 struct net_generic { { s = { len = 0x10, rcu = { next = 0x0, func = 0x0 } }, ptr = 0xffff880afd858200 } } crash> mod -s act_gact MODULE NAME SIZE OBJECT FILE ffffffffa09900c0 act_gact 16384 /lib/modules/4.12.0-rc2+/kernel/net/sched/act_gact.ko crash> gact_net_id gact_net_id = $1 = 0xf crash> rd 0xffff880afd858200 16 ffff880afd858200: 0000000000000010 0000000000000000 ................ ffff880afd858210: 0000000000000000 ffff880c87997070 ........pp...... ffff880afd858220: ffff880c7ff80600 ffff880c86f6ff80 ................ ffff880afd858230: ffff880c871532c0 ffff880c7ffbae00 .2.............. ffff880afd858240: ffff880b1a805900 ffff880afedf82a8 .Y.............. ffff880afd858250: ffff880afdbd0e40 ffff880c66357e88 @........~5f.... ffff880afd858260: ffff880afa575c80 ffff880c29dce000 .\W........).... ffff880afd858270: ffff880b17899830 ffff880c87936ba0 0........k...... crash> tc_action_net ffff880c87936ba0 struct tc_action_net { hinfo = 0xffff880bb13eb720, ops = 0xffffffffa0990040 } crash> tcf_hashinfo 0xffff880bb13eb720 struct tcf_hashinfo { htab = 0xffff8806cff22b80, hmask = 0xf, lock = { { rlock = { raw_lock = { val = { val = { counter = 0x0 } } } } }, index = 0x8 } crash> rd 0xffff8806cff22b80 15 ffff8806cff22b80: 0000000000000000 ffff880b402f4728 ........(G/@.... ffff8806cff22b90: ffff880b402f5a28 ffff880b402f4828 (Z/@....(H/@.... ffff8806cff22ba0: ffff880b402f4b28 ffff880b402f4e28 (K/@....(N/@.... ffff8806cff22bb0: ffff880b402f5128 ffff880b402f5928 (Q/@....(Y/@.... ffff8806cff22bc0: ffff880b402f5d28 0000000000000000 (]/@............ ffff8806cff22bd0: 0000000000000000 0000000000000000 ................ ffff8806cff22be0: 0000000000000000 0000000000000000 ................ ffff8806cff22bf0: 0000000000000000 ........ crash> list ffff880b402f4728 -l tc_action.tcfa_head -s tc_action ffff880b402f4728 struct tc_action { ops = 0xffffffffa1123040 <act_gact_ops>, type = 0x0, order = 0x1, list = { next = 0xffffc90004dd78a8, prev = 0xffffc90004dd78a8 }, hinfo = 0xffff880c249ebda0, tcfa_head = { next = 0x0, pprev = 0xffff880aa1d5a830 }, tcfa_index = 0x6, tcfa_refcnt = 0x1, tcfa_bindcnt = 0x1, tcfa_capab = 0x0, tcfa_action = 0x2, tcfa_tm = { install = 0x1055fc189, lastuse = 0x1055fc189, expires = 0x0, firstuse = 0x0 }, tcfa_bstats = { bytes = 0x0, packets = 0x0 }, tcfa_qstats = { qlen = 0x0, backlog = 0x0, drops = 0x0, requeues = 0x0, overlimits = 0x0 }, tcfa_rate_est = 0x0, tcfa_lock = { { rlock = { raw_lock = { val = { counter = 0x0 } } } } }, tcfa_rcu = { next = 0x0, func = 0x0 }, cpu_bstats = 0x60f36e402868, cpu_qstats = 0x60f36e402874, act_cookie = 0x0 }
转载请注明原文地址: https://www.6miu.com/read-54189.html

最新回复(0)