Searched refs:IPOPT_OLEN (Results 1 – 14 of 14) 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()
586 if (cnt < IPOPT_OLEN + sizeof(u_char)) { in rip_output()591 optlen = cp[IPOPT_OLEN]; in rip_output()592 if (optlen < IPOPT_OLEN + sizeof(u_char) || in rip_output()
43 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()48 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()
28 #define IPOPT_OLEN 1 macro114 optlen = cp[IPOPT_OLEN];
118 #define IPOPT_OLEN 1 /* option length */ macro
476 s[IPOPT_OLEN] = 4;493 s[IPOPT_OLEN] = 0;500 s[IPOPT_OLEN] = 0;507 s[IPOPT_OLEN] = 0;514 s[IPOPT_OLEN] = 0;521 s[IPOPT_OLEN] = 0;528 s[IPOPT_OLEN] = 0;
133 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4 * srr; in addipopt()
753 rspace[IPOPT_OLEN] = sizeof(rspace) - 1; in ping()1379 j = cp[IPOPT_OLEN] - IPOPT_MINOFF + 1; in pr_pack()1402 j = cp[IPOPT_OLEN]; /* get length */ in pr_pack()
2651 lsr[IPOPT_OLEN] = lsrp - lsr; in sourceroute()2652 if (lsr[IPOPT_OLEN] <= 7 || lsr[IPOPT_OLEN] > 40) in sourceroute()
889 #ifndef IPOPT_OLEN890 # define IPOPT_OLEN 1 macro
2999 if ((*(*cpp+IPOPT_OLEN) = lsrp - *cpp) <= 7) { in sourceroute()
320 optlen = cp[IPOPT_OLEN]; in ipopts_match()