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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Dcommon.c685 int duidlen, slen; local
692 duidlen = 1;
696 duidlen += (slen / 3);
697 if (duidlen > 256) {
698 dprintf(LOG_ERR, "%s" "too long DUID (%d)", FNAME, duidlen);
702 if ((idbuf = (char *)malloc(duidlen)) == NULL) {
720 duid->duid_len = duidlen;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/
H A Dcommon.c685 int duidlen, slen; local
692 duidlen = 1;
696 duidlen += (slen / 3);
697 if (duidlen > 256) {
698 dprintf(LOG_ERR, "%s" "too long DUID (%d)", FNAME, duidlen);
702 if ((idbuf = (char *)malloc(duidlen)) == NULL) {
720 duid->duid_len = duidlen;

Completed in 98 milliseconds