Searched refs:ocets (Results 1 – 2 of 2) sorted by relevance
76 int ocets; in inet_cidrtoaddr() local82 ocets = (cidr + 7) / NBBY; in inet_cidrtoaddr()85 if (ocets > 0) { in inet_cidrtoaddr()86 memset(&addr->s_addr, 255, (size_t)ocets - 1); in inet_cidrtoaddr()87 memset((unsigned char *)&addr->s_addr + (ocets - 1), in inet_cidrtoaddr()
292 size_t bytes = 0, ocets; in decode_rfc3442() local311 ocets = (size_t)(cidr + 7) / NBBY; in decode_rfc3442()312 if (p + 4 + ocets > e) { in decode_rfc3442()317 p += 4 + ocets; in decode_rfc3442()330 if (ocets > 0) { in decode_rfc3442()332 memcpy(&addr.s_addr, p, ocets); in decode_rfc3442()334 p += ocets; in decode_rfc3442()359 size_t ocets; in decode_rfc3442_rt() local378 ocets = (size_t)(cidr + 7) / NBBY; in decode_rfc3442_rt()379 if (p + 4 + ocets > e) { in decode_rfc3442_rt()[all …]