Lines Matching refs:ip4_addr
933 static int ipvlan_add_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_add_addr4() argument
938 if (ipvlan_addr_busy(ipvlan->port, ip4_addr, false)) in ipvlan_add_addr4()
941 ip4_addr, ipvlan->dev->name); in ipvlan_add_addr4()
943 ret = ipvlan_add_addr(ipvlan, ip4_addr, false); in ipvlan_add_addr4()
948 static void ipvlan_del_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_del_addr4() argument
950 return ipvlan_del_addr(ipvlan, ip4_addr, false); in ipvlan_del_addr4()
959 struct in_addr ip4_addr; in ipvlan_addr4_event() local
966 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event()
967 if (ipvlan_add_addr4(ipvlan, &ip4_addr)) in ipvlan_addr4_event()
972 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event()
973 ipvlan_del_addr4(ipvlan, &ip4_addr); in ipvlan_addr4_event()