Lines Matching defs:ret
261 int ret = 0, optlen;
270 if ((ret =setsockopt(getMcGroupSock(), IPPROTO_IP, MCAST_JOIN_SOURCE_GROUP, (void *)&opt, optlen)) < 0)
272 DPRINTF("%s :: setsockopt : MCAST_JOIN_SOURCE_GROUP error [%d]\n", __FUNCTION__, ret);
273 ret = 1;
275 return ret;
281 int i, ret = 0, num = croute->source.num;
300 if ((ret = setsockopt(getMcGroupSock(), IPPROTO_IP, IP_MSFILTER, imsfp,i)) < 0 )
302 DPRINTF("%s :: setsockopt : IP_MSFILTER error [%d]\n", __FUNCTION__, ret);
303 ret = 1;
306 return ret;