| /trueos/sys/netinet/ |
| HD | tcp_output.c | 299 flags |= TH_SYN; in tcp_output() 387 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 389 flags &= ~TH_SYN; in tcp_output() 398 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { in tcp_output() 619 ((flags & TH_SYN) && (tp->t_flags & TF_NEEDSYN) == 0)) in tcp_output() 710 if (flags & TH_SYN) { in tcp_output() 716 if ((flags & TH_SYN) && (tp->t_flags & TF_REQ_SCALE)) { in tcp_output() 722 ((flags & TH_SYN) && (tp->t_flags & TF_REQ_TSTMP))) { in tcp_output() 733 if (flags & TH_SYN) in tcp_output() 990 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output() [all …]
|
| HD | tcp_fsm.h | 88 TH_SYN, /* 2, SYN_SENT */ 89 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
|
| HD | tcp.h | 65 #define TH_SYN 0x02 macro 72 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
| HD | tcp_input.c | 751 if ((thflags & (TH_SYN | TH_FIN | TH_RST)) != 0) { in tcp_input() 856 if ((tcp_log_in_vain == 1 && (thflags & TH_SYN)) || in tcp_input() 866 if ((V_blackhole == 1 && (thflags & TH_SYN)) || in tcp_input() 940 if (thflags & TH_SYN) in tcp_input() 977 if ((thflags & (TH_SYN | TH_FIN | TH_RST)) != 0) in tcp_input() 1053 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK) { in tcp_input() 1112 (thflags & TH_SYN) ? TO_SYN : 0); in tcp_input() 1156 if ((thflags & TH_SYN) == 0) { in tcp_input() 1205 KASSERT(thflags & (TH_SYN), in tcp_input() 1352 (thflags & TH_SYN) ? TO_SYN : 0); in tcp_input() [all …]
|
| HD | tcp_timewait.c | 453 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { in tcp_twcheck() 468 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()
|
| HD | tcp_syncache.c | 555 if (th->th_flags & (TH_ACK|TH_SYN|TH_FIN)) { in syncache_chkrst() 953 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_ACK, in syncache_expand() 1128 KASSERT((th->th_flags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN, in syncache_add() 1491 th->th_flags = TH_SYN|TH_ACK; in syncache_respond()
|
| /trueos/contrib/ipfilter/ipsd/Celler/ |
| HD | ip_compat.h | 54 #ifndef TH_SYN 55 # define TH_SYN 0x02 macro
|
| /trueos/contrib/pf/tftp-proxy/ |
| HD | filter.c | 302 pfr.rule.flags = (proto == IPPROTO_TCP ? TH_SYN : 0); in prepare_rule() 304 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule() 306 pfr.rule.flags = (proto == IPPROTO_TCP ? TH_SYN : NULL); in prepare_rule() 308 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL); in prepare_rule()
|
| /trueos/contrib/ipfilter/ipsend/.OLD/ |
| HD | ip_compat.h | 54 #ifndef TH_SYN 55 # define TH_SYN 0x02 macro
|
| /trueos/contrib/ipfilter/lib/ |
| HD | flags.c | 24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
| HD | tcp_flags.c | 43 if (tcpf == TH_SYN)
|
| HD | printpacket.c | 92 if (tcp->th_flags & TH_SYN)
|
| /trueos/sys/netpfil/ipfw/ |
| HD | ip_fw_dynamic.c | 373 u_char flags = pkt->_flags & (TH_FIN | TH_SYN | TH_RST); in lookup_dyn_rule_locked() 375 #define BOTH_SYN (TH_SYN | (TH_SYN << 8)) in lookup_dyn_rule_locked() 383 case TH_SYN: /* opening */ in lookup_dyn_rule_locked() 842 dir = ((flags & (TH_SYN | TH_RST)) == TH_SYN); in ipfw_send_pkt() 901 if (flags & TH_SYN) in ipfw_send_pkt() 952 ipfw_send_pkt(NULL, &(q->id), q->ack_rev - 1, q->ack_fwd, TH_SYN); in ipfw_dyn_send_ka()
|
| /trueos/contrib/tcpdump/ |
| HD | tcp.h | 58 #define TH_SYN 0x02 macro
|
| HD | print-tcp.c | 99 { TH_SYN, "S" }, 361 if (!th->nxt || (flags & TH_SYN)) { in tcp_print() 429 if (vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_print()
|
| HD | print-cnfp.c | 170 if (flags & TH_SYN) putchar('S'); in cnfp_print()
|
| /trueos/cddl/lib/libdtrace/ |
| HD | tcp.d | 60 #pragma D binding "1.0" TH_SYN 61 inline uint8_t TH_SYN = 0x02; variable
|
| /trueos/contrib/ipfilter/ipsend/ |
| HD | iptests.c | 977 for (i = 0; i <= (TH_URG|TH_ACK|TH_PUSH|TH_RST|TH_SYN|TH_FIN); 989 t->th_flags = TH_SYN; 1075 t->th_flags = TH_SYN; 1194 t->th_flags = TH_SYN; 1232 t->th_flags = TH_SYN; 1274 t->th_flags = TH_SYN;
|
| HD | lsock.c | 251 ti->ti_flags = TH_SYN;
|
| /trueos/usr.sbin/ppp/ |
| HD | tcpmss.c | 113 if (!(tc->th_flags & TH_SYN)) in MSSFixup()
|
| /trueos/contrib/pf/ftp-proxy/ |
| HD | filter.c | 292 pfr.rule.flags = TH_SYN; in prepare_rule() 293 pfr.rule.flagset = (TH_SYN|TH_ACK); in prepare_rule()
|
| /trueos/sys/contrib/ipfilter/netinet/ |
| HD | ip_state.c | 1403 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN)) { 1602 ((tcp->th_flags & TH_SYN) ? 1 : 0) + 1611 TH_SYN && 1623 if ((tcp->th_flags & TH_OPENING) == TH_SYN) 2018 if ((tcp->th_flags & TH_OPENING) == TH_SYN) { 2062 if (flags == (TH_SYN|TH_ACK)) { 2072 } else if (flags == TH_SYN) { 2164 if (tcpflags & TH_SYN) 2176 ((tcpflags & TH_SYN) ? 1 : 0) + ((tcpflags & TH_FIN) ? 1 : 0); 2189 if (!(tcpflags & TH_SYN) && (fdata->td_winflags & TCP_WSCALE_FIRST)) { [all …]
|
| HD | ip_compat.h | 746 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\ 1047 #ifndef TH_SYN 1048 # define TH_SYN 0x02 macro 1063 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
| /trueos/sys/netpfil/pf/ |
| HD | pf_osfp.c | 96 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN) in pf_osfp_fingerprint_hdr()
|
| HD | pf.c | 1875 if (f & TH_SYN) in pf_print_flags() 3349 if (th->th_flags & TH_SYN) in pf_test_rule() 3472 if ((th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN && in pf_create_state() 3483 if (th->th_flags & TH_SYN) { in pf_create_state() 3599 if (pd->proto == IPPROTO_TCP && (th->th_flags & (TH_SYN|TH_ACK)) == in pf_create_state() 3600 TH_SYN && r->keep_state == PF_STATE_SYNPROXY) { in pf_create_state() 3628 TH_SYN|TH_ACK, 0, s->src.mss, 0, 1, 0, NULL); in pf_create_state() 3757 if (src->wscale && dst->wscale && !(th->th_flags & TH_SYN)) { in pf_tcp_track_full() 3796 if (th->th_flags & TH_SYN) { in pf_tcp_track_full() 3845 if (th->th_flags & TH_SYN) in pf_tcp_track_full() [all …]
|