Date: Mon, 28 Jul 2014 13:57:47 +0300 From: Zaro Korchev <zkorchev@mail.bg> To: soc-status@freebsd.org Subject: Re: [Machine readable output from userland utilities] report Message-ID: <A6526FFC-41D3-4FFA-AA14-0F2562A2A29B@mail.bg> In-Reply-To: <FAF68F13-9DC0-4707-866E-F5C4C859DD45@mail.bg> References: <8D1B686D-1AAA-4E07-9270-E42699110561@mail.bg> <2F779B73-EAC5-49B4-B3E8-7A81109EC166@mail.bg> <5AF0FF20-E41B-4D46-A427-D84D9E2CD047@mail.bg> <C9A0231C-553B-4046-9181-F3D8866DB9F6@mail.bg> <CE908FC5-321D-40BA-9756-72904F93AA51@mail.bg> <19220D3B-101C-45A4-AE41-068E033D5F92@mail.bg> <60B2286C-F0BA-4757-9603-BE23E365A576@mail.bg> <FAF68F13-9DC0-4707-866E-F5C4C859DD45@mail.bg>
index | next in thread | previous in thread | raw e-mail
Hi everybody
This week I worked on adding libsol support to ifconfig. At the moment the support is partial but works for the usual usage cases.
Here is some example output:
{
"em0": {
"flags": {
"value": 34883,
"list": [
"UP",
"BROADCAST",
"RUNNING",
"SIMPLEX",
"MULTICAST"
]
},
"metric": 0,
"mtu": 1500,
"options": {
"value": 155,
"list": [
"RXCSUM",
"TXCSUM",
"VLAN_MTU",
"VLAN_HWTAGGING",
"VLAN_HWCSUM"
]
},
"ether": "08:00:27:a8:45:71",
"inet": "10.0.2.15",
"netmask": 4294967040,
"broadcast": "10.0.2.255",
"nd6 options": {
"value": 41,
"list": [
"PERFORMNUD",
"IFDISABLED",
"AUTO_LINKLOCAL"
]
},
"media": {
"type": "Ethernet",
"subtype": "autoselect",
"options": [],
"active": {
"subtype": "1000baseT",
"options": [
"full-duplex"
]
}
},
"status": "active"
},
"lo0": {
"flags": {
"value": 32841,
"list": [
"UP",
"LOOPBACK",
"RUNNING",
"MULTICAST"
]
},
"metric": 0,
"mtu": 16384,
"options": {
"value": 6291459,
"list": [
"RXCSUM",
"TXCSUM",
"RXCSUM_IPV6",
"TXCSUM_IPV6"
]
},
"inet6": "fe80::1%lo0",
"prefixlen": 64,
"inet6 iff": [],
"scopeid": 2,
"inet": "127.0.0.1",
"netmask": 4278190080,
"nd6 options": {
"value": 33,
"list": [
"PERFORMNUD",
"AUTO_LINKLOCAL"
]
}
}
}
Zaro
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6526FFC-41D3-4FFA-AA14-0F2562A2A29B>
