Home
last modified time | relevance | path

Searched refs:th_flags (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tcp.c105 if (tcp->th_flags & tcp_flags[i].tf_flag) { in interpret_tcp()
112 if (tcp->th_flags & TH_URG) { in interpret_tcp()
117 if (tcp->th_flags & TH_ACK) { in interpret_tcp()
166 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
167 dlc_header) + 4, 1), "Flags = 0x%02x", tcp->th_flags); in interpret_tcp()
168 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
169 dlc_header) + 4, 1), " %s", getflag(tcp->th_flags, TH_CWR, in interpret_tcp()
172 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
173 dlc_header) + 4, 1), " %s", getflag(tcp->th_flags, TH_ECE, in interpret_tcp()
175 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
[all …]
/titanic_50/usr/src/cmd/ipf/lib/common/
H A Dprintpacket.c65 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
67 if (tcp->th_flags & TH_FIN)
69 if (tcp->th_flags & TH_SYN)
71 if (tcp->th_flags & TH_RST)
73 if (tcp->th_flags & TH_PUSH)
75 if (tcp->th_flags & TH_ACK)
77 if (tcp->th_flags & TH_URG)
79 if (tcp->th_flags & TH_ECN)
81 if (tcp->th_flags & TH_CWR)
H A Dipft_tx.c287 tcp->th_flags = 0;
290 tcp->th_flags |= myflags[t - myflagset];
291 if (tcp->th_flags)
293 if (tcp->th_flags == 0)
295 if (tcp->th_flags & TH_URG)
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c186 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) { in vj_compress_tcp()
299 if (th->th_flags & TH_URG) { in vj_compress_tcp()
407 if (th->th_flags & TH_PUSH) { in vj_compress_tcp()
583 th->th_flags |= TH_PUSH; in vj_uncompress_tcp()
585 th->th_flags &= ~TH_PUSH; in vj_uncompress_tcp()
618 th->th_flags |= TH_URG; in vj_uncompress_tcp()
621 th->th_flags &= ~TH_URG; in vj_uncompress_tcp()
/titanic_50/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c97 tcp->th_flags = lro->flags; in myri10ge_lro_flush()
175 if ((tcp->th_flags & ~(TH_ACK | TH_PUSH)) != 0) in myri10ge_lro_rx()
260 lro->flags |= tcp->th_flags; in myri10ge_lro_rx()
331 lro->flags = tcp->th_flags; in myri10ge_lro_rx()
/titanic_50/usr/src/uts/common/netinet/
H A Dtcpip.h38 #define ti_flags ti_t.th_flags
H A Dtcp.h63 uchar_t th_flags; member
/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c138 if (tcp->th_flags & TH_SYN) {
197 tcp2->th_flags = TH_SYN;
H A Dip_ftp_pxy.c370 tcp2->th_flags = TH_SYN;
727 tcp2->th_flags = TH_SYN;
1067 if ((tcp->th_flags & TH_OPENING) == TH_OPENING) {
1106 rv ? "IN" : "OUT", tcp->th_flags, thseq, seqoff,
1173 if (tcp->th_flags & TH_FIN) {
1335 if (tcp->th_flags & TH_FIN)
H A Dip_pptp_pxy.c511 if ((tcp->th_flags & TH_OPENING) == TH_OPENING) {
H A Dip_rpcb_pxy.c1206 tcp.th_flags = TH_SYN;
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1112 if (tcp->th_flags & TH_RST)
1120 tlen = (tcp->th_flags & (TH_SYN|TH_FIN)) ? 1 : 0;
1139 if (tcp->th_flags & TH_ACK) {
1141 tcp2->th_flags = TH_RST;
1146 tcp2->th_flags = TH_RST|TH_ACK;
2408 if (tcp->th_flags & (TH_SYN | TH_FIN)) {
2426 if (tcp->th_flags & (TH_SYN | TH_FIN)) {
2452 tcp->th_flags = TH_RST | TH_ACK;
2510 ((tcp == NULL) || ((tcp->th_flags & (TH_SYN | TH_FIN)) == 0)))
2697 ((tcp == NULL) || ((tcp->th_flags & (TH_SYN | TH_FIN)) == 0)))
H A Dip_state.c1317 if (tcp->th_flags & TH_RST)
1343 ((tcp->th_flags & TH_SYN) ? 1 : 0) +
1344 ((tcp->th_flags & TH_FIN) ? 1 : 0);
1351 if ((tcp->th_flags & ~(TH_FIN|TH_ACK|TH_ECNALL)) ==
1365 if ((tcp->th_flags & TH_OPENING) == TH_SYN)
1669 if ((tcp->th_flags & TH_OPENING) == TH_SYN) {
1720 flags = tcp->th_flags & ~(TH_FIN|TH_ECNALL);
1808 tcpflags = tcp->th_flags;
2048 ((tcp->th_flags & TH_SYN) ? 1 : 0) +
2049 ((tcp->th_flags & TH_FIN) ? 1 : 0);
[all …]
H A Dfil.c1068 flags = tcp->th_flags;
1069 fin->fin_tcpf = tcp->th_flags;
H A Dip_nat.c4552 if ((nat->nat_mssclamp != 0) && (tcp->th_flags & TH_SYN) != 0)
/titanic_50/usr/src/stand/lib/tcp/
H A Dtcp_inet.h76 uint8_t th_flags[1]; member
H A Dtcp.c1531 (tcph->th_flags[0] & (TH_ECE|TH_CWR)) == (TH_ECE|TH_CWR)) { in tcp_accept_comm()
2370 flags = (unsigned int)tcph->th_flags[0] & 0xFF; in tcp_paws_check()
4860 tcph->th_flags[0] = TH_ACK; in tcp_wput_data()
4862 tcph->th_flags[0] = (TH_ACK | TH_PUSH); in tcp_wput_data()
5027 tcph->th_flags[0] |= TH_ECE; in tcp_wput_data()
5029 tcph->th_flags[0] |= TH_CWR; in tcp_wput_data()
5221 flags = (unsigned int)tcph->th_flags[0] & 0xFF; in tcp_time_wait_processing()
5223 ((tcph->th_flags[0] & TH_SYN) ? 0 : tcp->tcp_snd_ws); in tcp_time_wait_processing()
5532 if (tcph->th_flags[0] & TH_RST) { in tcp_xmit_ctl()
5560 tcph->th_flags[0] = (uint8_t)ctl; in tcp_xmit_ctl()
[all …]
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1356 VERIFY((otcph->th_flags & (TH_SYN | TH_RST | TH_URG)) == 0); in nxge_do_softlso()
1600 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST); in nxge_do_softlso()
1645 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST | TH_URG); in nxge_do_softlso()
1691 ntcph->th_flags = (otcph->th_flags & ~TH_URG); in nxge_do_softlso()
/titanic_50/usr/src/lib/libdtrace/common/
H A Dtcp.d.in163 tcp_flags = *(uint8_t *)T->th_flags;
203 tcp_flags = T != NULL ? *(uint8_t *)((tcph_t *)T)->th_flags : TH_ACK;
/titanic_50/usr/src/uts/common/inet/
H A Dtcp.h99 uint8_t th_flags[1]; member
/titanic_50/usr/src/cmd/ipf/tools/
H A Dipmon.c1145 if (tp->th_flags & tcpfl[i].value)
/titanic_50/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1167 tcph->th_sum, urp, tcph->th_flags, tcp_flags); in tcphdr_print()