Home
last modified time | relevance | path

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

/third_party/iptables/extensions/
Dlibxt_tcp.c63 struct tcp_flag_names { struct
68 static const struct tcp_flag_names tcp_flag_names[] argument
90 for (i = 0; i < ARRAY_SIZE(tcp_flag_names); ++i) in parse_tcp_flag()
91 if (strcasecmp(tcp_flag_names[i].name, ptr) == 0) { in parse_tcp_flag()
92 ret |= tcp_flag_names[i].flag; in parse_tcp_flag()
95 if (i == ARRAY_SIZE(tcp_flag_names)) in parse_tcp_flag()
263 for (i = 0; (flags & tcp_flag_names[i].flag) == 0; i++); in print_tcpf()
267 printf("%s", tcp_flag_names[i].name); in print_tcpf()
270 flags &= ~tcp_flag_names[i].flag; in print_tcpf()
365 static const struct tcp_flag_names tcp_flag_names_xlate[] = {