Lines Matching refs:ifm
556 struct ifaddrmsg *ifm;
563 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, dn_ifa_policy);
568 ifm = nlmsg_data(nlh);
569 if ((dn_db = dn_dev_by_index(ifm->ifa_index)) == NULL)
595 struct ifaddrmsg *ifm;
602 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, dn_ifa_policy);
609 ifm = nlmsg_data(nlh);
610 if ((dev = __dev_get_by_index(&init_net, ifm->ifa_index)) == NULL)
627 ifa->ifa_flags = ifm->ifa_flags;
628 ifa->ifa_scope = ifm->ifa_scope;
654 struct ifaddrmsg *ifm;
657 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*ifm), flags);
661 ifm = nlmsg_data(nlh);
662 ifm->ifa_family = AF_DECnet;
663 ifm->ifa_prefixlen = 16;
664 ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT;
665 ifm->ifa_scope = ifa->ifa_scope;
666 ifm->ifa_index = ifa->ifa_dev->dev->ifindex;