Lines Matching refs:ip_srcrt
381 static struct ip_srcrt { struct
386 } ip_srcrt; argument
2839 if (olen > sizeof(ip_srcrt) - (1 + sizeof(dst))) { in save_rte()
2842 bcopy(option, ip_srcrt.srcopt, olen); in save_rte()
2844 ip_srcrt.dst = dst; in save_rte()
2867 #define OPTSIZ (sizeof (ip_srcrt.nop) + sizeof (ip_srcrt.srcopt)) in ip_srcroute()
2888 p = &ip_srcrt.route[ip_nhops - 1]; in ip_srcroute()
2900 ip_srcrt.nop = IPOPT_NOP; in ip_srcroute()
2901 ip_srcrt.srcopt[IPOPT_OFFSET] = IPOPT_MINOFF; in ip_srcroute()
2903 (caddr_t)&ip_srcrt + sizeof(struct in_addr), OPTSIZ); in ip_srcroute()
2913 q[i] = ip_srcrt.route[ip_nhops - (i + 2)]; in ip_srcroute()
2923 q[ip_nhops - 1] = ip_srcrt.dst; in ip_srcroute()