ipvlan: move the device check function into netdevice.h
authorMahesh Bandewar <maheshb@google.com>
Sat, 6 Dec 2014 23:53:33 +0000 (15:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 21:10:06 +0000 (16:10 -0500)
commit5933fea7aa7237ba52d67c069c39ad5c3ab7a036
treed3e2a240606e79cc961337001297e8609ecc1220
parent764e433b3c43d47e2d19e4bd32fec093421b9cff
ipvlan: move the device check function into netdevice.h

Move the port check [ipvlan_dev_master()] and device check
[ipvlan_dev_slave()] functions to netdevice.h and rename them
netif_is_ipvlan_port() and netif_is_ipvlan() resp. to be
consistent with macvlan api naming.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_main.c
include/linux/netdevice.h