Searched refs:TH_FIN (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dflags.c24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
H A Dprintpacket.c90 if (tcp->th_flags & TH_FIN)
H A Dipft_tx.c29 static u_char myflags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH,
/freebsd-11-stable/sys/netinet/
H A Dtcp_fsm.h82 * TH_ACK,TH_SYN,TH_FIN) are totally determined by state, with the proviso
83 * that TH_FIN is sent only if all data queued for output is included in the
93 TH_FIN|TH_ACK, /* 6, FIN_WAIT_1 */
94 TH_FIN|TH_ACK, /* 7, CLOSING */
95 TH_FIN|TH_ACK, /* 8, LAST_ACK */
H A Dtcp.h64 #define TH_FIN 0x01 macro
72 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
H A Dtcp_output.c136 KASSERT(((len) == 0 && ((th_flags) & (TH_SYN | TH_FIN)) == 0) ||\
322 flags |= TH_FIN;
352 flags &= ~TH_FIN;
435 flags &= ~TH_FIN;
585 flags &= ~TH_FIN;
589 flags &= ~TH_FIN;
712 if (flags & TH_FIN &&
867 flags &= ~TH_FIN;
1093 else if (flags & (TH_SYN|TH_FIN|TH_RST))
1139 if (flags & TH_FIN
[all...]
H A Dtcp_reass.c332 last->tqe_flags |= (th->th_flags & TH_FIN);
411 q->tqe_flags = (flags & TH_FIN);
435 ent->tqe_flags |= (q->tqe_flags & TH_FIN);
566 if ((*tlenp == 0) && ((th->th_flags & TH_FIN) == 0)) {
616 if ((th->th_flags & TH_FIN) &&
657 if (last->tqe_flags & TH_FIN) {
682 if (last->tqe_flags & TH_FIN) {
952 flags = th->th_flags & TH_FIN;
1060 flags = q->tqe_flags & TH_FIN;
H A Dtcp_offload.c135 } else if ((flags & TH_FIN || tp->t_flags & TF_NEEDFIN) &&
H A Dtcp_input.c785 if ((thflags & (TH_FIN | TH_RST)) != 0) {
1032 if ((thflags & (TH_FIN | TH_RST)) != 0)
1246 if ((thflags & TH_FIN) && V_drop_synfin) {
1585 if ((thflags & (TH_SYN | TH_FIN | TH_RST)) != 0 ||
1612 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) {
1778 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK &&
2010 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) {
2120 thflags &= ~TH_FIN;
2304 || (todrop == tlen && (thflags & TH_FIN) == 0)) {
2310 thflags &= ~TH_FIN;
[all...]
H A Dtcp_timewait.c463 if (thflags & TH_FIN) {
/freebsd-11-stable/contrib/tcpdump/
H A Dtcp.h56 #define TH_FIN 0x01 macro
H A Dprint-cnfp.c224 flags & TH_FIN ? "F" : "",
320 flags & TH_FIN ? "F" : "",
416 flags & TH_FIN ? "F" : "",
H A Dprint-tcp.c105 { TH_FIN, "F" },
401 if (ndo->ndo_vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) {
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c588 thflags &= ~TH_FIN;
770 || (todrop == tlen && (thflags & TH_FIN) == 0)) {
776 thflags &= ~TH_FIN;
849 thflags &= ~(TH_PUSH|TH_FIN);
873 ((thflags & (TH_SYN|TH_FIN)) != 0))) {
933 if (tlen == 0 && (thflags & TH_FIN) == 0)
980 if ((thflags & TH_FIN) &&
1450 if ((tlen || (thflags & TH_FIN)) &&
1474 thflags = th->th_flags & TH_FIN;
1510 thflags &= ~TH_FIN;
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dtcp.d59 #pragma D binding "1.6.3" TH_FIN
60 inline uint8_t TH_FIN = 0x01;
301 flags & TH_FIN ? "FIN" :
/freebsd-11-stable/contrib/pf/tftp-proxy/
H A Dfilter.c304 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0);
308 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : NULL);
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_compat.h713 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\
830 #ifndef TH_FIN
831 # define TH_FIN 0x01 macro
849 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
H A Dip_state.c1606 ((tcp->th_flags & TH_FIN) ? 1 : 0);
1613 if ((tcp->th_flags & ~(TH_FIN|TH_ACK|TH_ECNALL)) ==
2068 * Compare with ~TH_FIN to mask out T/TCP setups.
2070 flags = tcp->th_flags & ~(TH_FIN|TH_ECNALL);
2189 ((tcpflags & TH_SYN) ? 1 : 0) + ((tcpflags & TH_FIN) ? 1 : 0);
2381 ((tcp->th_flags & TH_FIN) ? 1 : 0);
4135 } else if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK)) ==
4144 } else if (tcpflags & TH_FIN) {
4164 if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK)) == TH_ACK) {
4180 } else if (tcpflags & TH_FIN) {
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dipsend.c384 tcp->th_flags |= TH_FIN;
/freebsd-11-stable/usr.sbin/ppp/
H A Dslcompress.c184 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) {
H A Dip.c378 finrst = (th->th_flags & (TH_FIN|TH_RST));
833 for (mask = TH_FIN; mask != 0x40; mask <<= 1) {
/freebsd-11-stable/usr.sbin/trpt/
H A Dtrpt.c400 pf(TH_FIN, "FIN");
/freebsd-11-stable/sys/net/
H A Dslcompress.c175 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
H A Dflowtable.c219 if (th->th_flags & (TH_RST|TH_FIN))
334 if (TCP(ulp)->th_flags & (TH_RST|TH_FIN))
/freebsd-11-stable/sys/netgraph/netflow/
H A Dnetflow.c786 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle) ||
908 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) ||

Completed in 166 milliseconds

12