construct and inject network packets