Lines Matching defs:tcp_flag_names
63 struct tcp_flag_names {
68 static const struct tcp_flag_names tcp_flag_names[]
90 for (i = 0; i < ARRAY_SIZE(tcp_flag_names); ++i)
91 if (strcasecmp(tcp_flag_names[i].name, ptr) == 0) {
92 ret |= tcp_flag_names[i].flag;
95 if (i == ARRAY_SIZE(tcp_flag_names))
263 for (i = 0; (flags & tcp_flag_names[i].flag) == 0; i++);
267 printf("%s", tcp_flag_names[i].name);
270 flags &= ~tcp_flag_names[i].flag;