/freebsd-12-stable/contrib/ipfilter/lib/ |
H A D | flags.c | 24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
H A D | tcp_flags.c | 43 if (tcpf == TH_SYN)
|
H A D | printpacket.c | 92 if (tcp->th_flags & TH_SYN)
|
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_fsm.h | 84 * TH_ACK,TH_SYN,TH_FIN) are totally determined by state, with the proviso 91 TH_SYN, /* 2, SYN_SENT */ 92 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
|
H A D | tcp.h | 67 #define TH_SYN 0x02 macro 75 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
H A D | tcp_output.c | 141 KASSERT(((len) == 0 && ((th_flags) & (TH_SYN | TH_FIN)) == 0) ||\ 336 flags |= TH_SYN; 425 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { 427 flags &= ~TH_SYN; 434 flags &= ~TH_SYN; 443 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { 461 (((flags & TH_SYN) && (tp->t_rxtshift > 0)) || 549 ipoptlen == 0 && !(flags & TH_SYN)) 689 ((flags & TH_SYN) && (tp->t_flags & TF_NEEDSYN) == 0)) 780 if (flags & TH_SYN) { [all...] |
H A D | tcp_timewait.c | 400 KASSERT(to != NULL || (thflags & (TH_SYN | TH_ACK)) == TH_SYN, 439 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { 465 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0);
|
H A D | tcp_input.c | 888 if ((V_tcp_log_in_vain == 1 && (thflags & TH_SYN)) || 898 if ((V_blackhole == 1 && (thflags & TH_SYN)) || 979 (thflags & TH_SYN) ? TO_SYN : 0); 1018 if (!((tp->t_state == TCPS_ESTABLISHED && (thflags & TH_SYN) == 0) || 1019 (tp->t_state == TCPS_LISTEN && (thflags & TH_SYN) && 1080 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { 1181 if ((thflags & TH_SYN) == 0) { 1230 KASSERT(thflags & (TH_SYN), 1231 ("%s: Listen socket: TH_SYN not set", __func__)); 1550 if ((thflags & (TH_SYN | TH_FI [all...] |
H A D | tcp_syncache.c | 501 syncache_respond(sc, sch, NULL, TH_SYN|TH_ACK); 565 if (th->th_flags & (TH_ACK|TH_SYN|TH_FIN)) { 1016 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK, 1334 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN, 1498 if (syncache_respond(sc, sch, m, TH_SYN|TH_ACK) == 0) { 1658 if (syncache_respond(sc, sch, m, TH_SYN|TH_ACK) == 0) { 1792 if (flags & TH_SYN) 1803 if ((flags & TH_SYN) && (sc->sc_flags & SCF_ECN)) { 1812 if (flags & TH_SYN) { [all...] |
/freebsd-12-stable/contrib/tcpdump/ |
H A D | print-mptcp.c | 181 if (!(opt_len == 12 && (flags & TH_SYN)) && 182 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK)) 205 if (!(opt_len == 12 && (flags & TH_SYN)) && 206 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) && 249 if (flags & TH_SYN)
|
H A D | tcp.h | 57 #define TH_SYN 0x02 macro
|
H A D | print-cnfp.c | 225 flags & TH_SYN ? "S" : "", 321 flags & TH_SYN ? "S" : "", 417 flags & TH_SYN ? "S" : "",
|
H A D | print-tcp.c | 106 { TH_SYN, "S" }, 283 if (!th->nxt || (flags & TH_SYN)) { 334 if (!th->nxt || (flags & TH_SYN)) { 401 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) {
|
/freebsd-12-stable/contrib/pf/tftp-proxy/ |
H A D | filter.c | 310 pfrule.flags = (proto == IPPROTO_TCP ? TH_SYN : 0); 312 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); 314 pfrule.flags = (proto == IPPROTO_TCP ? TH_SYN : NULL); 316 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL);
|
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | tcpmss.c | 115 if (!(tc->th_flags & TH_SYN))
|
/freebsd-12-stable/cddl/lib/libdtrace/ |
H A D | tcp.d | 87 #pragma D binding "1.6.3" TH_SYN 88 inline uint8_t TH_SYN = 0x02; 328 flags & TH_SYN ? "SYN" :
|
/freebsd-12-stable/contrib/ipfilter/ipsend/ |
H A D | iptests.c | 948 for (i = 0; i <= (TH_URG|TH_ACK|TH_PUSH|TH_RST|TH_SYN|TH_FIN); 960 t->th_flags = TH_SYN; 1046 t->th_flags = TH_SYN; 1165 t->th_flags = TH_SYN; 1203 t->th_flags = TH_SYN; 1245 t->th_flags = TH_SYN;
|
H A D | ipsend.c | 378 tcp->th_flags |= TH_SYN;
|
/freebsd-12-stable/contrib/pf/ftp-proxy/ |
H A D | filter.c | 302 pfrule.flags = TH_SYN; 303 pfrule.flagset = (TH_SYN|TH_ACK);
|
/freebsd-12-stable/sys/netinet/tcp_stacks/ |
H A D | rack.c | 1762 if (thflags & TH_SYN) { 1763 thflags &= ~TH_SYN; 3449 if (th_flags & (TH_SYN | TH_FIN)) { 3456 if (th_flags & TH_SYN) 5389 if (!(thflags & TH_SYN)) { 5434 thflags &= ~TH_SYN; 5541 if ((thflags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) { 5544 } else if (thflags & TH_SYN) { 5567 if (thflags & TH_SYN) { [all...] |
H A D | rack_bbr_common.c | 462 if (thflags & TH_SYN) { 463 thflags &= ~TH_SYN;
|
/freebsd-12-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 714 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 834 #ifndef TH_SYN 835 # define TH_SYN 0x02 macro 850 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
H A D | ip_state.c | 1406 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN)) { 1605 ((tcp->th_flags & TH_SYN) ? 1 : 0) + 1614 TH_SYN && 1628 if ((tcp->th_flags & TH_OPENING) == TH_SYN) 2027 if ((tcp->th_flags & TH_OPENING) == TH_SYN) { 2071 if (flags == (TH_SYN|TH_ACK)) { 2083 } else if (flags == TH_SYN) { 2177 if (tcpflags & TH_SYN) 2189 ((tcpflags & TH_SYN) ? 1 : 0) + ((tcpflags & TH_FIN) ? 1 : 0); 2202 if (!(tcpflags & TH_SYN) [all...] |
/freebsd-12-stable/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 206 (args->f_id._flags & TH_SYN) == 0)
|
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_osfp.c | 108 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN)
|