core: use ifindex instead of interface name in a lot of places
authorDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 21:58:25 +0000 (14:58 -0700)
committerDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 21:58:25 +0000 (14:58 -0700)
commit34793c1fb1f92e8acf31382792800a0f47c26002
tree0969773552f37d38cb10efa104f0ebd0f5ed665f
parent9fee99e1230580067efb33f3aaea0fddad5cfe66
core: use ifindex instead of interface name in a lot of places

Where we can do so, let's use ifindex since that's actually unique
and doesn't change when the interface name changes.  We already use
ifindex in a bunch of places, and netlink *only* uses ifindex, so
this will make it easier later when we move over to ifindexes fully.
17 files changed:
marshallers/nm-marshal.list
src/ip6-manager/nm-ip6-manager.c
src/ip6-manager/nm-ip6-manager.h
src/nm-device-ethernet.c
src/nm-device-ethernet.h
src/nm-device-interface.c
src/nm-device-interface.h
src/nm-device-olpc-mesh.c
src/nm-device-olpc-mesh.h
src/nm-device-wifi.c
src/nm-device-wifi.h
src/nm-device.c
src/nm-device.h
src/nm-manager.c
src/nm-netlink-monitor.c
src/nm-system.c
src/nm-udev-manager.c