]> git.proxmox.com Git - mirror_frr.git/commit
python/xrelfo: cross-platform xrefstructs.json
authorDavid Lamparter <equinox@diac24.net>
Sun, 14 Feb 2021 00:36:09 +0000 (01:36 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 23 Feb 2021 15:56:58 +0000 (16:56 +0100)
commita971f0718d25eb9bc553e774bd19a2276e26072e
tree765b1a094e4c731bfc68b46fe666e3bcef145188
parent5e085e529da67deac8171f5a34274f5af7d94492
python/xrelfo: cross-platform xrefstructs.json

Just get names, types and order from pahole; ditch offset & size since
they're different on 32/64 bit.  None of the structs has padding
currently;  if we really need that it can be implemented in the future.

(Padding will raise an exception, so it won't break silently.)

Signed-off-by: David Lamparter <equinox@diac24.net>
python/tiabwarfo.py
python/xrefstructs.json