Searched refs:new_serv (Results 1 – 2 of 2) sorted by relevance
48 struct servent new_serv; in services_marshal_func() local87 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 …]
787 struct servent new_serv; in serv_marshal_func() local845 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 …]