Lines Matching refs:einfo
42 struct xt_ecn_info *einfo = cb->data; in ecn_parse() local
47 einfo->operation |= XT_ECN_OP_MATCH_CWR; in ecn_parse()
49 einfo->invert |= XT_ECN_OP_MATCH_CWR; in ecn_parse()
52 einfo->operation |= XT_ECN_OP_MATCH_ECE; in ecn_parse()
54 einfo->invert |= XT_ECN_OP_MATCH_ECE; in ecn_parse()
58 einfo->invert |= XT_ECN_OP_MATCH_IP; in ecn_parse()
59 einfo->operation |= XT_ECN_OP_MATCH_IP; in ecn_parse()
60 einfo->ip_ect = cb->val.u8; in ecn_parse()
75 const struct xt_ecn_info *einfo = in ecn_print() local
80 if (einfo->operation & XT_ECN_OP_MATCH_ECE) { in ecn_print()
82 (einfo->invert & XT_ECN_OP_MATCH_ECE) ? "!" : ""); in ecn_print()
85 if (einfo->operation & XT_ECN_OP_MATCH_CWR) { in ecn_print()
87 (einfo->invert & XT_ECN_OP_MATCH_CWR) ? "!" : ""); in ecn_print()
90 if (einfo->operation & XT_ECN_OP_MATCH_IP) { in ecn_print()
92 (einfo->invert & XT_ECN_OP_MATCH_IP) ? "!" : "", in ecn_print()
93 einfo->ip_ect); in ecn_print()
99 const struct xt_ecn_info *einfo = in ecn_save() local
102 if (einfo->operation & XT_ECN_OP_MATCH_ECE) { in ecn_save()
103 if (einfo->invert & XT_ECN_OP_MATCH_ECE) in ecn_save()
108 if (einfo->operation & XT_ECN_OP_MATCH_CWR) { in ecn_save()
109 if (einfo->invert & XT_ECN_OP_MATCH_CWR) in ecn_save()
114 if (einfo->operation & XT_ECN_OP_MATCH_IP) { in ecn_save()
115 if (einfo->invert & XT_ECN_OP_MATCH_IP) in ecn_save()
117 printf(" --ecn-ip-ect %d", einfo->ip_ect); in ecn_save()
124 const struct xt_ecn_info *einfo = in ecn_xlate() local
127 if (!(einfo->operation & XT_ECN_OP_MATCH_IP)) in ecn_xlate()
131 if (einfo->invert) in ecn_xlate()
134 switch (einfo->ip_ect) { in ecn_xlate()