Lines Matching refs:ripbuf
144 struct rip6 *ripbuf; /* packet buffer for sending */
403 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL)
405 memset(ripbuf, 0, RIP6_MAXMTU);
406 ripbuf->rip6_cmd = RIP6_RESPONSE;
407 ripbuf->rip6_vers = RIP6_VERSION;
408 ripbuf->rip6_res1[0] = 0;
409 ripbuf->rip6_res1[1] = 0;
440 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL) {
444 memset(ripbuf, 0, RIP6_MAXMTU);
445 ripbuf->rip6_cmd = RIP6_RESPONSE;
446 ripbuf->rip6_vers = RIP6_VERSION;
447 ripbuf->rip6_res1[0] = 0;
448 ripbuf->rip6_res1[1] = 0;
774 np = ripbuf->rip6_nets;
831 np = ripbuf->rip6_nets;
842 np = ripbuf->rip6_nets;
867 np = ripbuf->rip6_nets;
879 nrt = 0; np = ripbuf->rip6_nets; nh = NULL;
906 np = ripbuf->rip6_nets;
924 np = ripbuf->rip6_nets;
939 np = ripbuf->rip6_nets;
1068 iov[0].iov_base = (caddr_t)ripbuf;
1456 ripbuf->rip6_cmd = RIP6_REQUEST;
1457 np = ripbuf->rip6_nets;
1470 ripbuf->rip6_cmd = RIP6_RESPONSE;