Lines Matching refs:pinfo
186 struct prefix_info *pinfo);
2265 struct prefix_info *pinfo; in addrconf_prefix_rcv() local
2272 pinfo = (struct prefix_info *) opt; in addrconf_prefix_rcv()
2283 addr_type = ipv6_addr_type(&pinfo->prefix); in addrconf_prefix_rcv()
2288 valid_lft = ntohl(pinfo->valid); in addrconf_prefix_rcv()
2289 prefered_lft = ntohl(pinfo->prefered); in addrconf_prefix_rcv()
2310 if (pinfo->onlink) { in addrconf_prefix_rcv()
2327 rt = addrconf_get_prefix_route(&pinfo->prefix, in addrconf_prefix_rcv()
2328 pinfo->prefix_len, in addrconf_prefix_rcv()
2352 addrconf_prefix_route(&pinfo->prefix, pinfo->prefix_len, in addrconf_prefix_rcv()
2360 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()
2366 if (pinfo->prefix_len == 64) { in addrconf_prefix_rcv()
2367 memcpy(&addr, &pinfo->prefix, 8); in addrconf_prefix_rcv()
2383 pinfo->prefix_len); in addrconf_prefix_rcv()
2407 pinfo->prefix_len, in addrconf_prefix_rcv()
2477 inet6_prefix_notify(RTM_NEWPREFIX, in6_dev, pinfo); in addrconf_prefix_rcv()
4842 struct prefix_info *pinfo, u32 portid, u32 seq, in inet6_fill_prefix() argument
4858 pmsg->prefix_len = pinfo->prefix_len; in inet6_fill_prefix()
4859 pmsg->prefix_type = pinfo->type; in inet6_fill_prefix()
4862 if (pinfo->onlink) in inet6_fill_prefix()
4864 if (pinfo->autoconf) in inet6_fill_prefix()
4867 if (nla_put(skb, PREFIX_ADDRESS, sizeof(pinfo->prefix), &pinfo->prefix)) in inet6_fill_prefix()
4869 ci.preferred_time = ntohl(pinfo->prefered); in inet6_fill_prefix()
4870 ci.valid_time = ntohl(pinfo->valid); in inet6_fill_prefix()
4881 struct prefix_info *pinfo) in inet6_prefix_notify() argument
4891 err = inet6_fill_prefix(skb, idev, pinfo, 0, 0, event, 0); in inet6_prefix_notify()