/freebsd-11.0-release/contrib/ipfilter/lib/ |
H A D | printpacket.c | 88 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 D | ipft_tx.c | 280 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 D | tcpip.h | 54 #define ti_flags ti_t.th_flags
|
H A D | tcp_debug.c | 190 flags = th->th_flags; 194 if (th->th_flags & TH_##f) { \
|
H A D | tcp.h | 63 u_char th_flags; member in struct:tcphdr
|
/freebsd-11.0-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 402 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 D | iptests.c | 979 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 D | resend.c | 61 if (t->th_flags & i)
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | slcompress.c | 184 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 D | tcpmss.c | 113 if (!(tc->th_flags & TH_SYN))
|
H A D | ip.c | 374 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 D | tcp.h | 47 uint8_t th_flags; member in struct:tcphdr
|
/freebsd-11.0-release/contrib/flex/ |
H A D | tables_shared.h | 112 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 D | tables.c | 93 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 D | slcompress.c | 180 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 D | ip_compat.h | 146 __u8 th_flags; member in struct:__anon1770
|
/freebsd-11.0-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 148 __u8 th_flags; member in struct:__anon1777
|
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/ |
H A D | tcp_tlro.c | 457 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 D | mlx5_en_rx.c | 137 th->th_flags |= TH_PUSH; 140 th->th_flags |= TH_ACK;
|
/freebsd-11.0-release/sys/netinet/libalias/ |
H A D | alias.c | 191 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 D | pf.c | 2408 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 D | pf_norm.c | 1185 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 D | ip_fil_freebsd.c | 380 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 D | trpt.c | 389 flags = th->th_flags; 393 if (th->th_flags&flag) { \
|
/freebsd-11.0-release/cddl/lib/libdtrace/ |
H A D | tcp.d | 240 tcp_flags = p == NULL ? 0 : p->th_flags; 259 tcp_flags = p == NULL ? 0 : p->th_flags;
|