Libnet function library