Lines Matching refs:ripbuf
61 static struct rip6 *ripbuf;
133 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) {
137 ripbuf->rip6_cmd = RIP6_REQUEST;
138 ripbuf->rip6_vers = RIP6_VERSION;
139 ripbuf->rip6_res1[0] = 0;
140 ripbuf->rip6_res1[1] = 0;
141 np = ripbuf->rip6_nets;
146 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6,
153 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0,
162 np = ripbuf->rip6_nets;