iplib: Add protocol constants to iplib.h