Lines Matching refs:tcp
632 /* Decode r_netid. Must be "tcp" or "udp". */
1110 /* Must have 4 bytes for length & 4 bytes for "tcp" or "udp". */
1123 if (!strncmp((char *)xp->xp_xsstr, "tcp\0", 4))
1158 tcphdr_t tcp;
1176 bzero((char *)&tcp, sizeof(tcp));
1177 tcp.th_dport = htons(port);
1180 tcp.th_win = htons(8192);
1181 TCP_OFF_A(&tcp, sizeof(tcphdr_t) >> 2);
1183 tcp.th_flags = TH_SYN;
1191 fi.fin_dp = &tcp;
1202 is = ipf_state_lookup(&fi, &tcp, NULL);