Searched refs:ripbuf (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/usr.sbin/rip6query/
H A Drip6query.c58 static struct rip6 *ripbuf; variable in typeref:struct:rip6
128 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) {
132 ripbuf->rip6_cmd = RIP6_REQUEST;
133 ripbuf->rip6_vers = RIP6_VERSION;
134 ripbuf->rip6_res1[0] = 0;
135 ripbuf->rip6_res1[1] = 0;
136 np = ripbuf->rip6_nets;
141 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6,
148 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0,
157 np = ripbuf
[all...]
/freebsd-current/usr.sbin/route6d/
H A Droute6d.c132 static struct rip6 *ripbuf; /* packet buffer for sending */ variable in typeref:struct:rip6
393 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL)
395 memset(ripbuf, 0, RIP6_MAXMTU);
396 ripbuf->rip6_cmd = RIP6_RESPONSE;
397 ripbuf->rip6_vers = RIP6_VERSION;
398 ripbuf->rip6_res1[0] = 0;
399 ripbuf->rip6_res1[1] = 0;
430 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL) {
434 memset(ripbuf, 0, RIP6_MAXMTU);
435 ripbuf
[all...]

Completed in 79 milliseconds