Searched refs:ripbuf (Results 1 – 2 of 2) sorted by relevance
58 static struct rip6 *ripbuf; variable128 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { in main()132 ripbuf->rip6_cmd = RIP6_REQUEST; in main()133 ripbuf->rip6_vers = RIP6_VERSION; in main()134 ripbuf->rip6_res1[0] = 0; in main()135 ripbuf->rip6_res1[1] = 0; in main()136 np = ripbuf->rip6_nets; in main()141 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, in main()148 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, in main()157 np = ripbuf->rip6_nets; in main()
401 ripbuf->rip6_res1[0] = 0; in main()402 ripbuf->rip6_res1[1] = 0; in main()440 ripbuf->rip6_res1[0] = 0; in main()441 ripbuf->rip6_res1[1] = 0; in main()769 np = ripbuf->rip6_nets; in ripflush()833 np = ripbuf->rip6_nets; in ripsend()844 np = ripbuf->rip6_nets; in ripsend()869 np = ripbuf->rip6_nets; in ripsend()926 np = ripbuf->rip6_nets; in ripsend()941 np = ripbuf->rip6_nets; in ripsend()[all …]