Lines Matching refs:ifm
69 struct ifaddrmsg *ifm;
78 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_phonet_policy);
82 ifm = nlmsg_data(nlh);
90 dev = __dev_get_by_index(net, ifm->ifa_index);
106 struct ifaddrmsg *ifm;
109 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*ifm), 0);
113 ifm = nlmsg_data(nlh);
114 ifm->ifa_family = AF_PHONET;
115 ifm->ifa_prefixlen = 0;
116 ifm->ifa_flags = IFA_F_PERMANENT;
117 ifm->ifa_scope = RT_SCOPE_LINK;
118 ifm->ifa_index = dev->ifindex;