| 3010 | static const char *default_state_name = "default"; |
| 3011 | |
| 3012 | static int |
| 3013 | state_check_name(const char *name) |
| 3014 | { |
| 3015 | |
| 3016 | if (ipfw_check_object_name(name) != 0) |
| 3017 | return (EINVAL); |
| 3018 | if (strcmp(name, "any") == 0) |
| 3019 | return (EINVAL); |
| 3020 | return (0); |
| 3021 | } |
| 3022 | |
| 3023 | static int |
| 3024 | eaction_check_name(const char *name) |
no test coverage detected