Home
last modified time | relevance | path

Searched refs:tcpflags (Results 1 – 11 of 11) sorted by relevance

/freebsd/sbin/ipf/libipf/
H A Dprintpacket.c21 uint16_t tcpflags; in printpacket() local
86 ((tcpflags = __tcp_get_flags(tcp)) != 0)) { in printpacket()
88 if (tcpflags & TH_FIN) in printpacket()
90 if (tcpflags & TH_SYN) in printpacket()
92 if (tcpflags & TH_RST) in printpacket()
94 if (tcpflags & TH_PUSH) in printpacket()
96 if (tcpflags & TH_ACK) in printpacket()
98 if (tcpflags & TH_URG) in printpacket()
100 if (tcpflags & TH_ECN) in printpacket()
102 if (tcpflags & TH_CWR) in printpacket()
[all …]
H A Dtcp_flags.c28 tcpf = tcpflags(flgs); in tcp_flags()
35 tcpfm = tcpflags(s); in tcp_flags()
H A Dtcpflags.c30 uint16_t tcpflags(char *flgs) in tcpflags() function
H A Dparseipfexpr.c221 mask = tcpflags(delim); in parseipfexpr()
225 flags = tcpflags(s); in parseipfexpr()
H A DMakefile42 tcp_flags.c tcpflags.c tcpoptnames.c v6ionames.c v6optvalue.c \
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_state.c2106 int ackskew, tcpflags; in ipf_state_tcpinwindow() local
2113 tcpflags = tcp_get_flags(tcp); in ipf_state_tcpinwindow()
2116 if (tcpflags & TH_SYN) in ipf_state_tcpinwindow()
2128 ((tcpflags & TH_SYN) ? 1 : 0) + ((tcpflags & TH_FIN) ? 1 : 0); in ipf_state_tcpinwindow()
2141 if (!(tcpflags & TH_SYN) && (fdata->td_winflags & TCP_WSCALE_FIRST)) { in ipf_state_tcpinwindow()
2150 ((tcpflags & TH_OPENING) == TH_OPENING))) { in ipf_state_tcpinwindow()
2159 if (!(tcpflags & TH_ACK)) { /* Pretend an ack was sent */ in ipf_state_tcpinwindow()
2161 } else if (((tcpflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) && in ipf_state_tcpinwindow()
2206 } else if ((seq == 0) && (tcpflags == (TH_RST|TH_ACK)) && in ipf_state_tcpinwindow()
3950 u_char tcpflags; in ipf_tcp_age() local
[all …]
/freebsd/sbin/ipf/iplang/
H A DBNF38 "flags" tcpflags | data .
/freebsd/sbin/ipf/common/
H A Dipf.h333 extern uint16_t tcpflags(char *);
H A Dipf_y.y830 YY_STR { $$ = tcpflags($1); free($1); }
/freebsd/sbin/pfctl/
H A Dpfctl_parser.c82 const char * const tcpflags = "FSRPAUEWe"; variable
374 for (i = 0; tcpflags[i]; ++i) in print_flags()
376 printf("%c", tcpflags[i]); in print_flags()
1309 if ((q = strchr(tcpflags, *p)) == NULL) in parse_flags()
1312 f |= 1 << (q - tcpflags); in parse_flags()
/freebsd/contrib/libpcap/
H A Dscanner.l491 tcpflags { yylval->h = 13; return NUM; }