A couple more glue functions

for MacTCP purposes ;)