Lines Matching refs:tcpjob
50 np_tcpjob_t *tcpjob; in create_tcp_job() local
55 tcpjob = (np_tcpjob_t *)malloc(sizeof (np_tcpjob_t)); in create_tcp_job()
56 ASSERT(tcpjob, MALLOC_ERR); in create_tcp_job()
57 (void) memset(tcpjob, 0, sizeof (np_tcpjob_t)); in create_tcp_job()
59 tcpjob->np_port = "9100"; in create_tcp_job()
60 tcpjob->gen_data = genjob; in create_tcp_job()
61 tcpjob->gen_data->filesize = filesize; in create_tcp_job()
63 return (tcpjob); in create_tcp_job()
67 tcp_open(char *dest, np_tcpjob_t *tcpjob, int timeout) in tcp_open() argument
97 serv_addr.sin6_port = (int)htons(atoi(tcpjob->np_port)); in tcp_open()
144 tcp_print(int sockfd, caddr_t pa, np_tcpjob_t *tcpjob) in tcp_print() argument
155 tcpjob->gen_data->filesize, tcpjob->gen_data->timeout)) < 0) { in tcp_print()