Searched refs:th_flags (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-11.0-release/contrib/ipfilter/lib/
H A Dprintpacket.c88 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
90 if (tcp->th_flags & TH_FIN)
92 if (tcp->th_flags & TH_SYN)
94 if (tcp->th_flags & TH_RST)
96 if (tcp->th_flags & TH_PUSH)
98 if (tcp->th_flags & TH_ACK)
100 if (tcp->th_flags & TH_URG)
102 if (tcp->th_flags & TH_ECN)
104 if (tcp->th_flags & TH_CWR)
H A Dipft_tx.c280 tcp->th_flags = 0;
283 tcp->th_flags |= myflags[t-myflagset];
284 if (tcp->th_flags)
288 if (tcp->th_flags & TH_URG)
454 tcp->th_flags = 0;
457 tcp->th_flags |= myflags[t-myflagset];
458 if (tcp->th_flags)
462 if (tcp->th_flags & TH_URG)
/freebsd-11.0-release/sys/netinet/
H A Dtcpip.h54 #define ti_flags ti_t.th_flags
H A Dtcp_debug.c190 flags = th->th_flags;
194 if (th->th_flags & TH_##f) { \
H A Dtcp.h63 u_char th_flags; member in struct:tcphdr
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Dipsend.c402 tcp->th_flags |= TH_SYN;
405 tcp->th_flags |= TH_ACK;
408 tcp->th_flags |= TH_FIN;
411 tcp->th_flags |= TH_RST;
414 tcp->th_flags |= TH_PUSH;
417 tcp->th_flags |= TH_URG;
427 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags)
428 printf("Flags: %#x\n", tcp->th_flags);
H A Diptests.c979 t->th_flags = i;
989 t->th_flags = TH_SYN;
1032 t->th_flags = TH_ACK;
1075 t->th_flags = TH_SYN;
1145 t->th_flags = TH_ACK|TH_URG;
1164 t->th_flags &= ~TH_URG;
1172 t->th_flags = TH_ACK;
1194 t->th_flags = TH_SYN;
1232 t->th_flags = TH_SYN;
1274 t->th_flags
[all...]
H A Dresend.c61 if (t->th_flags & i)
/freebsd-11.0-release/usr.sbin/ppp/
H A Dslcompress.c184 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) {
185 log_Printf(LogDEBUG, "??? 2 th_flags = %x\n", th->th_flags);
288 if (th->th_flags & TH_URG) {
371 if (th->th_flags & TH_PUSH)
506 th->th_flags |= TH_PUSH;
508 th->th_flags &= ~TH_PUSH;
527 th->th_flags |= TH_URG;
530 th->th_flags &= ~TH_URG;
H A Dtcpmss.c113 if (!(tc->th_flags & TH_SYN))
H A Dip.c374 estab = (th->th_flags & TH_ACK);
375 syn = (th->th_flags & TH_SYN);
376 finrst = (th->th_flags & (TH_FIN|TH_RST));
381 th->th_flags, sport, dport);
832 if (th->th_flags & mask) {
842 if ((th->th_flags & TH_SYN) && nb > 40) {
/freebsd-11.0-release/contrib/tcpdump/
H A Dtcp.h47 uint8_t th_flags; member in struct:tcphdr
/freebsd-11.0-release/contrib/flex/
H A Dtables_shared.h112 flex_uint16_t th_flags; /**< Currently unused, must be 0 */
111 flex_uint16_t th_flags; /**< Currently unused, must be 0 */ member in struct:yytbl_hdr
H A Dtables.c93 th->th_flags = 0;
159 || yytbl_write16 (wr, th->th_flags) < 0)
160 flex_die (_("th_ssize|th_flags write failed"));
/freebsd-11.0-release/sys/net/
H A Dslcompress.c180 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
281 if (th->th_flags & TH_URG) {
362 if (th->th_flags & TH_PUSH)
538 th->th_flags |= TH_PUSH;
540 th->th_flags &=~ TH_PUSH;
558 th->th_flags |= TH_URG;
561 th->th_flags &=~ TH_URG;
/freebsd-11.0-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h146 __u8 th_flags; member in struct:__anon1770
/freebsd-11.0-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h148 __u8 th_flags; member in struct:__anon1777
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/
H A Dtcp_tlro.c457 if ((pinfoa->tcp->th_flags & ~(TH_ACK | TH_PUSH)) ||
458 (pinfob->tcp->th_flags & ~(TH_ACK | TH_PUSH)))
494 pinfoa->tcp->th_flags |= pinfob->tcp->th_flags;
H A Dmlx5_en_rx.c137 th->th_flags |= TH_PUSH;
140 th->th_flags |= TH_ACK;
/freebsd-11.0-release/sys/netinet/libalias/
H A Dalias.c191 TcpMonitorIn(u_char th_flags, struct alias_link *lnk) argument
196 if (th_flags & TH_RST)
198 else if (th_flags & TH_SYN)
202 if (th_flags & (TH_FIN | TH_RST))
209 TcpMonitorOut(u_char th_flags, struct alias_link *lnk) argument
214 if (th_flags & TH_RST)
216 else if (th_flags & TH_SYN)
220 if (th_flags & (TH_FIN | TH_RST))
1030 TcpMonitorIn(tc->th_flags, lnk);
1114 TcpMonitorOut(tc->th_flags, ln
[all...]
/freebsd-11.0-release/sys/netpfil/pf/
H A Dpf.c2408 th->th_flags = flags;
3351 (r->flagset & th->th_flags) != r->flags)
3435 !(th->th_flags & TH_RST)) {
3463 if (th->th_flags & TH_SYN)
3465 if (th->th_flags & TH_FIN)
3586 if ((th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN &&
3597 if (th->th_flags & TH_SYN) {
3610 if (th->th_flags & TH_FIN)
3710 if (pd->proto == IPPROTO_TCP && (th->th_flags & (TH_SYN|TH_ACK)) ==
3889 if (src->wscale && dst->wscale && !(th->th_flags
[all...]
H A Dpf_norm.c1185 flags = th->th_flags;
1210 if (flags != th->th_flags || th->th_x2 != 0) {
1214 th->th_flags = flags;
1285 if ((th->th_flags & TH_SYN) == 0)
1615 pf_print_flags(th->th_flags);
1624 } else if (!got_ts && (th->th_flags & TH_RST) == 0 &&
1626 || pd->p_len > 0 || (th->th_flags & TH_SYN)) &&
1665 pf_print_flags(th->th_flags);
1695 pf_print_flags(th->th_flags);
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c380 if (tcp->th_flags & TH_RST)
387 ((tcp->th_flags & TH_SYN) ? 1 : 0) +
388 ((tcp->th_flags & TH_FIN) ? 1 : 0);
424 if (tcp->th_flags & TH_ACK) {
426 tcp2->th_flags = TH_RST;
433 tcp2->th_flags = TH_RST|TH_ACK;
/freebsd-11.0-release/usr.sbin/trpt/
H A Dtrpt.c389 flags = th->th_flags;
393 if (th->th_flags&flag) { \
/freebsd-11.0-release/cddl/lib/libdtrace/
H A Dtcp.d240 tcp_flags = p == NULL ? 0 : p->th_flags;
259 tcp_flags = p == NULL ? 0 : p->th_flags;

Completed in 334 milliseconds

123