Searched refs:ripbuf (Results 1 – 2 of 2) sorted by relevance
60 static struct rip6 *ripbuf; variable132 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { in main()136 ripbuf->rip6_cmd = RIP6_REQUEST; in main()137 ripbuf->rip6_vers = RIP6_VERSION; in main()138 ripbuf->rip6_res1[0] = 0; in main()139 ripbuf->rip6_res1[1] = 0; in main()140 np = ripbuf->rip6_nets; in main()145 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, in main()152 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, in main()161 np = ripbuf->rip6_nets; in main()
402 ripbuf->rip6_res1[0] = 0; in main()403 ripbuf->rip6_res1[1] = 0; in main()441 ripbuf->rip6_res1[0] = 0; in main()442 ripbuf->rip6_res1[1] = 0; in main()770 np = ripbuf->rip6_nets; in ripflush()834 np = ripbuf->rip6_nets; in ripsend()845 np = ripbuf->rip6_nets; in ripsend()870 np = ripbuf->rip6_nets; in ripsend()927 np = ripbuf->rip6_nets; in ripsend()942 np = ripbuf->rip6_nets; in ripsend()[all …]