Add kcs selfchannel support & define for LAN too

Define sudo API's for returning channel
index for self channel. At moment, This API
returns KCS for host-ipmi

Change-Id: Icefd5d949e94d4399adaffdad102ccb18c1b7cdc
Signed-off-by: ssekar <suryakanth.sekar@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/ipmid.cpp b/ipmid.cpp
index 1e7fd0d..238c0e5 100644
--- a/ipmid.cpp
+++ b/ipmid.cpp
@@ -576,6 +576,11 @@
     return ipmid_slot;
 }
 
+EInterfaceIndex getInterfaceIndex(void)
+{
+    return interfaceKCS;
+}
+
 // Calls host command manager to do the right thing for the command
 void ipmid_send_cmd_to_host(CommandHandler&& cmd)
 {