Searched refs:arphrd_from_name (Results 1 – 3 of 3) sorted by relevance
17 assert_se(arphrd_from_name(name) == i); in TEST()22 assert_se(arphrd_from_name("huddlduddl") == -EINVAL); in TEST()23 assert_se(arphrd_from_name("") == -EINVAL); in TEST()
8 int arphrd_from_name(const char *name);
17 int arphrd_from_name(const char *name) { in arphrd_from_name() function