Blame include/ipmitool/ipmi_lanp6.h

Packit d14fb6
/*
Packit d14fb6
 * Copyright (c) 2016 Pentair Technical Products. All right reserved
Packit d14fb6
 *
Packit d14fb6
 * Redistribution and use in source and binary forms, with or without
Packit d14fb6
 * modification, are permitted provided that the following conditions
Packit d14fb6
 * are met:
Packit d14fb6
 *
Packit d14fb6
 * Redistribution of source code must retain the above copyright
Packit d14fb6
 * notice, this list of conditions and the following disclaimer.
Packit d14fb6
 *
Packit d14fb6
 * Redistribution in binary form must reproduce the above copyright
Packit d14fb6
 * notice, this list of conditions and the following disclaimer in the
Packit d14fb6
 * documentation and/or other materials provided with the distribution.
Packit d14fb6
 *
Packit d14fb6
 * Neither the name of Pentair Technical Products or the names of
Packit d14fb6
 * contributors may be used to endorse or promote products derived
Packit d14fb6
 * from this software without specific prior written permission.
Packit d14fb6
 *
Packit d14fb6
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Packit d14fb6
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Packit d14fb6
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
Packit d14fb6
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
Packit d14fb6
 * PENTAIR TECHNICAL SOLUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT,
Packit d14fb6
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
Packit d14fb6
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Packit d14fb6
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Packit d14fb6
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
Packit d14fb6
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
Packit d14fb6
 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit d14fb6
 * POSSIBILITY OF SUCH DAMAGE.
Packit d14fb6
 */
Packit d14fb6
#ifndef IPMI_LANP6_H
Packit d14fb6
#define IPMI_LANP6_H
Packit d14fb6
Packit d14fb6
#include <ipmitool/ipmi_intf.h>
Packit d14fb6
Packit d14fb6
/*
Packit d14fb6
 * LAN configuration parameter.
Packit d14fb6
 */
Packit d14fb6
struct ipmi_lanp {
Packit d14fb6
	int selector;
Packit d14fb6
	const char *name;
Packit d14fb6
	int size;
Packit d14fb6
};
Packit d14fb6
Packit d14fb6
/*
Packit d14fb6
 * Private data for LAN configuration.
Packit d14fb6
 */
Packit d14fb6
struct ipmi_lanp_priv {
Packit d14fb6
	struct ipmi_intf *intf;
Packit d14fb6
	int channel;
Packit d14fb6
};
Packit d14fb6
Packit d14fb6
#endif /* IPMI_LANP6_H */