Lines Matching refs:ripbuf
132 static struct rip6 *ripbuf; /* packet buffer for sending */
393 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL)
395 memset(ripbuf, 0, RIP6_MAXMTU);
396 ripbuf->rip6_cmd = RIP6_RESPONSE;
397 ripbuf->rip6_vers = RIP6_VERSION;
398 ripbuf->rip6_res1[0] = 0;
399 ripbuf->rip6_res1[1] = 0;
430 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL) {
434 memset(ripbuf, 0, RIP6_MAXMTU);
435 ripbuf->rip6_cmd = RIP6_RESPONSE;
436 ripbuf->rip6_vers = RIP6_VERSION;
437 ripbuf->rip6_res1[0] = 0;
438 ripbuf->rip6_res1[1] = 0;
766 np = ripbuf->rip6_nets;
830 np = ripbuf->rip6_nets;
841 np = ripbuf->rip6_nets;
866 np = ripbuf->rip6_nets;
878 nrt = 0; np = ripbuf->rip6_nets; nh = NULL;
905 np = ripbuf->rip6_nets;
923 np = ripbuf->rip6_nets;
938 np = ripbuf->rip6_nets;
1067 iov[0].iov_base = (caddr_t)ripbuf;
1457 ripbuf->rip6_cmd = RIP6_REQUEST;
1458 np = ripbuf->rip6_nets;
1471 ripbuf->rip6_cmd = RIP6_RESPONSE;