Lines Matching refs:einfo
51 struct ipt_ECN_info *einfo = cb->data; in ECN_parse() local
56 einfo->operation = IPT_ECN_OP_SET_ECE | IPT_ECN_OP_SET_CWR; in ECN_parse()
57 einfo->proto.tcp.ece = 0; in ECN_parse()
58 einfo->proto.tcp.cwr = 0; in ECN_parse()
61 einfo->operation |= IPT_ECN_OP_SET_CWR; in ECN_parse()
62 einfo->proto.tcp.cwr = cb->val.u8; in ECN_parse()
65 einfo->operation |= IPT_ECN_OP_SET_ECE; in ECN_parse()
66 einfo->proto.tcp.ece = cb->val.u8; in ECN_parse()
69 einfo->operation |= IPT_ECN_OP_SET_IP; in ECN_parse()
70 einfo->ip_ect = cb->val.u8; in ECN_parse()
85 const struct ipt_ECN_info *einfo = in ECN_print() local
90 if (einfo->operation == (IPT_ECN_OP_SET_ECE|IPT_ECN_OP_SET_CWR) in ECN_print()
91 && einfo->proto.tcp.ece == 0 in ECN_print()
92 && einfo->proto.tcp.cwr == 0) in ECN_print()
95 if (einfo->operation & IPT_ECN_OP_SET_ECE) in ECN_print()
96 printf(" ECE=%u", einfo->proto.tcp.ece); in ECN_print()
98 if (einfo->operation & IPT_ECN_OP_SET_CWR) in ECN_print()
99 printf(" CWR=%u", einfo->proto.tcp.cwr); in ECN_print()
101 if (einfo->operation & IPT_ECN_OP_SET_IP) in ECN_print()
102 printf(" ECT codepoint=%u", einfo->ip_ect); in ECN_print()
108 const struct ipt_ECN_info *einfo = in ECN_save() local
111 if (einfo->operation == (IPT_ECN_OP_SET_ECE|IPT_ECN_OP_SET_CWR) in ECN_save()
112 && einfo->proto.tcp.ece == 0 in ECN_save()
113 && einfo->proto.tcp.cwr == 0) in ECN_save()
117 if (einfo->operation & IPT_ECN_OP_SET_ECE) in ECN_save()
118 printf(" --ecn-tcp-ece %d", einfo->proto.tcp.ece); in ECN_save()
120 if (einfo->operation & IPT_ECN_OP_SET_CWR) in ECN_save()
121 printf(" --ecn-tcp-cwr %d", einfo->proto.tcp.cwr); in ECN_save()
123 if (einfo->operation & IPT_ECN_OP_SET_IP) in ECN_save()
124 printf(" --ecn-ip-ect %d", einfo->ip_ect); in ECN_save()