Searched refs:ripbuf (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/usr.sbin/rip6query/ |
H A D | rip6query.c | 58 static struct rip6 *ripbuf; variable in typeref:struct:rip6 130 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { 134 ripbuf->rip6_cmd = RIP6_REQUEST; 135 ripbuf->rip6_vers = RIP6_VERSION; 136 ripbuf->rip6_res1[0] = 0; 137 ripbuf->rip6_res1[1] = 0; 138 np = ripbuf->rip6_nets; 143 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, 150 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, 159 np = ripbuf [all...] |
/freebsd-11-stable/usr.sbin/route6d/ |
H A D | route6d.c | 137 struct rip6 *ripbuf; /* packet buffer for sending */ variable in typeref:struct:rip6 396 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL) 398 memset(ripbuf, 0, RIP6_MAXMTU); 399 ripbuf->rip6_cmd = RIP6_RESPONSE; 400 ripbuf->rip6_vers = RIP6_VERSION; 401 ripbuf->rip6_res1[0] = 0; 402 ripbuf->rip6_res1[1] = 0; 433 if ((ripbuf = (struct rip6 *)malloc(RIP6_MAXMTU)) == NULL) { 437 memset(ripbuf, 0, RIP6_MAXMTU); 438 ripbuf [all...] |
Completed in 108 milliseconds