Home
last modified time | relevance | path

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

/freebsd/lib/libc/net/
H A Dgetnetnamadr.c128 struct netent new_ne; in net_marshal_func() local
173 memcpy(&new_ne, ne, sizeof(struct netent)); in net_marshal_func()
181 if (new_ne.n_name != NULL) { in net_marshal_func()
182 size = strlen(new_ne.n_name); in net_marshal_func()
183 memcpy(p, new_ne.n_name, size); in net_marshal_func()
184 new_ne.n_name = p; in net_marshal_func()
188 if (new_ne.n_aliases != NULL) { in net_marshal_func()
190 memcpy(p, new_ne.n_aliases, sizeof(char *) * aliases_size); in net_marshal_func()
191 new_ne.n_aliases = (char **)p; in net_marshal_func()
194 for (alias = new_ne.n_aliases; *alias; ++alias) { in net_marshal_func()
[all …]