Home | History | Annotate | Download | only in pfctl

Lines Matching defs:tcpopts

100 	char *class, *version, *subtype, *desc, *tcpopts;
109 class = version = subtype = desc = tcpopts = NULL;
124 if (tcpopts)
125 free(tcpopts);
126 class = version = subtype = desc = tcpopts = NULL;
161 GET_STR(tcpopts, "TCP Options", 1) ||
167 if (get_tcpopts(fp_filename, lineno, tcpopts, &packed_tcpopts,
262 if (tcpopts)
263 free(tcpopts);
894 get_tcpopts(const char *filename, int lineno, const char *tcpopts,
907 if (strcmp(tcpopts, ".") == 0)
910 for (i = 0; tcpopts[i] && *optcnt < PF_OSFP_MAX_OPTS;) {
911 switch ((opt = toupper((unsigned char)tcpopts[i++]))) {
935 if (tcpopts[i] == '*' && (tcpopts[i + 1] == '\0' ||
936 tcpopts[i + 1] == ',')) {
942 if (tcpopts[i] == '%') {
947 if (!isdigit((unsigned char)tcpopts[i])) {
950 filename, lineno, tcpopts[i], opt);
953 *this = (*this * 10) + tcpopts[i++] - '0';
954 } while(tcpopts[i] != ',' && tcpopts[i] != '\0');
958 if (tcpopts[i] == '0') {
967 if (tcpopts[i] == '\0')
969 if (tcpopts[i] != ',') {
1104 snprintf(tmp, sizeof(tmp), "TcpOpts %d 0x%llx", fp->fp_optcnt,