Schema: IFLA_INFO_DATA
{
"ctrlmode": {
"type": "array",
"attr": "IFLA_CAN_CTRLMODE",
"array": [
{
"type": "string"
}
]
},
"state": {
"type": "string",
"attr": "IFLA_CAN_STATE"
},
"berr_counter": {
"type": "dict",
"attr": "IFLA_CAN_BERR_COUNTER",
"dict": {
"tx": {
"type": "int"
},
"rx": {
"type": "int"
}
}
},
"restart_ms": {
"type": "int",
"attr": "IFLA_CAN_RESTART_MS"
},
"bittiming": {
"type": "dict",
"attr": "IFLA_CAN_BITTIMING",
"dict": {
"bitrate": {
"type": "int"
},
"sample_point": {
"type": "float"
},
"tq": {
"type": "int"
},
"prop_seg": {
"type": "int"
},
"phase_seg1": {
"type": "int"
},
"phase_seg2": {
"type": "int"
},
"sjw": {
"type": "int"
}
}
},
"bittiming_const": {
"type": "dict",
"attr": "IFLA_CAN_BITTIMING_CONST",
"dict": {
"name": {
"type": "string"
},
"tseg1": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"tseg2": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"sjw": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"brp": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"brp_inc": {
"type": "int"
}
}
},
"bittiming_bitrate": {
"type": "uint",
"attr": "IFLA_CAN_BITTIMING"
},
"bitrate_const": {
"type": "array",
"attr": "IFLA_CAN_BITRATE_CONST",
"array": [
{
"type": "uint"
}
]
},
"data_bittiming": {
"type": "dict",
"attr": "IFLA_CAN_DATA_BITTIMING",
"dict": {
"bitrate": {
"type": "int"
},
"sample_point": {
"type": "float"
},
"tq": {
"type": "int"
},
"prop_seg": {
"type": "int"
},
"phase_seg1": {
"type": "int"
},
"phase_seg2": {
"type": "int"
},
"sjw": {
"type": "int"
}
}
},
"data_bittiming_const": {
"type": "dict",
"attr": "IFLA_CAN_DATA_BITTIMING_CONST",
"dict": {
"name": {
"type": "string"
},
"tseg1": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"tseg2": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"sjw": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"brp": {
"type": "dict",
"dict": {
"min": {
"type": "int"
},
"max": {
"type": "int"
}
}
},
"brp_inc": {
"type": "int"
}
}
},
"data_bittiming_bitrate": {
"type": "uint",
"attr": "IFLA_CAN_DATA_BITTIMING"
},
"data_bitrate_const": {
"type": "array",
"attr": "IFLA_CAN_DATA_BITRATE_CONST",
"array": [
{
"type": "uint"
}
]
},
"termination": {
"type": "unsigned short",
"attr": "IFLA_CAN_TERMINATION"
},
"termination_const": {
"type": "array",
"attr": "IFLA_CAN_TERMINATION_CONST",
"array": [
{
"type": "unsigned short"
}
]
},
"clock": {
"type": "int",
"attr": "IFLA_CAN_CLOCK"
}
}
IFLA_INFO_XSTATS
{
"restarts": {
"type": "int"
},
"bus_error": {
"type": "int"
},
"arbitration_lost": {
"type": "int"
},
"error_warning": {
"type": "int"
},
"error_passive": {
"type": "int"
},
"bus_off": {
"type": "int"
}
}
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| ifcfg | ||
| ip.c | ||
| ip6tunnel.c | ||
| ip_common.h | ||
| ip_print.c | ||
| ipaddress.c | ||
| ipaddrlabel.c | ||
| ipfou.c | ||
| ipila.c | ||
| ipl2tp.c | ||
| iplink.c | ||
| iplink_bond.c | ||
| iplink_bond_slave.c | ||
| iplink_bridge.c | ||
| iplink_bridge_slave.c | ||
| iplink_can.c | ||
| iplink_dummy.c | ||
| iplink_geneve.c | ||
| iplink_hsr.c | ||
| iplink_ifb.c | ||
| iplink_ipoib.c | ||
| iplink_ipvlan.c | ||
| iplink_macvlan.c | ||
| iplink_nlmon.c | ||
| iplink_team.c | ||
| iplink_vcan.c | ||
| iplink_vlan.c | ||
| iplink_vrf.c | ||
| iplink_vxcan.c | ||
| iplink_vxlan.c | ||
| iplink_xdp.c | ||
| iplink_xstats.c | ||
| ipmacsec.c | ||
| ipmaddr.c | ||
| ipmonitor.c | ||
| ipmroute.c | ||
| ipneigh.c | ||
| ipnetconf.c | ||
| ipnetns.c | ||
| ipntable.c | ||
| ipprefix.c | ||
| iproute.c | ||
| iproute_lwtunnel.c | ||
| iproute_lwtunnel.h | ||
| iprule.c | ||
| ipseg6.c | ||
| iptoken.c | ||
| iptunnel.c | ||
| iptuntap.c | ||
| ipvrf.c | ||
| ipxfrm.c | ||
| link_gre.c | ||
| link_gre6.c | ||
| link_ip6tnl.c | ||
| link_iptnl.c | ||
| link_veth.c | ||
| link_vti.c | ||
| link_vti6.c | ||
| routef | ||
| routel | ||
| rtm_map.c | ||
| rtmon.c | ||
| rtpr | ||
| static-syms.c | ||
| tcp_metrics.c | ||
| tunnel.c | ||
| tunnel.h | ||
| xdp.h | ||
| xfrm.h | ||
| xfrm_monitor.c | ||
| xfrm_policy.c | ||
| xfrm_state.c | ||