adding IP related function for C4i