Functions in bsd/netat