Searched refs:IPOPT_OLEN (Results 1 – 7 of 7) sorted by relevance
135 if (cnt < IPOPT_OLEN + sizeof(*cp)) { in ip_dooptions()136 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()139 optlen = cp[IPOPT_OLEN]; in ip_dooptions()141 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()409 olen = option[IPOPT_OLEN]; in save_rte()578 optlen = cp[IPOPT_OLEN]; in ip_optcopy()646 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_pcbopts()648 optlen = cp[IPOPT_OLEN]; in ip_pcbopts()675 cp[IPOPT_OLEN] = optlen; in ip_pcbopts()735 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_checkrouteralert()[all …]
166 #define IPOPT_OLEN 1 /* option length */ macro
894 if (cnt < IPOPT_OLEN + sizeof(*cp)) in icmp_reflect()896 len = cp[IPOPT_OLEN]; in icmp_reflect()897 if (len < IPOPT_OLEN + sizeof(*cp) || in icmp_reflect()
580 if (cnt < IPOPT_OLEN + sizeof(u_char)) { in rip_output()585 optlen = cp[IPOPT_OLEN]; in rip_output()586 if (optlen < IPOPT_OLEN + sizeof(u_char) || in rip_output()
901 #ifndef IPOPT_OLEN902 # define IPOPT_OLEN 1 macro
320 optlen = cp[IPOPT_OLEN]; in ipopts_match()