/freebsd-current/sbin/ipf/libipf/ |
H A D | flags.c | 23 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
H A D | tcp_flags.c | 39 if (tcpf == TH_SYN)
|
H A D | printpacket.c | 89 if (tcp->th_flags & TH_SYN)
|
/freebsd-current/sys/netinet/ |
H A D | tcp_fsm.h | 67 * TH_ACK,TH_SYN,TH_FIN) are totally determined by state, with the proviso 74 TH_SYN, /* 2, SYN_SENT */ 75 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
|
H A D | tcp_timewait.c | 169 if ((thflags & (TH_SYN | TH_ACK)) == TH_SYN) 210 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { 227 if (((thflags & (TH_SYN | TH_ACK)) == TH_SYN) && 249 if (tcp_get_flags(th) & TH_SYN) 284 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0);
|
H A D | tcp_output.c | 145 KASSERT(((len) == 0 && ((th_flags) & (TH_SYN | TH_FIN)) == 0) ||\ 343 flags |= TH_SYN; 432 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { 434 flags &= ~TH_SYN; 441 flags &= ~TH_SYN; 450 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { 468 (((flags & TH_SYN) && (tp->t_rxtshift > 0)) || 475 if ((flags & TH_SYN) && !(tp->t_flags & TF_FASTOPEN)) { 564 ipoptlen == 0 && !(flags & TH_SYN)) 702 ((flags & TH_SYN) [all...] |
H A D | tcp.h | 63 #define TH_SYN 0x02 macro 74 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
H A D | tcp_input.c | 833 ((thflags & (TH_ACK|TH_SYN)) == TH_SYN ? 913 if ((V_tcp_log_in_vain == 1 && (thflags & TH_SYN)) || 997 (thflags & TH_SYN) ? TO_SYN : 0); 1066 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { 1177 if ((thflags & TH_SYN) == 0) { 1226 KASSERT(thflags & (TH_SYN), 1227 ("%s: Listen socket: TH_SYN not set", __func__)); 1403 ((V_blackhole == 1 && (thflags & TH_SYN)) || V_blackhole > 1))) && 1556 if ((thflags & TH_SYN) [all...] |
H A D | tcp_ecn.c | 351 if ((thflags & (TH_SYN | TH_ECE)) == TH_ECE) { 569 if ((thflags & TH_SYN) &&
|
H A D | tcp_syncache.c | 538 syncache_respond(sc, NULL, TH_SYN|TH_ACK); 1090 KASSERT((tcp_get_flags(th) & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK, 1414 KASSERT((tcp_get_flags(th) & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN, 1587 if (syncache_respond(sc, m, TH_SYN|TH_ACK) == 0) { 1762 if (syncache_respond(sc, m, TH_SYN|TH_ACK) == 0) { 1920 if (flags & TH_SYN) 1936 if (flags & TH_SYN) {
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-mptcp.c | 198 if (!((opt_len == 12 || opt_len == 4) && flags & TH_SYN) && 199 !((opt_len == 20 || opt_len == 22) && (flags & (TH_SYN | TH_ACK)) == 231 if (!(opt_len == 12 && (flags & TH_SYN)) && 232 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) && 276 if (flags & TH_SYN)
|
H A D | tcp.h | 56 #define TH_SYN 0x02 macro
|
H A D | print-cnfp.c | 231 flags & TH_SYN ? "S" : "", 333 flags & TH_SYN ? "S" : "", 435 flags & TH_SYN ? "S" : "",
|
H A D | print-tcp.c | 108 { TH_SYN, "S" }, 294 if (!th->nxt || (flags & TH_SYN)) { 352 if (!th->nxt || (flags & TH_SYN)) { 422 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) {
|
/freebsd-current/contrib/pf/tftp-proxy/ |
H A D | filter.c | 314 pfrule.flags = (proto == IPPROTO_TCP ? TH_SYN : 0); 316 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); 318 pfrule.flags = (proto == IPPROTO_TCP ? TH_SYN : NULL); 320 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL);
|
/freebsd-current/usr.sbin/ppp/ |
H A D | tcpmss.c | 118 if (!(tc->th_flags & TH_SYN))
|
/freebsd-current/cddl/lib/libdtrace/ |
H A D | tcp.d | 85 #pragma D binding "1.6.3" TH_SYN 86 inline uint16_t TH_SYN = 0x02; 328 flags & TH_SYN ? "SYN" :
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | iptests.c | 927 for (i = 0; i <= (TH_URG|TH_ACK|TH_PUSH|TH_RST|TH_SYN|TH_FIN); 939 t->th_flags = TH_SYN; 1025 t->th_flags = TH_SYN; 1144 t->th_flags = TH_SYN; 1182 t->th_flags = TH_SYN; 1224 t->th_flags = TH_SYN;
|
/freebsd-current/sys/netpfil/pf/ |
H A D | pf_syncookies.c | 304 iss, ntohl(pd->hdr.tcp.th_seq) + 1, TH_SYN|TH_ACK, 0, mss, 523 *pd->dport, seq, 0, TH_SYN, wscale, mss, ttl, false, 0,
|
H A D | pf_osfp.c | 106 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN)
|
/freebsd-current/contrib/pf/ftp-proxy/ |
H A D | filter.c | 304 pfrule.flags = TH_SYN; 305 pfrule.flagset = (TH_SYN|TH_ACK);
|
/freebsd-current/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 203 (args->f_id._flags & TH_SYN) == 0)
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_compat.h | 698 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 818 #ifndef TH_SYN 819 # define TH_SYN 0x02 macro 834 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
H A D | ip_state.c | 1357 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN)) { 1556 ((tcp->th_flags & TH_SYN) ? 1 : 0) + 1565 TH_SYN && 1579 if ((tcp->th_flags & TH_OPENING) == TH_SYN) 1971 if ((tcp->th_flags & TH_OPENING) == TH_SYN) { 2015 if (flags == (TH_SYN|TH_ACK)) { 2027 } else if (flags == TH_SYN) { 2116 if (tcpflags & TH_SYN) 2128 ((tcpflags & TH_SYN) ? 1 : 0) + ((tcpflags & TH_FIN) ? 1 : 0); 2141 if (!(tcpflags & TH_SYN) [all...] |
/freebsd-current/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 5924 if (th_flags & (TH_SYN | TH_FIN) && (hintrsm == NULL)) { 5931 if ((th_flags & TH_SYN) && (tp->iss == seq_out)) 5962 if (th_flags & TH_SYN) 8762 if (!(thflags & TH_SYN)) { 8834 thflags &= ~TH_SYN; 8960 if ((thflags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) { 8964 } else if (thflags & TH_SYN) { 9018 ((thflags & (TH_SYN | TH_FIN)) != 0))) { 9185 __predict_true((thflags & (TH_SYN | TH_FI [all...] |