Home
last modified time | relevance | path

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

/dragonfly/lib/libc/net/
H A Dgetprotoent.c149 struct protoent new_proto; in __proto_marshal_func() local
193 memcpy(&new_proto, proto, sizeof(struct protoent)); in __proto_marshal_func()
201 if (new_proto.p_name != NULL) { in __proto_marshal_func()
202 size = strlen(new_proto.p_name); in __proto_marshal_func()
203 memcpy(p, new_proto.p_name, size); in __proto_marshal_func()
204 new_proto.p_name = p; in __proto_marshal_func()
208 if (new_proto.p_aliases != NULL) { in __proto_marshal_func()
210 memcpy(p, new_proto.p_aliases, sizeof(char *) * aliases_size); in __proto_marshal_func()
211 new_proto.p_aliases = (char **)p; in __proto_marshal_func()
214 for (alias = new_proto.p_aliases; *alias; ++alias) { in __proto_marshal_func()
[all …]