Hi Baptiste, On Thu, Aug 11, 2016 at 11:47:31PM +0200, Baptiste wrote: > Hi the list, Willy, > > Please find in attachment a couple of patches to add a couple of IP related > functions: > - ipcmp to compare 2 ipcmp, à la strcmp > - ipcpy to copy an IP address, à la strcpy
Now merged. However, you remember the other evening I said I didn't feel easy with these names. Now I know why. "ip" is the protocol, not an address family nor whatever. So it's like using "tcpcmp" to compare ports. But I also remember your point about the ambiguity in the name "addr_cmp" since our addresses also carry a port. I think we may have to rename all this stuff in a more consistent way before the 1.7 release. Probably that we should use "inet" or something like this as in "inet_pton". We'll see, that's not important for now. Thanks, Willy

