Searched refs:new_serv (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13-stable/usr.sbin/nscd/agents/ |
| HD | services.c | 49 struct servent new_serv; in services_marshal_func() local 80 memcpy(&new_serv, serv, sizeof(struct servent)); in services_marshal_func() 88 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() [all …]
|
| /freebsd-13-stable/lib/libc/net/ |
| HD | getservent.c | 955 struct servent new_serv; in serv_marshal_func() local 1005 memcpy(&new_serv, serv, sizeof(struct servent)); in serv_marshal_func() 1013 if (new_serv.s_name != NULL) { in serv_marshal_func() 1014 size = strlen(new_serv.s_name); in serv_marshal_func() 1015 memcpy(p, new_serv.s_name, size); in serv_marshal_func() 1016 new_serv.s_name = p; in serv_marshal_func() 1020 if (new_serv.s_proto != NULL) { in serv_marshal_func() 1021 size = strlen(new_serv.s_proto); in serv_marshal_func() 1022 memcpy(p, new_serv.s_proto, size); in serv_marshal_func() 1023 new_serv.s_proto = p; in serv_marshal_func() [all …]
|