Searched refs:ripbuf (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.0-release/usr.sbin/rip6query/ |
H A D | rip6query.c | 61 static struct rip6 *ripbuf; variable in typeref:struct:rip6 133 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { 137 ripbuf->rip6_cmd = RIP6_REQUEST; 138 ripbuf->rip6_vers = RIP6_VERSION; 139 ripbuf->rip6_res1[0] = 0; 140 ripbuf->rip6_res1[1] = 0; 141 np = ripbuf->rip6_nets; 146 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, 153 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, 162 np = ripbuf [all...] |
/freebsd-10.0-release/usr.sbin/route6d/ |
H A D | route6d.c | 144 struct rip6 *ripbuf; /* packet buffer for sending */ variable in typeref:struct:rip6 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 [all...] |
Completed in 85 milliseconds