Home
last modified time | relevance | path

Searched refs:max_mss (Results 1 – 14 of 14) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpf_print_state.c412 if (s->max_mss) in print_state()
413 printf(", max-mss %d", s->max_mss); in print_state()
H A Dpfctl_parser.c1166 if (r->max_mss) in print_rule()
1167 printf(" max-mss %d", r->max_mss); in print_rule()
1175 } else if (r->scrub_flags & PFSTATE_SCRUBMASK || r->min_ttl || r->max_mss) { in print_rule()
1188 if (r->max_mss) in print_rule()
1189 printf(" max-mss %d", r->max_mss); in print_rule()
H A Dparse.y282 int max_mss; member
1446 r.max_mss = $8.maxmss;
2396 if ($9.max_mss)
2397 r.max_mss = $9.max_mss;
3015 filter_opts.max_mss = $3.maxmss;
H A Dpfctl_optimize.c201 PF_RULE_FIELD(max_mss, NEVER),
/freebsd/lib/libpfctl/
H A Dlibpfctl.h216 uint16_t max_mss; member
364 uint16_t max_mss; member
H A Dlibpfctl.c767 rule->max_mss = nvlist_get_number(nvl, "max_mss"); in pf_nvrule_to_rule()
1251 snl_add_msg_attr_u16(nw, PF_RT_MAX_MSS, r->max_mss); in snl_add_msg_attr_pf_rule()
1617 { .type = PF_RT_MAX_MSS, .off = _OUT(r.max_mss), .cb = snl_attr_get_uint16 },
1906 { .type = PF_ST_MAX_MSS, .off = _OUT(max_mss), .cb = snl_attr_get_uint16 },
/freebsd/sys/netpfil/pf/
H A Dpf.h548 u_int16_t max_mss; member
H A Dpf_nv.c587 PFNV_CHK(pf_nvuint16(nvl, "max_mss", &rule->max_mss)); in pf_nvrule_to_krule()
768 nvlist_add_number(nvl, "max_mss", rule->max_mss); in pf_krule_to_nvrule()
H A Dif_pfsync.c656 st->act.max_mss = r->max_mss; in pfsync_state_import()
680 st->act.max_mss = ntohs(sp->pfs_1400.max_mss); in pfsync_state_import()
H A Dpf_nl.c205 nlattr_add_u16(nw, PF_ST_MAX_MSS, s->act.max_mss); in dump_state()
699 { .type = PF_RT_MAX_MSS, .off = _OUT(max_mss), .cb = nlattr_get_uint16 },
941 nlattr_add_u16(nw, PF_RT_MAX_MSS, rule->max_mss); in pf_handle_getrule()
H A Dpf_norm.c1952 if ((ntohs(*mss)) > pd->act.max_mss) { in pf_normalize_mss()
1955 mss, htons(pd->act.max_mss), in pf_normalize_mss()
H A Dpf_ioctl.c1993 krule->max_mss = rule->max_mss; in pf_rule_to_krule()
5614 sp->pfs_1400.max_mss = htons(st->act.max_mss); in pfsync_state_export()
5729 sp->max_mss = htons(st->act.max_mss); in pf_state_export()
H A Dpf.c4284 if (r->max_mss) in pf_rule_to_actions()
4285 a->max_mss = r->max_mss; in pf_rule_to_actions()
9304 if (pd.proto == IPPROTO_TCP && pd.act.max_mss) in pf_test()
/freebsd/sys/net/
H A Dpfvar.h652 uint16_t max_mss; member
823 u_int16_t max_mss; member
1053 uint16_t max_mss; member
1204 u_int16_t max_mss; member