]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/test-dhcp-client.c
sd-network: rename "index" field of the various clients to "ifindex"
authorLennart Poettering <lennart@poettering.net>
Mon, 23 May 2016 14:13:18 +0000 (16:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 May 2016 13:34:42 +0000 (15:34 +0200)
commit2f8e763376e932395c859d0ab5a8931b7f27fe18
tree9b70354184513fcfdf29f2dca1c76828bdb5d88d
parent9c2438b84e1071a841364250f2dec2b15dafceb7
sd-network: rename "index" field of the various clients to "ifindex"

A field "index" is not particularly precise and also might conflict with libc's
index() function definition. Also, pretty much everywhere else we call this
concept "ifindex", including in networkd, the primary user of these libraries.
Hence, let's fix this up and call this "ifindex" everywhere here too.
20 files changed:
src/libsystemd-network/sd-dhcp-client.c
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-ipv4acd.c
src/libsystemd-network/sd-ipv4ll.c
src/libsystemd-network/sd-ndisc.c
src/libsystemd-network/test-acd.c
src/libsystemd-network/test-dhcp-client.c
src/libsystemd-network/test-dhcp6-client.c
src/libsystemd-network/test-ipv4ll-manual.c
src/libsystemd-network/test-ipv4ll.c
src/libsystemd-network/test-ndisc-rs.c
src/network/networkd-dhcp4.c
src/network/networkd-dhcp6.c
src/network/networkd-ipv4ll.c
src/network/networkd-ndisc.c
src/systemd/sd-dhcp-client.h
src/systemd/sd-dhcp6-client.h
src/systemd/sd-ipv4acd.h
src/systemd/sd-ipv4ll.h
src/systemd/sd-ndisc.h