
4.5 Server Implementation 417
4.5.7 react_renew() Function
The react_renew() function processes a Renew message from a client and updates bindings
corresponding to the Renew message.
Validation
Listing 4-105
dhcp6s.c
1515 static int
1516 react_renew(ifp, pi, dh6, len, optinfo, from, fromlen, relayinfohead)
1517 struct dhcp6_if *ifp;
1518 struct in6_pktinfo *pi;
1519 struct dhcp6 *dh6;
1520 ssize_t len;
1521 struct dhcp6_optinfo *optinfo;
1522 struct sockaddr *from;
1523 int fromlen;
1524 struct relayinfolist *relayinfohead;
1525 {
1526 struct dhcp6_optinfo roptinfo;
1527 struct dhcp6_listval *ia;
1528 struct host_conf *client_conf;
1529
1530 /* message validation ...