Searched refs:ocets (Results 1 – 2 of 2) sorted by relevance
448 uint8_t ocets; in decode_rfc3442() local465 ocets = (cidr + 7) / 8; in decode_rfc3442()467 p += 4 + ocets; in decode_rfc3442()480 if (ocets > 0) { in decode_rfc3442()482 memcpy(&addr.s_addr, p, (size_t)ocets); in decode_rfc3442()484 p += ocets; in decode_rfc3442()509 uint8_t ocets; in decode_rfc3442_rt() local534 ocets = (cidr + 7) / 8; in decode_rfc3442_rt()536 if (ocets > 0) { in decode_rfc3442_rt()537 memcpy(&rt->dest.s_addr, p, (size_t)ocets); in decode_rfc3442_rt()[all …]
86 int ocets; in inet_cidrtoaddr() local92 ocets = (cidr + 7) / 8; in inet_cidrtoaddr()95 if (ocets > 0) { in inet_cidrtoaddr()96 memset(&addr->s_addr, 255, (size_t)ocets - 1); in inet_cidrtoaddr()97 memset((unsigned char *)&addr->s_addr + (ocets - 1), in inet_cidrtoaddr()