Home | History | Annotate | Download | only in netinet

Lines Matching defs:tcp

601 /* within only the context of TCP/UDP over IP networks.			*/
612 /* Decode r_netid. Must be "tcp" or "udp". */
974 /* Replies in max out at 2; TCP and/or UDP */
1066 /* Must have 4 bytes for length & 4 bytes for "tcp" or "udp". */
1079 if (!strncmp((char *)xp->xp_xsstr, "tcp\0", 4))
1110 tcphdr_t tcp;
1128 bzero((char *)&tcp, sizeof(tcp));
1129 tcp.th_dport = htons(port);
1132 tcp.th_win = htons(8192);
1133 TCP_OFF_A(&tcp, sizeof(tcphdr_t) >> 2);
1135 tcp.th_flags = TH_SYN;
1143 fi.fin_dp = &tcp;
1154 is = ipf_state_lookup(&fi, &tcp, NULL);