Searched refs:tcpjob (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 52 np_tcpjob_t *tcpjob; local 57 tcpjob = (np_tcpjob_t *)malloc(sizeof (np_tcpjob_t)); 58 ASSERT(tcpjob, MALLOC_ERR); 59 (void) memset(tcpjob, 0, sizeof (np_tcpjob_t)); 61 tcpjob->np_port = "9100"; 62 tcpjob->gen_data = genjob; 63 tcpjob->gen_data->filesize = filesize; 65 return (tcpjob); 69 tcp_open(char *dest, np_tcpjob_t *tcpjob, int timeout) argument 99 serv_addr.sin6_port = (int)htons(atoi(tcpjob 146 tcp_print(int sockfd, caddr_t pa, np_tcpjob_t *tcpjob) argument [all...] |
H A D | netpr.c | 167 np_tcpjob_t *tcpjob; local 351 tcpjob = (np_tcpjob_t *)create_tcp_job(job_data, filesize); 352 if (tcpjob == NULL) 373 tcpjob->np_port = tcp_port; 375 tcpjob->np_port); 415 if ((sockfd = tcp_open(destination, tcpjob, 20)) == -1) { 444 tcp_print(sockfd, pa, tcpjob)) != 0) {
|
Completed in 43 milliseconds