Lines Matching refs:ifm
515 struct ifaddrmsg *ifm = NLMSG_DATA(nlh); in dn_dev_rtm_deladdr() local
518 if ((dn_db = dn_dev_by_index(ifm->ifa_index)) == NULL) in dn_dev_rtm_deladdr()
539 struct ifaddrmsg *ifm = NLMSG_DATA(nlh); in dn_dev_rtm_newaddr() local
545 if ((dev = __dev_get_by_index(ifm->ifa_index)) == NULL) in dn_dev_rtm_newaddr()
559 ifa->ifa_flags = ifm->ifa_flags; in dn_dev_rtm_newaddr()
560 ifa->ifa_scope = ifm->ifa_scope; in dn_dev_rtm_newaddr()
573 struct ifaddrmsg *ifm; in dn_dev_fill_ifaddr() local
577 nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ifm)); in dn_dev_fill_ifaddr()
578 ifm = NLMSG_DATA(nlh); in dn_dev_fill_ifaddr()
580 ifm->ifa_family = AF_DECnet; in dn_dev_fill_ifaddr()
581 ifm->ifa_prefixlen = 16; in dn_dev_fill_ifaddr()
582 ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT; in dn_dev_fill_ifaddr()
583 ifm->ifa_scope = ifa->ifa_scope; in dn_dev_fill_ifaddr()
584 ifm->ifa_index = ifa->ifa_dev->dev->ifindex; in dn_dev_fill_ifaddr()