Skip to content

Instantly share code, notes, and snippets.

@zenoamaro
Last active August 29, 2015 14:22
Show Gist options
  • Save zenoamaro/2382b9982049fd74adab to your computer and use it in GitHub Desktop.
Save zenoamaro/2382b9982049fd74adab to your computer and use it in GitHub Desktop.
Output of uv_interface_addresses and uv_network_interfaces libuv/libuv#219
uv_interface_addresses:
name: lo0
internal: 1
physical address: xx:xx:xx:xx:xx:xx
address: ::1
netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
name: lo0
internal: 1
physical address: xx:xx:xx:xx:xx:xx
address: 127.0.0.1
netmask: 255.0.0.0
name: lo0
internal: 1
physical address: xx:xx:xx:xx:xx:xx
address: fe80::1
netmask: ffff:ffff:ffff:ffff::
name: en1
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: fe80::7256:81ff:fe92:92e5
netmask: ffff:ffff:ffff:ffff::
name: en1
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: 192.168.1.128
netmask: 255.255.255.0
name: awdl0
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: fe80::48d1:f8ff:fe5f:99e1
netmask: ffff:ffff:ffff:ffff::
name: utun0
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: fe80::6c18:57d8:fde3:3b68
netmask: ffff:ffff:ffff:ffff::
name: utun0
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: fdc7:1202:2084:7e65:6c18:57d8:fde3:3b68
netmask: ffff:ffff:ffff:ffff::
name: vboxnet0
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: 192.168.33.1
netmask: 192.168.33.1
uv_network_interfaces:
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: none
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet6 ::1
broadcast: inet6 ::1
netmask: inet6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
physical address: none
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet4 127.0.0.1
broadcast: inet4 127.0.0.1
netmask: inet4 255.0.0.0
physical address: none
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet6 fe80::1
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: none
name: gif0
is_up_and_running: 0
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: none
name: stf0
is_up_and_running: 0
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 0
address: none
broadcast: none
netmask: none
physical address: none
name: en0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: en1
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: en1
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet6 fe80::7256:81ff:fe92:92e5
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: xx:xx:xx:xx:xx:xx
name: en1
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 192.168.1.128
broadcast: inet4 192.168.1.255
netmask: inet4 255.255.255.0
physical address: xx:xx:xx:xx:xx:xx
name: en2
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 1
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: fw0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx:xx:xx
name: bridge0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: p2p0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: awdl0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: awdl0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet6 fe80::48d1:f8ff:fe5f:99e1
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: xx:xx:xx:xx:xx:xx
name: utun0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: none
name: utun0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet6 fe80::6c18:57d8:fde3:3b68
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: none
name: utun0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet6 fdc7:1202:2084:7e65:6c18:57d8:fde3:3b68
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: none
name: vboxnet0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: none
broadcast: none
netmask: none
physical address: xx:xx:xx:xx:xx:xx
name: vboxnet0
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 192.168.33.1
broadcast: inet4 192.168.33.255
netmask: none
physical address: xx:xx:xx:xx:xx:xx
uv_interface_addresses:
name: lo0
internal: 1
physical address: 00:00:00:00:00:00
address: 127.0.0.1
netmask: 255.0.0.0
name: aggr1
internal: 0
physical address: 00:00:00:00:00:00
address: 10.X.Y.Z
netmask: 255.255.255.0
name: aggr2
internal: 0
physical address: 00:00:00:00:00:00
address: 10.X.Y.Z
netmask: 255.255.255.0
name: lo0
internal: 1
physical address: 00:00:00:00:00:00
address: ::1
netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
uv_network_interfaces:
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet4 127.0.0.1
broadcast: none
netmask: inet4 255.0.0.0
physical address: none
name: aggr1
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 10.X.Y.Z
broadcast: inet4 10.X.Y.Z
netmask: inet4 255.255.255.0
physical address: none
name: aggr2
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 10.X.Y.Z
broadcast: inet4 10.X.Y.Z
netmask: inet4 255.255.255.0
physical address: none
name: lo0
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 0
has_multicast: 1
address: inet6 ::1
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
physical address: none
uv_interface_addresses:
name: Local Area Connection 2
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: fe80::900a:5b6c:1958:9e04
netmask: ffff:ffff:ffff:ffff::
name: Local Area Connection 2
internal: 0
physical address: xx:xx:xx:xx:xx:xx
address: 172.16.81.129
netmask: 255.255.255.0
name: Loopback Pseudo-Interface 1
internal: 1
physical address: xx:xx:xx:xx:xx:xx
address: ::1
netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
name: Loopback Pseudo-Interface 1
internal: 1
physical address: xx:xx:xx:xx:xx:xx
address: 127.0.0.1
netmask: 255.0.0.0
uv_network_interfaces:
name: Local Area Connection 2
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet6 fe80::900a:5b6c:1958:9e04
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: xx:xx:xx:xx:xx:xx
name: Local Area Connection 2
is_up_and_running: 1
is_loopback: 0
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 172.16.81.129
broadcast: inet4 172.16.81.255
netmask: inet4 255.255.255.0
physical address: xx:xx:xx:xx:xx:xx
name: Loopback Pseudo-Interface 1
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet6 ::1
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
physical address: none
name: Loopback Pseudo-Interface 1
is_up_and_running: 1
is_loopback: 1
is_point_to_point: 0
is_promiscuous: 0
has_broadcast: 1
has_multicast: 1
address: inet4 127.0.0.1
broadcast: inet4 127.255.255.255
netmask: inet4 255.0.0.0
physical address: none
name: isatap.localdomain
is_up_and_running: 0
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 0
address: inet6 fe80::5efe:ac10:5181
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
physical address: xx:xx:xx:xx:xx:xx:xx:xx
name: Teredo Tunneling Pseudo-Interface
is_up_and_running: 0
is_loopback: 0
is_point_to_point: 1
is_promiscuous: 0
has_broadcast: 0
has_multicast: 0
address: inet6 fe80::100:7f:fffe
broadcast: none
netmask: inet6 ffff:ffff:ffff:ffff::
physical address: xx:xx:xx:xx:xx:xx:xx:xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment