/src/usr.sbin/rip6query/ |
rip6query.c | 63 static struct rip6 *ripbuf; variable in typeref:struct:rip6 * 135 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { 139 ripbuf->rip6_cmd = RIP6_REQUEST; 140 ripbuf->rip6_vers = RIP6_VERSION; 141 ripbuf->rip6_res1[0] = 0; 142 ripbuf->rip6_res1[1] = 0; 143 np = ripbuf->rip6_nets; 148 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, 157 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, 167 np = ripbuf->rip6_nets [all...] |
rip6query.c | 63 static struct rip6 *ripbuf; variable in typeref:struct:rip6 * 135 if ((ripbuf = (struct rip6 *)malloc(BUFSIZ)) == NULL) { 139 ripbuf->rip6_cmd = RIP6_REQUEST; 140 ripbuf->rip6_vers = RIP6_VERSION; 141 ripbuf->rip6_res1[0] = 0; 142 ripbuf->rip6_res1[1] = 0; 143 np = ripbuf->rip6_nets; 148 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6, 157 if ((len = recvfrom(s, ripbuf, BUFSIZ, 0, 167 np = ripbuf->rip6_nets [all...] |
/src/usr.sbin/route6d/ |
route6d.c | 141 static struct rip6 *ripbuf; /* packet buffer for sending */ variable in typeref:struct:rip6 * 345 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) 347 memset(ripbuf, 0, RIP6_MAXMTU); 348 ripbuf->rip6_cmd = RIP6_RESPONSE; 349 ripbuf->rip6_vers = RIP6_VERSION; 350 ripbuf->rip6_res1[0] = 0; 351 ripbuf->rip6_res1[1] = 0; 377 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) { 380 memset(ripbuf, 0, RIP6_MAXMTU); 381 ripbuf->rip6_cmd = RIP6_RESPONSE [all...] |
route6d.c | 141 static struct rip6 *ripbuf; /* packet buffer for sending */ variable in typeref:struct:rip6 * 345 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) 347 memset(ripbuf, 0, RIP6_MAXMTU); 348 ripbuf->rip6_cmd = RIP6_RESPONSE; 349 ripbuf->rip6_vers = RIP6_VERSION; 350 ripbuf->rip6_res1[0] = 0; 351 ripbuf->rip6_res1[1] = 0; 377 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) { 380 memset(ripbuf, 0, RIP6_MAXMTU); 381 ripbuf->rip6_cmd = RIP6_RESPONSE [all...] |