Searched refs:ocets (Results 1 – 2 of 2) sorted by relevance
500 ssize_t b, bytes = 0, ocets; in decode_rfc3442() local518 ocets = (cidr + 7) / 8; in decode_rfc3442()520 p += 4 + ocets; in decode_rfc3442()533 if (ocets > 0) { in decode_rfc3442()535 memcpy(&addr.s_addr, p, ocets); in decode_rfc3442()537 p += ocets; in decode_rfc3442()562 size_t ocets; in decode_rfc3442_rt() local587 ocets = (cidr + 7) / 8; in decode_rfc3442_rt()589 if (ocets > 0) { in decode_rfc3442_rt()590 memcpy(&rt->dest.s_addr, p, ocets); in decode_rfc3442_rt()[all …]
108 int ocets; in inet_cidrtoaddr() local114 ocets = (cidr + 7) / 8; in inet_cidrtoaddr()117 if (ocets > 0) { in inet_cidrtoaddr()118 memset(&addr->s_addr, 255, (size_t)ocets - 1); in inet_cidrtoaddr()119 memset((unsigned char *)&addr->s_addr + (ocets - 1), in inet_cidrtoaddr()