Lines Matching defs:ret
122 int ret;
148 ret = lwres_lwpacket_renderheader(b, pkt);
149 if (ret != LWRES_R_SUCCESS) {
152 return (ret);
179 int ret;
211 ret = lwres_lwpacket_renderheader(b, pkt);
212 if (ret != LWRES_R_SUCCESS) {
215 return (ret);
249 int ret;
269 ret = lwres_addr_parse(b, &gnba->addr);
270 if (ret != LWRES_R_SUCCESS)
274 ret = LWRES_R_TRAILINGDATA;
285 return (ret);
294 int ret;
331 ret = LWRES_R_NOMEMORY;
337 ret = LWRES_R_NOMEMORY;
345 ret = lwres_string_parse(b, &gnba->realname, &gnba->realnamelen);
346 if (ret != LWRES_R_SUCCESS)
353 ret = lwres_string_parse(b, &gnba->aliases[x],
355 if (ret != LWRES_R_SUCCESS)
360 ret = LWRES_R_TRAILINGDATA;
377 return (ret);