Searched refs:ip_nhops (Results 1 – 1 of 1) sorted by relevance
384 static int ip_nhops = 0; variable1242 ip_nhops = 0; /* for source routed packets */ in ip_input_first_pass()1999 ip_nhops = 0; /* for source routed packets */ in ip_input()3211 ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr); in save_rte()3226 if (ip_nhops == 0) { in ip_srcroute()3238 m->m_len = ip_nhops * sizeof(struct in_addr) + in ip_srcroute()3242 printf("ip_srcroute: nhops %d mlen %d", ip_nhops, m->m_len); in ip_srcroute()3256 p = &ip_srcrt.route[ip_nhops - 1]; in ip_srcroute()3280 for (int i = 0; i < (ip_nhops - 1); i++) { in ip_srcroute()3281 q[i] = ip_srcrt.route[ip_nhops - (i + 2)]; in ip_srcroute()[all …]