Home
last modified time | relevance | path

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

/dragonfly/usr.sbin/nscd/agents/
H A Dservices.c48 struct servent new_serv; in services_marshal_func() local
87 if (new_serv.s_name != NULL) { in services_marshal_func()
88 size = strlen(new_serv.s_name); in services_marshal_func()
89 memcpy(p, new_serv.s_name, size); in services_marshal_func()
90 new_serv.s_name = p; in services_marshal_func()
94 if (new_serv.s_proto != NULL) { in services_marshal_func()
95 size = strlen(new_serv.s_proto); in services_marshal_func()
96 memcpy(p, new_serv.s_proto, size); in services_marshal_func()
97 new_serv.s_proto = p; in services_marshal_func()
101 if (new_serv.s_aliases != NULL) { in services_marshal_func()
[all …]
/dragonfly/lib/libc/net/
H A Dgetservent.c787 struct servent new_serv; in serv_marshal_func() local
845 if (new_serv.s_name != NULL) { in serv_marshal_func()
846 size = strlen(new_serv.s_name); in serv_marshal_func()
847 memcpy(p, new_serv.s_name, size); in serv_marshal_func()
848 new_serv.s_name = p; in serv_marshal_func()
852 if (new_serv.s_proto != NULL) { in serv_marshal_func()
853 size = strlen(new_serv.s_proto); in serv_marshal_func()
854 memcpy(p, new_serv.s_proto, size); in serv_marshal_func()
855 new_serv.s_proto = p; in serv_marshal_func()
859 if (new_serv.s_aliases != NULL) { in serv_marshal_func()
[all …]