/dragonfly/sys/net/gre/ |
H A D | if_gre.c | 257 struct sockaddr_in *ro_dst; in gre_output_serialized() local 275 ro_dst = (struct sockaddr_in *)&ro->ro_dst; in gre_output_serialized() 278 ro_dst->sin_addr.s_addr != sc->g_dst.s_addr)) { in gre_output_serialized() 712 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr = sc->g_dst; in gre_compute_route() 713 ro->ro_dst.sa_family = AF_INET; in gre_compute_route() 714 ro->ro_dst.sa_len = sizeof(ro->ro_dst); in gre_compute_route() 728 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr.s_addr in gre_compute_route() 734 kinet_ntoa(((struct sockaddr_in *)&ro->ro_dst)->sin_addr, abuf)); in gre_compute_route() 758 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr = sc->g_dst; in gre_compute_route()
|
/dragonfly/sys/netinet6/ |
H A D | in6_src.c | 294 satosin6(&ro->ro_dst)->sin6_family != AF_INET6 || in in6_selectsrc() 295 !IN6_ARE_ADDR_EQUAL(&satosin6(&ro->ro_dst)->sin6_addr, in in6_selectsrc() 304 bzero(&ro->ro_dst, sizeof(struct sockaddr_in6)); in in6_selectsrc() 305 sa6 = &ro->ro_dst; in in6_selectsrc() 312 rtpurelookup((struct sockaddr *)&ro->ro_dst); in in6_selectsrc()
|
H A D | ip6_forward.c | 138 dst = (struct sockaddr_in6 *)&ip6_forward_rt.ro_dst; in ip6_forward()
|
H A D | ip6_input.c | 424 &((struct sockaddr_in6 *)(&ip6_forward_rt.ro_dst))->sin6_addr)) { in ip6_input() 436 bzero(&ip6_forward_rt.ro_dst, sizeof(struct sockaddr_in6)); in ip6_input() 437 dst6 = &ip6_forward_rt.ro_dst; in ip6_input()
|
H A D | in6_gif.c | 101 struct sockaddr_in6 *dst = (struct sockaddr_in6 *)&ro->ro_dst; in in6_gif_output()
|
H A D | ip6_output.c | 325 dst = (struct sockaddr_in6 *)&ro->ro_dst; in ip6_output() 454 rtpurelookup((struct sockaddr *)&ro->ro_dst); in ip6_output() 710 kpfctlinput2(PRC_MSGSIZE, (struct sockaddr *)&ro_pmtu->ro_dst, in ip6_output() 1057 (struct sockaddr_in6 *)&ro_pmtu->ro_dst; in ip6_getpmtu() 2342 dst = (struct sockaddr_in6 *)&ro.ro_dst; in ip6_setmoptions()
|
H A D | ip6_mroute.c | 1516 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in phyint_send() 1522 ip6_mloopback(ifp, m, (struct sockaddr_in6 *)&ro.ro_dst); in phyint_send() 1538 (struct sockaddr *)&ro.ro_dst, NULL); in phyint_send()
|
H A D | in6.h | 443 struct sockaddr_in6 ro_dst; member
|
H A D | frag6.c | 183 dst = (struct sockaddr_in6 *)&ro.ro_dst; in frag6_input()
|
H A D | icmp6.c | 1926 struct sockaddr_in6 *sin6 = &icmp6_reflect_rt.ro_dst; in icmp6_reflect()
|
/dragonfly/sys/netinet/ |
H A D | ip_output.c | 236 if (dst == (struct sockaddr_in *)&(dn_pkt->ro.ro_dst)) { in ip_output() 238 dst = (struct sockaddr_in *)&(ro->ro_dst); in ip_output() 274 dst = (struct sockaddr_in *)&ro->ro_dst; in ip_output() 352 dst = (struct sockaddr_in *)&ro->ro_dst; in ip_output() 604 if (dst == (struct sockaddr_in *)&ro->ro_dst) { in ip_output() 606 dst = (struct sockaddr_in *)&(dn_pkt->ro.ro_dst); in ip_output()
|
H A D | tcp_subr.c | 1896 bzero(&ro->ro_dst, sizeof(struct sockaddr_in)); in tcp_rtlookup() 1897 ro->ro_dst.sa_family = AF_INET; in tcp_rtlookup() 1898 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in tcp_rtlookup() 1899 ((struct sockaddr_in *) &ro->ro_dst)->sin_addr = in tcp_rtlookup() 1920 bzero(&ro6->ro_dst, sizeof(struct sockaddr_in6)); in tcp_rtlookup6() 1921 ro6->ro_dst.sin6_family = AF_INET6; in tcp_rtlookup6() 1922 ro6->ro_dst.sin6_len = sizeof(struct sockaddr_in6); in tcp_rtlookup6() 1923 ro6->ro_dst.sin6_addr = inc->inc6_faddr; in tcp_rtlookup6()
|
H A D | in_pcb.c | 1011 ro->ro_dst.sa_family != AF_INET || in in_pcbladdr_find() 1012 satosin(&ro->ro_dst)->sin_addr.s_addr != in in_pcbladdr_find() 1028 bzero(&ro->ro_dst, sizeof(struct sockaddr_in)); in in_pcbladdr_find() 1029 ro->ro_dst.sa_family = AF_INET; in in_pcbladdr_find() 1030 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in in_pcbladdr_find() 1031 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr = sin->sin_addr; in in_pcbladdr_find()
|
H A D | tcp_usrreq.c | 1066 bzero(&ro->ro_dst, sizeof(struct sockaddr_in)); in tcp_connect_oncpu() 1067 ro->ro_dst.sa_family = AF_INET; in tcp_connect_oncpu() 1068 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in tcp_connect_oncpu() 1069 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr = in tcp_connect_oncpu()
|
H A D | in_gif.c | 100 struct sockaddr_in *dst = (struct sockaddr_in *)&ro->ro_dst; in in_gif_output()
|
H A D | ip_flow.c | 283 dst = &ipf->ipf_ro.ro_dst; in ipflow_fastforward()
|
H A D | ip_input.c | 1803 sin = (struct sockaddr_in *)&ro->ro_dst; in ip_rtaddr()
|
/dragonfly/sys/netproto/mpls/ |
H A D | mpls_input.c | 190 smpls = (struct sockaddr_mpls *) &cache_rt->ro_dst; in mpls_forward()
|
/dragonfly/sys/net/ |
H A D | route.h | 94 struct sockaddr ro_dst; member
|
H A D | route.c | 223 ro->ro_rt = _rtlookup(&ro->ro_dst, ignoreflags); in rtalloc_ign()
|
/dragonfly/sys/net/stf/ |
H A D | if_stf.c | 415 dst4 = (struct sockaddr_in *)&ro->ro_dst; in stf_output_serialized()
|
/dragonfly/sys/net/pf/ |
H A D | pf.c | 2260 struct ether_header *e = (void *)ro.ro_dst.sa_data; in pf_send_tcp() 2268 ro.ro_dst.sa_len = sizeof(ro.ro_dst); in pf_send_tcp() 2269 ro.ro_dst.sa_family = pseudo_AF_HDRCMPLT; in pf_send_tcp() 3597 dst = (struct sockaddr_in *)&ro.ro_dst; in pf_calc_mss() 3609 dst6 = (struct sockaddr_in6 *)&ro6.ro_dst; in pf_calc_mss() 5935 dst = satosin(&ro.ro_dst); in pf_routable() 5948 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_routable() 6010 dst = satosin(&ro.ro_dst); in pf_rtlabel_match() 6017 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_rtlabel_match() 6090 dst = satosin(&ro->ro_dst); in pf_route() [all …]
|