net/ice/base: use macro instead of function name