add function

add function, test a ipv4 is between a ip segment