fix typos in ip.h, mac.h, ndp.h and types.h