Home
last modified time | relevance | path

Searched refs:rt_dst (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.4.37.9/net/ipv4/
Dip_output.c142 iph->daddr = rt->rt_dst; in ip_build_and_send_pkt()
385 if (opt && opt->is_strictroute && rt->rt_dst != rt->rt_gateway) in ip_queue_xmit()
399 iph->daddr = rt->rt_dst; in ip_queue_xmit()
481 ip_local_error(sk, EMSGSIZE, rt->rt_dst, sk->dport, mtu); in ip_build_xmit_slow()
513 ip_local_error(sk, EMSGSIZE, rt->rt_dst, sk->dport, mtu); in ip_build_xmit_slow()
602 iph->daddr = rt->rt_dst; in ip_build_xmit_slow()
679 ip_local_error(sk, EMSGSIZE, rt->rt_dst, sk->dport, rt->u.dst.dev->mtu); in ip_build_xmit()
723 iph->daddr=rt->rt_dst; in ip_build_xmit()
Droute.c244 (unsigned long)r->rt_dst, in rt_cache_get_info()
755 NIPQUAD(rt->rt_dst)); in rt_intern_hash()
757 printk(" . %u.%u.%u.%u", NIPQUAD(trt->rt_dst)); in rt_intern_hash()
772 peer = inet_getpeer(rt->rt_dst, create); in rt_bind_peer()
890 if (rth->rt_dst != daddr || in ip_rt_redirect()
983 NIPQUAD(rt->rt_dst), rt->key.tos); in ipv4_negative_advice()
1049 NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_gateway)); in ip_rt_send_redirect()
1130 rth->rt_dst == daddr && in ip_rt_frag_needed()
1278 rt->rt_gateway != rt->rt_dst && in rt_set_nexthop()
1340 rth->rt_dst = daddr; in ip_route_input_mc()
[all …]
Dip_forward.c101 if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway) in ip_forward()
Dip_options.c546 if (memcmp(&rt->rt_dst, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
552 skb->nh.iph->daddr = rt->rt_dst; in ip_forward_options()
Dfib_semantics.c725 if (r->rt_dst.sa_family != AF_INET) in fib_convert_rtentry()
736 ptr = &((struct sockaddr_in*)&r->rt_dst)->sin_addr.s_addr; in fib_convert_rtentry()
Dudp.c555 ufh.daddr = ipc.addr = rt->rt_dst; in udp_sendmsg()
821 sk->daddr = rt->rt_dst; in udp_connect()
Dtcp_ipv4.c801 daddr = rt->rt_dst; in tcp_v4_connect()
816 rt->rt_dst == daddr) { in tcp_v4_connect()
1280 if (opt && opt->is_strictroute && rt->rt_dst != rt->rt_gateway) { in tcp_v4_route_req()
1945 if (rt == NULL || rt->rt_dst != sk->daddr) { in tcp_v4_remember_stamp()
Draw.c428 ipc.addr = rt->rt_dst; in raw_sendmsg()
Dipmr.c1565 cache = ipmr_cache_find(rt->rt_src, rt->rt_dst); in ipmr_get_route()
1584 skb->nh.iph->daddr = rt->rt_dst; in ipmr_get_route()
Dipip.c637 iph->daddr = rt->rt_dst; in ipip_tunnel_xmit()
Dipconfig.c332 set_sockaddr((struct sockaddr_in *) &rm.rt_dst, 0, 0); in ic_setup_routes()
Dip_gre.c838 iph->daddr = rt->rt_dst; in ipgre_tunnel_xmit()
/linux-2.4.37.9/include/net/
Droute.h73 __u32 rt_dst; /* Path destination */ member
172 dst = (*rp)->rt_dst; in ip_route_connect()
/linux-2.4.37.9/include/linux/
Droute.h33 struct sockaddr rt_dst; /* target address */ member
/linux-2.4.37.9/arch/s390x/kernel/
Dioctl32.c324 struct sockaddr rt_dst; /* target address */ member
350 ret = copy_from_user (&r.rt_dst, &(ur->rt_dst), 3 * sizeof(struct sockaddr)); in routing_ioctl()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsunos_ioctl32.c40 struct sockaddr rt_dst; /* target address */ member
/linux-2.4.37.9/net/appletalk/
Dddp.c606 struct sockaddr_at *ta = (struct sockaddr_at *)&r->rt_dst; in atrtr_create()
848 sa = (struct sockaddr_at *) &rtdef.rt_dst; in atif_ioctl()
984 if (rt.rt_dst.sa_family != AF_APPLETALK) in atrtr_ioctl()
987 &rt.rt_dst)->sat_addr); in atrtr_ioctl()
/linux-2.4.37.9/net/sctp/
Dprotocol.c513 NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_src)); in sctp_v4_get_dst()
804 NIPQUAD(((struct rtable *)skb->dst)->rt_dst)); in sctp_v4_xmit()
/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_REJECT.c293 iph->daddr=rt->rt_dst; in send_unreach()
/linux-2.4.37.9/drivers/net/wan/
Dsdlamain.c1419 &(route.rt_dst))->sin_addr.s_addr = 0; in add_gateway()
1421 &(route.rt_dst))->sin_family = AF_INET; in add_gateway()
Dsdla_ppp.c3099 ((struct sockaddr_in *)&(route.rt_dst))->sin_addr.s_addr = in read_info()
3101 ((struct sockaddr_in *)&(route.rt_dst))->sin_family = AF_INET; in read_info()
3177 ((struct sockaddr_in *)&(route.rt_dst))->sin_addr.s_addr = in remove_route()
3179 ((struct sockaddr_in *)&(route.rt_dst))->sin_family = AF_INET; in remove_route()
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c491 struct sockaddr rt_dst; /* target address */ member
517 ret = copy_from_user (&r.rt_dst, &(ur->rt_dst), 3 * sizeof(struct sockaddr)); in routing_ioctl()
/linux-2.4.37.9/net/ipv6/
Dsit.c591 iph->daddr = rt->rt_dst; in ipip6_tunnel_xmit()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_conn.c966 iph->daddr = rt->rt_dst; in ip_vs_tunnel_xmit()
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c389 struct sockaddr rt_dst; /* target address */ member
414 …ret = copy_from_user (&r.rt_dst, &(((struct rtentry32 *)arg)->rt_dst), 3 * sizeof(struct sockaddr)… in routing_ioctl()

12