Home
last modified time | relevance | path

Searched refs:min_proto (Results 1 – 6 of 6) sorted by relevance

/third_party/iptables/extensions/
Dlibip6t_REDIRECT.c53 range->min_proto.tcp.port in parse_ports()
65 range->min_proto.tcp.port = htons(port); in parse_ports()
113 printf("%hu", ntohs(range->min_proto.tcp.port)); in REDIRECT_print()
114 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in REDIRECT_print()
127 printf("%hu", ntohs(range->min_proto.tcp.port)); in REDIRECT_save()
128 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in REDIRECT_save()
142 ntohs(range->min_proto.tcp.port)); in REDIRECT_xlate()
143 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in REDIRECT_xlate()
Dlibip6t_MASQUERADE.c57 r->min_proto.tcp.port in parse_ports()
68 r->min_proto.tcp.port = htons(port); in parse_ports()
117 printf("%hu", ntohs(r->min_proto.tcp.port)); in MASQUERADE_print()
118 if (r->max_proto.tcp.port != r->min_proto.tcp.port) in MASQUERADE_print()
135 printf(" --to-ports %hu", ntohs(r->min_proto.tcp.port)); in MASQUERADE_save()
136 if (r->max_proto.tcp.port != r->min_proto.tcp.port) in MASQUERADE_save()
155 xt_xlate_add(xl, " to :%hu", ntohs(r->min_proto.tcp.port)); in MASQUERADE_xlate()
156 if (r->max_proto.tcp.port != r->min_proto.tcp.port) in MASQUERADE_xlate()
Dlibip6t_SNAT.c99 range->min_proto.tcp.port in parse_to()
113 range->min_proto.tcp.port = htons(port); in parse_to()
207 printf("%hu", ntohs(range->min_proto.tcp.port)); in print_range()
208 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range()
262 xt_xlate_add(xl, ":%hu", ntohs(range->min_proto.tcp.port)); in print_range_xlate()
264 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range_xlate()
Dlibip6t_DNAT.c105 range->min_proto.tcp.port in parse_to()
119 range->min_proto.tcp.port = htons(port); in parse_to()
248 printf("%hu", ntohs(range->min_proto.tcp.port)); in print_range()
249 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range()
326 xt_xlate_add(xl, ":%hu", ntohs(range->min_proto.tcp.port)); in print_range_xlate()
328 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range_xlate()
Dlibipt_DNAT.c331 range->min_proto.tcp.port in parse_to_v2()
346 range->min_proto.tcp.port = htons(port); in parse_to_v2()
445 printf("%hu", ntohs(range->min_proto.tcp.port)); in print_range_v2()
446 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range_v2()
489 xt_xlate_add(xl, ":%hu", ntohs(range->min_proto.tcp.port)); in print_range_xlate_v2()
490 if (range->max_proto.tcp.port != range->min_proto.tcp.port) in print_range_xlate_v2()
/third_party/iptables/include/linux/netfilter/
Dnf_nat.h39 union nf_conntrack_man_proto min_proto; member
47 union nf_conntrack_man_proto min_proto; member