Home
last modified time | relevance | path

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

/linux-2.6.39/net/tipc/
Dbearer.c235 char name_copy[TIPC_MAX_BEARER_NAME]; in bearer_name_validate() local
243 name_copy[TIPC_MAX_BEARER_NAME - 1] = 0; in bearer_name_validate()
245 strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); in bearer_name_validate()
246 if (name_copy[TIPC_MAX_BEARER_NAME - 1] != 0) in bearer_name_validate()
251 media_name = name_copy; in bearer_name_validate()
Dlink.c168 char name_copy[TIPC_MAX_LINK_NAME]; in link_name_validate() local
181 name_copy[TIPC_MAX_LINK_NAME - 1] = 0; in link_name_validate()
183 strncpy(name_copy, name, TIPC_MAX_LINK_NAME); in link_name_validate()
184 if (name_copy[TIPC_MAX_LINK_NAME - 1] != 0) in link_name_validate()
189 addr_local = name_copy; in link_name_validate()