Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dxtables-config-parser.y154 static int hooknametonum(const char *hookname) in hooknametonum() argument
156 if (strcmp(hookname, "NF_INET_LOCAL_IN") == 0) in hooknametonum()
158 else if (strcmp(hookname, "NF_INET_FORWARD") == 0) in hooknametonum()
160 else if (strcmp(hookname, "NF_INET_LOCAL_OUT") == 0) in hooknametonum()
162 else if (strcmp(hookname, "NF_INET_PRE_ROUTING") == 0) in hooknametonum()
164 else if (strcmp(hookname, "NF_INET_POST_ROUTING") == 0) in hooknametonum()