Lines Matching refs:toks
224 str2tok(const char *str, const struct tok *toks)228 for (i = 0; toks[i].s != NULL; i++) {229 if (pcap_strcasecmp(toks[i].s, str) == 0)230 return (toks[i].v);