Home
last modified time | relevance | path

Searched refs:mssinfo (Results 1 – 2 of 2) sorted by relevance

/external/iptables/extensions/
Dlibxt_TCPMSS.c16 struct mssinfo { struct
58 struct xt_tcpmss_info *mssinfo = cb->data; in TCPMSS_parse() local
62 mssinfo->mss = XT_TCPMSS_CLAMP_PMTU; in TCPMSS_parse()
75 const struct xt_tcpmss_info *mssinfo = in TCPMSS_print() local
77 if(mssinfo->mss == XT_TCPMSS_CLAMP_PMTU) in TCPMSS_print()
80 printf(" TCPMSS set %u", mssinfo->mss); in TCPMSS_print()
85 const struct xt_tcpmss_info *mssinfo = in TCPMSS_save() local
88 if(mssinfo->mss == XT_TCPMSS_CLAMP_PMTU) in TCPMSS_save()
91 printf(" --set-mss %u", mssinfo->mss); in TCPMSS_save()
97 const struct xt_tcpmss_info *mssinfo = in TCPMSS_xlate() local
[all …]
Dlibxt_tcpmss.c25 struct xt_tcpmss_match_info *mssinfo = cb->data; in tcpmss_parse() local
28 mssinfo->mss_min = cb->val.u16_range[0]; in tcpmss_parse()
29 mssinfo->mss_max = mssinfo->mss_min; in tcpmss_parse()
31 mssinfo->mss_max = cb->val.u16_range[1]; in tcpmss_parse()
32 if (mssinfo->mss_max < mssinfo->mss_min) in tcpmss_parse()
37 mssinfo->invert = 1; in tcpmss_parse()