Searched refs:new_serv (Results 1 – 2 of 2) sorted by relevance
49 struct servent new_serv; in services_marshal_func() local88 if (new_serv.s_name != NULL) { in services_marshal_func()89 size = strlen(new_serv.s_name); in services_marshal_func()90 memcpy(p, new_serv.s_name, size); in services_marshal_func()91 new_serv.s_name = p; in services_marshal_func()95 if (new_serv.s_proto != NULL) { in services_marshal_func()96 size = strlen(new_serv.s_proto); in services_marshal_func()97 memcpy(p, new_serv.s_proto, size); in services_marshal_func()98 new_serv.s_proto = p; in services_marshal_func()102 if (new_serv.s_aliases != NULL) { in services_marshal_func()[all …]
954 struct servent new_serv; in serv_marshal_func() local1012 if (new_serv.s_name != NULL) { in serv_marshal_func()1013 size = strlen(new_serv.s_name); in serv_marshal_func()1014 memcpy(p, new_serv.s_name, size); in serv_marshal_func()1015 new_serv.s_name = p; in serv_marshal_func()1019 if (new_serv.s_proto != NULL) { in serv_marshal_func()1020 size = strlen(new_serv.s_proto); in serv_marshal_func()1021 memcpy(p, new_serv.s_proto, size); in serv_marshal_func()1022 new_serv.s_proto = p; in serv_marshal_func()1026 if (new_serv.s_aliases != NULL) { in serv_marshal_func()[all …]