added rename
made C wrappers to make code more robust to ipset library changes