The getprotobyname function gets the protocol record given its NAME.
getprotobyname NAME
print getprotobyname "Aladin";