ip6rd 136 include/net/ip_tunnels.h struct ip_tunnel_6rd_parm ip6rd; ip6rd 182 net/ipv6/sit.c ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); ip6rd 183 net/ipv6/sit.c t->ip6rd.relay_prefix = 0; ip6rd 184 net/ipv6/sit.c t->ip6rd.prefixlen = 16; ip6rd 185 net/ipv6/sit.c t->ip6rd.relay_prefixlen = 0; ip6rd 188 net/ipv6/sit.c memcpy(&t->ip6rd, &t0->ip6rd, sizeof(t->ip6rd)); ip6rd 591 net/ipv6/sit.c prefix_len = tunnel->ip6rd.prefixlen + 32 ip6rd 592 net/ipv6/sit.c - tunnel->ip6rd.relay_prefixlen; ip6rd 772 net/ipv6/sit.c if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, ip6rd 773 net/ipv6/sit.c tunnel->ip6rd.prefixlen)) { ip6rd 778 net/ipv6/sit.c pbw0 = tunnel->ip6rd.prefixlen >> 5; ip6rd 779 net/ipv6/sit.c pbi0 = tunnel->ip6rd.prefixlen & 0x1f; ip6rd 781 net/ipv6/sit.c d = tunnel->ip6rd.relay_prefixlen < 32 ? ip6rd 783 net/ipv6/sit.c tunnel->ip6rd.relay_prefixlen : 0; ip6rd 785 net/ipv6/sit.c pbi1 = pbi0 - tunnel->ip6rd.relay_prefixlen; ip6rd 790 net/ipv6/sit.c *v4dst = tunnel->ip6rd.relay_prefix | htonl(d); ip6rd 1125 net/ipv6/sit.c struct ip_tunnel_6rd *ip6rd) ip6rd 1130 net/ipv6/sit.c if (ip6rd->relay_prefixlen > 32 || ip6rd 1131 net/ipv6/sit.c ip6rd->prefixlen + (32 - ip6rd->relay_prefixlen) > 64) ip6rd 1134 net/ipv6/sit.c ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); ip6rd 1135 net/ipv6/sit.c if (!ipv6_addr_equal(&prefix, &ip6rd->prefix)) ip6rd 1137 net/ipv6/sit.c if (ip6rd->relay_prefixlen) ip6rd 1138 net/ipv6/sit.c relay_prefix = ip6rd->relay_prefix & ip6rd 1140 net/ipv6/sit.c (32 - ip6rd->relay_prefixlen)); ip6rd 1143 net/ipv6/sit.c if (relay_prefix != ip6rd->relay_prefix) ip6rd 1146 net/ipv6/sit.c t->ip6rd.prefix = prefix; ip6rd 1147 net/ipv6/sit.c t->ip6rd.relay_prefix = relay_prefix; ip6rd 1148 net/ipv6/sit.c t->ip6rd.prefixlen = ip6rd->prefixlen; ip6rd 1149 net/ipv6/sit.c t->ip6rd.relay_prefixlen = ip6rd->relay_prefixlen; ip6rd 1176 net/ipv6/sit.c struct ip_tunnel_6rd ip6rd; ip6rd 1202 net/ipv6/sit.c ip6rd.prefix = t->ip6rd.prefix; ip6rd 1203 net/ipv6/sit.c ip6rd.relay_prefix = t->ip6rd.relay_prefix; ip6rd 1204 net/ipv6/sit.c ip6rd.prefixlen = t->ip6rd.prefixlen; ip6rd 1205 net/ipv6/sit.c ip6rd.relay_prefixlen = t->ip6rd.relay_prefixlen; ip6rd 1206 net/ipv6/sit.c if (copy_to_user(ifr->ifr_ifru.ifru_data, &ip6rd, ip6rd 1207 net/ipv6/sit.c sizeof(ip6rd))) ip6rd 1325 net/ipv6/sit.c if (copy_from_user(&ip6rd, ifr->ifr_ifru.ifru_data, ip6rd 1326 net/ipv6/sit.c sizeof(ip6rd))) ip6rd 1330 net/ipv6/sit.c err = ipip6_tunnel_update_6rd(t, &ip6rd); ip6rd 1530 net/ipv6/sit.c struct ip_tunnel_6rd *ip6rd) ip6rd 1533 net/ipv6/sit.c memset(ip6rd, 0, sizeof(*ip6rd)); ip6rd 1540 net/ipv6/sit.c ip6rd->prefix = nla_get_in6_addr(data[IFLA_IPTUN_6RD_PREFIX]); ip6rd 1545 net/ipv6/sit.c ip6rd->relay_prefix = ip6rd 1551 net/ipv6/sit.c ip6rd->prefixlen = nla_get_u16(data[IFLA_IPTUN_6RD_PREFIXLEN]); ip6rd 1556 net/ipv6/sit.c ip6rd->relay_prefixlen = ip6rd 1572 net/ipv6/sit.c struct ip_tunnel_6rd ip6rd; ip6rd 1602 net/ipv6/sit.c if (ipip6_netlink_6rd_parms(data, &ip6rd)) ip6rd 1603 net/ipv6/sit.c err = ipip6_tunnel_update_6rd(nt, &ip6rd); ip6rd 1619 net/ipv6/sit.c struct ip_tunnel_6rd ip6rd; ip6rd 1650 net/ipv6/sit.c if (ipip6_netlink_6rd_parms(data, &ip6rd)) ip6rd 1651 net/ipv6/sit.c return ipip6_tunnel_update_6rd(t, &ip6rd); ip6rd 1718 net/ipv6/sit.c &tunnel->ip6rd.prefix) || ip6rd 1720 net/ipv6/sit.c tunnel->ip6rd.relay_prefix) || ip6rd 1722 net/ipv6/sit.c tunnel->ip6rd.prefixlen) || ip6rd 1724 net/ipv6/sit.c tunnel->ip6rd.relay_prefixlen))