Searched refs:add_proto_name (Results 1 – 1 of 1) sorted by relevance
99 static int add_proto_name(long id, const char *name) in add_proto_name() function106 add_proto_name(RTPROT_UNSPEC, "unspec"); in init_proto_names()107 add_proto_name(RTPROT_REDIRECT, "redirect"); in init_proto_names()108 add_proto_name(RTPROT_KERNEL, "kernel"); in init_proto_names()109 add_proto_name(RTPROT_BOOT, "boot"); in init_proto_names()110 add_proto_name(RTPROT_STATIC, "static"); in init_proto_names()122 return __nl_read_num_str_file(path, &add_proto_name); in rtnl_route_read_protocol_names()