/dports/security/nmap/nmap-7.91/libnetutil/ |
H A D | TCPHeader.cc | 436 h.th_flags = f; in setFlags() 443 return h.th_flags; in getFlags() 463 h.th_flags |= TH_CWR; in setCWR() 472 h.th_flags ^= TH_CWR; in unsetCWR() 487 h.th_flags |= TH_ECN; in setECE() 496 h.th_flags ^= TH_ECN; in unsetECE() 512 h.th_flags |= TH_ECN; in setECN() 521 h.th_flags ^= TH_ECN; in unsetECN() 536 h.th_flags |= TH_URG; in setURG() 545 h.th_flags ^= TH_URG; in unsetURG() [all …]
|
/dports/net/tcptraceroute/tcptraceroute-tcptraceroute-1.5beta7/ |
H A D | capture.c | 427 tcp_hdr->th_flags & TH_RST ? "RST " : "", in capture() 428 tcp_hdr->th_flags & TH_SYN ? "SYN " : "", in capture() 429 tcp_hdr->th_flags & TH_ACK ? "ACK " : "", in capture() 435 tcp_hdr->th_flags ? "" : "(none)"); in capture() 444 if (tcp_hdr->th_flags & TH_RST) in capture() 447 else if ((tcp_hdr->th_flags & TH_SYN) in capture() 448 && (tcp_hdr->th_flags & TH_ACK) in capture() 449 && (tcp_hdr->th_flags & TH_ECN)) in capture() 452 else if ((tcp_hdr->th_flags & TH_SYN) in capture() 453 && (tcp_hdr->th_flags & TH_ACK)) in capture() [all …]
|
/dports/net/ssldump/ssldump-0.9b3/base/ |
H A D | data | 25 tcppack.c:148: if(p->tcp->th_flags & TH_SYN) 37 tcppack.c:241: if(p->tcp->th_flags & TH_ACK){ 41 tcppack.c:310: if(_seg.p->tcp->th_flags & (TH_RST)){ 43 tcppack.c:319: if(_seg.p->tcp->th_flags & (TH_FIN)){ 47 tcppack.c:338: if(seg->p->tcp->th_flags & (TH_FIN) ){ 54 tcppack.c:387: if(p->tcp->th_flags & TH_ACK) 56 tcppack.c:390: if(p->tcp->th_flags & TH_FIN) 57 tcppack.c:392: if(p->tcp->th_flags & TH_SYN) 58 tcppack.c:394: if(p->tcp->th_flags & TH_RST) 59 tcppack.c:396: if(p->tcp->th_flags & TH_PUSH) [all …]
|
H A D | tcppack.c | 149 if(p->tcp->th_flags & TH_SYN) 241 if(p->tcp->th_flags & TH_ACK){ 315 if(_seg.p->tcp->th_flags & (TH_RST)){ 324 if(_seg.p->tcp->th_flags & (TH_FIN)){ 343 if(seg->p->tcp->th_flags & (TH_FIN) ){ 392 if(p->tcp->th_flags & TH_ACK) 395 if(p->tcp->th_flags & TH_FIN) 397 if(p->tcp->th_flags & TH_SYN) 399 if(p->tcp->th_flags & TH_RST) 401 if(p->tcp->th_flags & TH_PUSH) [all …]
|
/dports/security/snort3/snort3-3.1.19.0/src/log/ |
H A D | log.cc | 48 *flagBuffer++ = (char)((tcph->th_flags & TH_RES1) ? '1' : '*'); in CreateTCPFlagString() 49 *flagBuffer++ = (char)((tcph->th_flags & TH_RES2) ? '2' : '*'); in CreateTCPFlagString() 50 *flagBuffer++ = (char)((tcph->th_flags & TH_URG) ? 'U' : '*'); in CreateTCPFlagString() 51 *flagBuffer++ = (char)((tcph->th_flags & TH_ACK) ? 'A' : '*'); in CreateTCPFlagString() 52 *flagBuffer++ = (char)((tcph->th_flags & TH_PUSH) ? 'P' : '*'); in CreateTCPFlagString() 53 *flagBuffer++ = (char)((tcph->th_flags & TH_RST) ? 'R' : '*'); in CreateTCPFlagString() 54 *flagBuffer++ = (char)((tcph->th_flags & TH_SYN) ? 'S' : '*'); in CreateTCPFlagString() 55 *flagBuffer++ = (char)((tcph->th_flags & TH_FIN) ? 'F' : '*'); in CreateTCPFlagString()
|
/dports/security/snort3/snort3-3.1.19.0/src/protocols/ |
H A D | tcp.h | 79 uint8_t th_flags; member 119 { return (th_flags & flags) == flags; } in are_flags_set() 122 { return ((th_flags & TH_SYN) != 0); } in is_syn() 125 { return (th_flags & (TH_SYN | TH_ACK)) == TH_SYN; } in is_syn_only() 131 { return ((th_flags & TH_ACK) != 0); } in is_ack() 134 { return ((th_flags & TH_PUSH) != 0); } in is_psh() 137 { return ((th_flags & TH_RST) != 0); } in is_rst() 140 { return ((th_flags & TH_FIN) != 0); } in is_fin()
|
/dports/net-mgmt/packit/packit-1.8/src/ |
H A D | print_tcp_hdr.c | 49 if (tcphdr->th_flags & TH_URG) in print_tcp_hdr() 51 if (tcphdr->th_flags & TH_ACK) in print_tcp_hdr() 53 if (tcphdr->th_flags & TH_PUSH) in print_tcp_hdr() 55 if (tcphdr->th_flags & TH_RST) in print_tcp_hdr() 57 if (tcphdr->th_flags & TH_SYN) in print_tcp_hdr() 59 if (tcphdr->th_flags & TH_FIN) in print_tcp_hdr()
|
/dports/net/ndisc6/ndisc6-1.0.5/src/ |
H A D | trace-tcp.c | 64 packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); in send_syn_probe() 81 || ((pth->th_flags & TH_ACK) == 0) in parse_syn_resp() 82 || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) in parse_syn_resp() 92 return 1 + ((pth->th_flags & TH_SYN) == TH_SYN); in parse_syn_resp() 142 packet->th.th_flags = TH_ACK; in send_ack_probe() 159 || (pth->th_flags & TH_SYN) in parse_ack_resp() 160 || (pth->th_flags & TH_ACK) in parse_ack_resp() 161 || ((pth->th_flags & TH_RST) == 0) in parse_ack_resp()
|
/dports/benchmarks/dbs/dbs-1.1.5/src/ |
H A D | tcp_trace.c | 412 int sp, dp, sa, da, th_flags;; local 418 th_flags=(int)(d->td_ti.ti_flags); 425 (int)(0x01 & (th_flags >>5)), /* URG */ 426 (int)(0x01 & (th_flags >>4)), /* ACK */ 427 (int)(0x01 & (th_flags >>3)), /* PSH */ 428 (int)(0x01 & (th_flags >>2)), /* RST */ 429 (int)(0x01 & (th_flags >>1)), /* SYN */ 430 (int)(0x01 & (th_flags >>0)), /* FIN */ 441 int sp, dp, sa, da, th_flags; local 447 th_flags=(int)(TH_SYN); [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/net/ |
H A D | filter-rewriter.c | 83 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 87 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 92 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 100 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 128 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 187 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 192 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 203 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 207 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 222 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/net/ |
H A D | filter-rewriter.c | 82 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 89 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 94 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 102 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 130 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 189 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 197 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 208 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 212 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 227 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/net/ |
H A D | filter-rewriter.c | 82 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 89 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 94 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 102 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 130 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 189 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 197 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 208 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 212 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 227 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/net/ |
H A D | filter-rewriter.c | 82 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 89 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 94 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 102 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 130 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 189 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 197 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 208 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 212 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 227 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/net/ |
H A D | filter-rewriter.c | 83 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 87 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 92 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 100 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 128 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 187 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 192 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 203 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 207 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 222 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/net/ |
H A D | filter-rewriter.c | 83 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 87 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 92 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 100 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 128 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 187 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 192 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 203 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 207 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 222 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/net/ |
H A D | filter-rewriter.c | 82 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 89 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 94 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 102 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 130 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 189 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 197 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 208 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 212 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 227 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/net/ |
H A D | filter-rewriter.c | 83 tcp_pkt->th_flags); in handle_primary_tcp_pkt() 87 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt() 92 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt() 100 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt() 128 if ((tcp_pkt->th_flags & TH_FIN) == TH_FIN) { in handle_primary_tcp_pkt() 187 tcp_pkt->th_flags); in handle_secondary_tcp_pkt() 192 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN))) { in handle_secondary_tcp_pkt() 203 ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_secondary_tcp_pkt() 207 if ((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK) { in handle_secondary_tcp_pkt() 222 (tcp_pkt->th_flags & (TH_ACK | TH_FIN)) == (TH_ACK | TH_FIN)) { in handle_secondary_tcp_pkt() [all …]
|
/dports/security/ipv6toolkit/ipv6toolkit-v2.0/tools/ |
H A D | tcp6.c | 1791 tcp->th_flags = tcp->th_flags | TH_SYN | TH_ACK; 1801 tcp->th_flags = tcp->th_flags | TH_SYN; 1807 tcp->th_flags = tcp->th_flags | TH_SYN | TH_ACK; 1819 tcp->th_flags = tcp->th_flags | TH_RST | TH_ACK; 1859 if( (pkt_tcp->th_flags & TH_SYN) && !(pkt_tcp->th_flags & TH_ACK)) 1860 tcp->th_flags = tcp->th_flags | TH_SYN; 1896 if( (pkt_tcp->th_flags & TH_SYN) && !(pkt_tcp->th_flags & TH_ACK)) 1897 tcp->th_flags = tcp->th_flags | TH_SYN; 1931 tcp->th_flags= TH_ACK; 1976 tcp->th_flags= TH_ACK; [all …]
|
/dports/net-mgmt/nfdump/nfdump-1.6.20/bin/ |
H A D | pcap_reader.c | 219 …intf("TCP src %i, dst %i, flags %i : ", ntohs(tcp->th_sport), ntohs(tcp->th_dport), tcp->th_flags); in decode_packet() 220 if ( tcp->th_flags & TH_SYN ) in decode_packet() 223 if ( tcp->th_flags & TH_ACK ) in decode_packet() 226 if ( tcp->th_flags & TH_URG ) in decode_packet() 229 if ( tcp->th_flags & TH_PUSH ) in decode_packet() 232 if ( tcp->th_flags & TH_FIN ) in decode_packet() 235 if ( tcp->th_flags & TH_RST ) in decode_packet()
|
/dports/security/suricata/suricata-6.0.4/src/ |
H A D | decode-tcp.h | 120 #define TCP_GET_FLAGS(p) (p)->tcph->th_flags 122 #define TCP_ISSET_FLAG_FIN(p) ((p)->tcph->th_flags & TH_FIN) 123 #define TCP_ISSET_FLAG_SYN(p) ((p)->tcph->th_flags & TH_SYN) 124 #define TCP_ISSET_FLAG_RST(p) ((p)->tcph->th_flags & TH_RST) 125 #define TCP_ISSET_FLAG_PUSH(p) ((p)->tcph->th_flags & TH_PUSH) 126 #define TCP_ISSET_FLAG_ACK(p) ((p)->tcph->th_flags & TH_ACK) 127 #define TCP_ISSET_FLAG_URG(p) ((p)->tcph->th_flags & TH_URG) 128 #define TCP_ISSET_FLAG_RES2(p) ((p)->tcph->th_flags & TH_RES2) 129 #define TCP_ISSET_FLAG_RES1(p) ((p)->tcph->th_flags & TH_RES1) 149 uint8_t th_flags; /**< pkt flags */ member
|
H A D | stream-tcp.c | 6448 tcph.th_flags = TH_SYN; in StreamTcpTest02() 6614 tcph.th_flags = TH_ACK; in StreamTcpTest04() 6783 tcph.th_flags = TH_FIN; in StreamTcpTest06() 7043 tcph.th_flags = TH_SYN; in StreamTcpTest10() 7202 tcph.th_flags = TH_ACK; in StreamTcpTest12() 7298 tcph.th_flags = TH_ACK; in StreamTcpTest13() 7667 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest01() 7749 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest02() 7819 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest03() 9164 tcph.th_flags = TH_ACK; [all …]
|
/dports/net/nepenthes/nepenthes-0.2.2/modules/module-honeytrap/ |
H A D | TrapSocket.cpp | 612 if ( tcp->th_flags & TH_SYN && !(tcp->th_flags & TH_ACK) ) in doRecv_IPQ() 656 …if (1 && ( tcp->th_flags & TH_SYN && !(tcp->th_flags & TH_ACK) ) ) // isPortListening(ntohs(tcp->t… in doRecv_IPFW() 765 (tcp->th_flags) & TH_FIN?"FIN":"", in printIPpacket() 766 (tcp->th_flags) & TH_SYN?"SYN":"", in printIPpacket() 767 (tcp->th_flags) & TH_RST?"RST":"", in printIPpacket() 768 (tcp->th_flags) & TH_PUSH?"PUSH":"", in printIPpacket() 769 (tcp->th_flags) & TH_ACK?"ACK":"", in printIPpacket() 770 (tcp->th_flags) & TH_URG?"URG":"", in printIPpacket() 771 (tcp->th_flags) & TH_ECE?"ECE":"", in printIPpacket() 772 (tcp->th_flags) & TH_CWR?"CWR":"" in printIPpacket() [all …]
|
/dports/security/fragroute/fragroute-1.2/ |
H A D | mod_print.c | 66 if (tcp->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_PUSH)) { in _print_tcp() 67 if (tcp->th_flags & TH_SYN) putchar('S'); in _print_tcp() 68 if (tcp->th_flags & TH_FIN) putchar('F'); in _print_tcp() 69 if (tcp->th_flags & TH_RST) putchar('R'); in _print_tcp() 70 if (tcp->th_flags & TH_PUSH) putchar('P'); in _print_tcp() 80 if (len > 0 || tcp->th_flags & (TH_SYN | TH_FIN | TH_RST)) in _print_tcp() 83 if (tcp->th_flags & TH_ACK) in _print_tcp() 86 if (tcp->th_flags & TH_URG) in _print_tcp() 142 !(tcp->th_flags & TH_ACK)) { in _print_tcp()
|
/dports/security/fragrouter/fragrouter-1.6/ |
H A D | print.c | 208 if (tcph->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_PUSH)) { in print_tcp() 209 if (tcph->th_flags & TH_SYN) putchar('S'); in print_tcp() 210 if (tcph->th_flags & TH_FIN) putchar('F'); in print_tcp() 211 if (tcph->th_flags & TH_RST) putchar('R'); in print_tcp() 212 if (tcph->th_flags & TH_PUSH) putchar('P'); in print_tcp() 222 if (len > 0 || tcph->th_flags & (TH_SYN | TH_FIN | TH_RST)) in print_tcp() 225 if (tcph->th_flags & TH_ACK) printf(" ack %lu", ack); in print_tcp() 227 if (tcph->th_flags & TH_URG) printf(" urg %d", urp); in print_tcp() 289 if ((datalen % TCPOLEN_SACK) != 0 || !(tcph->th_flags & TH_ACK)) { in print_tcp()
|
/dports/net/libnids/libnids-1.24/src/ |
H A D | libnids-track-established.patch | 196 + if (this_tcphdr->th_flags & TH_ACK) 265 !(this_tcphdr->th_flags & TH_ACK) && 266 - !(this_tcphdr->th_flags & TH_RST)) 267 + !(this_tcphdr->th_flags & TH_RST)) { 275 + this_tcphdr->th_flags & TH_SYN, 276 + this_tcphdr->th_flags & TH_RST, 277 + this_tcphdr->th_flags & TH_ACK 288 + (this_tcphdr->th_flags & TH_RST) != 0 || 289 + (this_tcphdr->th_flags & TH_FIN) != 0) { 364 if ((this_tcphdr->th_flags & TH_SYN)) { [all …]
|