Lines Matching defs:pfx
1559 addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev,
1571 ipv6_addr_copy(&cfg.fc_dst, pfx);
1934 static int inet6_addr_add(int ifindex, struct in6_addr *pfx, int plen,
1955 scope = ipv6_addr_scope(pfx);
1969 ifp = ipv6_add_addr(idev, pfx, plen, scope, ifa_flags);
1994 static int inet6_addr_del(int ifindex, struct in6_addr *pfx, int plen)
2009 ipv6_addr_equal(pfx, &ifp->addr)) {
3013 struct in6_addr *pfx = NULL;
3016 pfx = nla_data(addr);
3019 if (pfx && nla_memcmp(local, pfx, sizeof(*pfx)))
3020 pfx = NULL;
3022 pfx = nla_data(local);
3025 return pfx;
3039 struct in6_addr *pfx;
3047 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL]);
3048 if (pfx == NULL)
3051 return inet6_addr_del(ifm->ifa_index, pfx, ifm->ifa_prefixlen);
3096 struct in6_addr *pfx;
3108 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL]);
3109 if (pfx == NULL)
3130 ifa = ipv6_get_ifaddr(pfx, dev, 1);
3136 return inet6_addr_add(ifm->ifa_index, pfx, ifm->ifa_prefixlen,