Home
last modified time | relevance | path

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

12

/illumos-gate/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()
176 get_line(((char *)(uintptr_t)tcp->th_flags - dlc_header) + 4, 1), in interpret_tcp()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
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.c285 tcp->th_flags = 0;
288 tcp->th_flags |= myflags[t - myflagset];
289 if (tcp->th_flags)
291 if (tcp->th_flags == 0)
293 if (tcp->th_flags & TH_URG)
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c184 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) { in vj_compress_tcp()
297 if (th->th_flags & TH_URG) { in vj_compress_tcp()
405 if (th->th_flags & TH_PUSH) { in vj_compress_tcp()
581 th->th_flags |= TH_PUSH; in vj_uncompress_tcp()
583 th->th_flags &= ~TH_PUSH; in vj_uncompress_tcp()
616 th->th_flags |= TH_URG; in vj_uncompress_tcp()
619 th->th_flags &= ~TH_URG; in vj_uncompress_tcp()
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c92 tcp->th_flags = lro->flags; in myri10ge_lro_flush()
170 if ((tcp->th_flags & ~(TH_ACK | TH_PUSH)) != 0) in myri10ge_lro_rx()
255 lro->flags |= tcp->th_flags; in myri10ge_lro_rx()
326 lro->flags = tcp->th_flags; in myri10ge_lro_rx()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb3_crypt.c317 uint16_t th_flags; in smb3_msg_decrypt() local
356 md_get_uint16le(mdp, &th_flags); in smb3_msg_decrypt()
368 if (th_flags != 1 || th_ssnid != vcp->vc2_session_id) { in smb3_msg_decrypt()
/illumos-gate/usr/src/uts/common/netinet/
H A Dtcpip.h37 #define ti_flags ti_t.th_flags
H A Dtcp.h64 uchar_t th_flags; member
/illumos-gate/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;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1326 if (tcp->th_flags & TH_RST)
1334 tlen = (tcp->th_flags & (TH_SYN|TH_FIN)) ? 1 : 0;
1353 if (tcp->th_flags & TH_ACK) {
1355 tcp2->th_flags = TH_RST;
1360 tcp2->th_flags = TH_RST|TH_ACK;
2734 if (tcp->th_flags & (TH_SYN | TH_FIN)) {
2752 if (tcp->th_flags & (TH_SYN | TH_FIN)) {
2778 tcp->th_flags = TH_RST | TH_ACK;
2836 ((tcp == NULL) || ((tcp->th_flags & (TH_SYN | TH_FIN)) == 0)))
3023 ((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;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1334 VERIFY((otcph->th_flags & (TH_SYN | TH_RST | TH_URG)) == 0); in nxge_do_softlso()
1578 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST); in nxge_do_softlso()
1623 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST | TH_URG); in nxge_do_softlso()
1669 ntcph->th_flags = (otcph->th_flags & ~TH_URG); in nxge_do_softlso()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c1530 (tcph->th_flags[0] & (TH_ECE|TH_CWR)) == (TH_ECE|TH_CWR)) { in tcp_accept_comm()
2369 flags = (unsigned int)tcph->th_flags[0] & 0xFF; in tcp_paws_check()
4858 tcph->th_flags[0] = TH_ACK; in tcp_wput_data()
4860 tcph->th_flags[0] = (TH_ACK | TH_PUSH); in tcp_wput_data()
5025 tcph->th_flags[0] |= TH_ECE; in tcp_wput_data()
5027 tcph->th_flags[0] |= TH_CWR; in tcp_wput_data()
5219 flags = (unsigned int)tcph->th_flags[0] & 0xFF; in tcp_time_wait_processing()
5221 ((tcph->th_flags[0] & TH_SYN) ? 0 : tcp->tcp_snd_ws); in tcp_time_wait_processing()
5530 if (tcph->th_flags[0] & TH_RST) { in tcp_xmit_ctl()
5558 tcph->th_flags[0] = (uint8_t)ctl; in tcp_xmit_ctl()
[all …]
H A Dtcp_inet.h76 uint8_t th_flags[1]; member
/illumos-gate/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;
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp.h102 uint8_t th_flags[1]; member
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c796 if (otcph->th_flags[0] & (TH_SYN | TH_RST | TH_URG)) { in mac_sw_lso()
998 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
1093 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tx.c1630 ((thp->th_flags & (TH_URG | TH_SYN)) != 0) || in sfxge_tx_qlso_fragment()
1650 start_flags = thp->th_flags; in sfxge_tx_qlso_fragment()
1655 thp->th_flags = start_flags & ~(TH_PUSH | TH_FIN); in sfxge_tx_qlso_fragment()
1679 thp->th_flags = start_flags; in sfxge_tx_qlso_fragment()
1749 thp->th_flags = start_flags; in sfxge_tx_qlso_fragment()
H A Dsfxge_rx.c1346 srfp->srf_first_thp->th_flags = thp->th_flags; in sfxge_rx_qflow_complete()
1407 if (size == 0 || thp->th_flags & (TH_URG | TH_SYN | TH_RST) || in sfxge_rx_qflow_add()
1471 thp->th_flags & TH_PUSH) in sfxge_rx_qflow_add()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c1145 if (tp->th_flags & tcpfl[i].value)
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1191 tcph->th_sum, urp, tcph->th_flags, tcp_flags); in tcphdr_print()

12