strace/xlat/inet_diag_bytecodes.in
JingPiao Chen fe03478755 netlink: decode AF_INET inet_diag_req_* attributes
* linux/inet_diag.h (inet_diag_bc_op, inet_diag_hostcond,
inet_diag_markcond): New structures.
(INET_DIAG_BC_*): New enum.
* netlink_sock_diag.c: Include "xlat/inet_diag_bytecodes.h".
(decode_inet_addr, decode_inet_diag_hostcond,
print_inet_diag_bc_op, decode_inet_diag_markcond,
decode_bytecode_data, decode_inet_diag_bc_op): New functions.
(inet_diag_req_nla_decoders): New array.
(decode_inet_diag_req_compat, decode_inet_diag_req_v2): Use it.
* xlat/inet_diag_bytecodes.in: New file.
2017-07-11 22:24:03 +00:00

13 lines
224 B
Plaintext

#unconditional
INET_DIAG_BC_NOP
INET_DIAG_BC_JMP
INET_DIAG_BC_S_GE
INET_DIAG_BC_S_LE
INET_DIAG_BC_D_GE
INET_DIAG_BC_D_LE
INET_DIAG_BC_AUTO
INET_DIAG_BC_S_COND
INET_DIAG_BC_D_COND
INET_DIAG_BC_DEV_COND
INET_DIAG_BC_MARK_COND