title: How to get interface index from interface ip addres
body: <p>Can anyone tell me how to get interface index from interface ip address?
  e.g. If interface ip address is 192.168.23.25 then what is it's interface index.</p>
  
  <p>I want to add on that i need to use it in one code written in c so if any function
  with some option can give me the interface index number on the base of the
  interface ip address.</p>