Searched refs:tcp2 (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c126 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
192 bzero((char *)tcp2, sizeof(*tcp2));
193 tcp2->th_win = htons(8192);
194 tcp2->th_sport = htons(sp);
195 tcp2->th_dport = 0; /* XXX - don't specify remote port */
196 TCP_OFF_A(tcp2, 5);
197 tcp2->th_flags = TH_SYN;
198 fi.fin_dp = (char *)tcp2;
200 fi.fin_dlen = sizeof(*tcp2);
[all...]
H A Dip_raudio_pxy.c210 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
302 bzero((char *)tcp2, sizeof(*tcp2));
303 TCP_OFF_A(tcp2, 5);
305 fi.fin_dp = (char *)tcp2;
307 fi.fin_dlen = sizeof(*tcp2);
308 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
309 tcp2->th_win = htons(8192);
317 tcp2->th_sport = htons(sp);
318 tcp2
[all...]
H A Dip_irc_pxy.c277 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
421 bzero((char *)tcp2, sizeof(*tcp2));
422 tcp2->th_win = htons(8192);
423 tcp2->th_sport = sp;
424 tcp2->th_dport = 0; /* XXX - don't specify remote port */
427 fi.fin_dp = (char *)tcp2;
429 fi.fin_dlen = sizeof(*tcp2);
430 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
H A Dip_ftp_pxy.c193 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
365 ip->ip_len = fin->fin_hlen + sizeof(*tcp2);
366 bzero((char *)tcp2, sizeof(*tcp2));
367 tcp2->th_win = htons(8192);
368 tcp2->th_sport = htons(sp);
369 TCP_OFF_A(tcp2, 5);
370 tcp2->th_flags = TH_SYN;
371 tcp2->th_dport = 0; /* XXX - don't specify remote port */
373 fi.fin_dlen = sizeof(*tcp2);
649 tcphdr_t *tcp, tcph, *tcp2; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1103 tcphdr_t *tcp, *tcp2; local
1127 hlen += sizeof(*tcp2);
1136 tcp2 = (struct tcphdr *)(m->b_rptr + hlen - sizeof(*tcp2));
1137 tcp2->th_dport = tcp->th_sport;
1138 tcp2->th_sport = tcp->th_dport;
1140 tcp2->th_seq = tcp->th_ack;
1141 tcp2->th_flags = TH_RST;
1143 tcp2->th_ack = ntohl(tcp->th_seq);
1144 tcp2
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_vc.c738 struct t_call *tcp2 = NULL; local
851 if (tcp2 == NULL)
853 tcp2 = (struct t_call *)t_alloc(srcfd,
855 if (tcp2 == NULL) {
863 if (t_listen(srcfd, tcp2) == -1) {
881 (void) t_snddis(srcfd, tcp2);
882 (void) t_free((char *)tcp2, T_CALL);
883 tcp2 = NULL;
888 e->t_call = tcp2;
889 tcp2
[all...]

Completed in 76 milliseconds