Lines Matching +full:0 +full:x20020000

63 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF)
106 int ifindex = dev ? dev->ifindex : 0; in ipip6_tunnel_lookup()
130 t = rcu_dereference(sitn->tunnels_wc[0]); in ipip6_tunnel_lookup()
141 unsigned int h = 0; in __ipip6_bucket()
142 int prio = 0; in __ipip6_bucket()
190 ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); in ipip6_tunnel_clone_6rd()
191 t->ip6rd.relay_prefix = 0; in ipip6_tunnel_clone_6rd()
193 t->ip6rd.relay_prefixlen = 0; in ipip6_tunnel_clone_6rd()
217 if (err < 0) in ipip6_tunnel_create()
223 return 0; in ipip6_tunnel_create()
256 if (parms->name[0]) { in ipip6_tunnel_locate()
273 if (ipip6_tunnel_create(dev) < 0) in ipip6_tunnel_locate()
276 if (!parms->name[0]) in ipip6_tunnel_locate()
309 unsigned int cmax, c = 0, ca, len; in ipip6_tunnel_get_prl()
310 int ret = 0; in ipip6_tunnel_get_prl()
360 ret = 0; in ipip6_tunnel_get_prl()
373 int err = 0; in ipip6_tunnel_add_prl()
428 int err = 0; in ipip6_tunnel_del_prl()
447 t->prl_count = 0; in ipip6_tunnel_del_prl()
506 ok = 0; in isatap_chksrc()
518 RCU_INIT_POINTER(sitn->tunnels_wc[0], NULL); in ipip6_tunnel_uninit()
532 unsigned int data_len = 0; in ipip6_err()
540 return 0; in ipip6_err()
546 return 0; in ipip6_err()
557 return 0; in ipip6_err()
566 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in ipip6_err()
575 err = 0; in ipip6_err()
581 err = 0; in ipip6_err()
585 err = 0; in ipip6_err()
590 if (t->parms.iph.daddr == 0) in ipip6_err()
593 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipip6_err()
608 __be32 v4embed = 0; in is_spoofed_6rd()
685 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in ipip6_rcv()
690 tunnel->parms.iph.protocol != 0) in ipip6_rcv()
695 IPCB(skb)->flags = 0; in ipip6_rcv()
703 if (iptunnel_pull_header(skb, 0, htons(ETH_P_IPV6), in ipip6_rcv()
729 return 0; in ipip6_rcv()
736 return 0; in ipip6_rcv()
757 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in sit_tunnel_rcv()
766 tunnel->parms.iph.protocol != 0) in sit_tunnel_rcv()
777 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in sit_tunnel_rcv()
788 return 0; in sit_tunnel_rcv()
818 pbi0 = tunnel->ip6rd.prefixlen & 0x1f; in check_6rd()
822 tunnel->ip6rd.relay_prefixlen : 0; in check_6rd()
825 if (pbi1 > 0) in check_6rd()
833 if (v6dst->s6_addr16[0] == htons(0x2002)) { in check_6rd()
845 __be32 dst = 0; in try_6rd()
928 if ((addr_type & IPV6_ADDR_COMPATv4) != 0) in ipip6_tunnel_xmit()
940 IPPROTO_IPV6, 0, dst, tiph->saddr, 0, 0, in ipip6_tunnel_xmit()
982 df = 0; in ipip6_tunnel_xmit()
989 icmpv6_ndo_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu); in ipip6_tunnel_xmit()
995 if (tunnel->err_count > 0) { in ipip6_tunnel_xmit()
1001 tunnel->err_count = 0; in ipip6_tunnel_xmit()
1010 (skb_cloned(skb) && !skb_clone_writable(skb, 0))) { in ipip6_tunnel_xmit()
1025 if (ttl == 0) in ipip6_tunnel_xmit()
1029 if (ip_tunnel_encap(skb, &tunnel->encap, &protocol, &fl4) < 0) { in ipip6_tunnel_xmit()
1113 0, 0, in ipip6_tunnel_bind_dev()
1182 htonl(0xffffffffUL << in ipip6_tunnel_update_6rd()
1185 relay_prefix = 0; in ipip6_tunnel_update_6rd()
1195 return 0; in ipip6_tunnel_update_6rd()
1208 t = ipip6_tunnel_locate(t->net, &p, 0); in ipip6_tunnel_get6rd()
1219 return 0; in ipip6_tunnel_get6rd()
1237 if (err < 0) in ipip6_tunnel_6rdctl()
1241 return 0; in ipip6_tunnel_6rdctl()
1253 ipproto == 0; in ipip6_valid_ip_proto()
1270 return 0; in __ipip6_tunnel_ioctl_validate()
1279 t = ipip6_tunnel_locate(t->net, p, 0); in ipip6_tunnel_get()
1283 return 0; in ipip6_tunnel_get()
1299 return 0; in ipip6_tunnel_add()
1312 t = ipip6_tunnel_locate(t->net, p, 0); in ipip6_tunnel_change()
1330 return 0; in ipip6_tunnel_change()
1342 t = ipip6_tunnel_locate(t->net, p, 0); in ipip6_tunnel_del()
1350 return 0; in ipip6_tunnel_del()
1463 return 0; in ipip6_tunnel_init()
1478 rcu_assign_pointer(sitn->tunnels_wc[0], tunnel); in ipip6_fb_tunnel_init()
1487 return 0; in ipip6_validate()
1493 return 0; in ipip6_validate()
1500 memset(parms, 0, sizeof(*parms)); in ipip6_netlink_parms()
1522 memset(ip6rd, 0, sizeof(*ip6rd)); in ipip6_netlink_6rd_parms()
1569 if (err < 0) in ipip6_newlink()
1575 if (ipip6_tunnel_locate(net, &nt->parms, 0)) in ipip6_newlink()
1579 if (err < 0) in ipip6_newlink()
1593 if (err < 0) in ipip6_newlink()
1621 if (err < 0) in ipip6_changelink()
1631 t = ipip6_tunnel_locate(net, &p, 0); in ipip6_changelink()
1646 return 0; in ipip6_changelink()
1688 0; in ipip6_get_size()
1731 return 0; in ipip6_fill_info()
1814 for (prio = 0; prio < 4; prio++) { in sit_destroy_tunnels()
1816 for (h = 0; h < (prio ? IP6_SIT_HASH_SIZE : 1); h++) { in sit_destroy_tunnels()
1839 sitn->tunnels[0] = sitn->tunnels_wc; in sit_init_net()
1845 return 0; in sit_init_net()
1871 return 0; in sit_init_net()
1916 if (err < 0) in sit_init()
1919 if (err < 0) { in sit_init()
1924 if (err < 0) { in sit_init()
1930 if (err < 0) { in sit_init()
1936 if (err < 0) in sit_init()