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