Deleted Added
full compact
if_lagg.h (260070) if_lagg.h (269492)
1/* $OpenBSD: if_trunk.h,v 1.11 2007/01/31 06:20:19 reyk Exp $ */
2
3/*
4 * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
1/* $OpenBSD: if_trunk.h,v 1.11 2007/01/31 06:20:19 reyk Exp $ */
2
3/*
4 * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
18 * $FreeBSD: head/sys/net/if_lagg.h 260070 2013-12-30 01:32:17Z scottl $
18 * $FreeBSD: head/sys/net/if_lagg.h 269492 2014-08-04 00:58:12Z mav $
19 */
20
21#ifndef _NET_LAGG_H
22#define _NET_LAGG_H
23
24/*
25 * Global definitions
26 */

--- 142 unchanged lines hidden (view full) ---

169
170/* Private data used by the loadbalancing protocol */
171struct lagg_lb {
172 u_int32_t lb_key;
173 struct lagg_port *lb_ports[LAGG_MAX_PORTS];
174};
175
176struct lagg_mc {
19 */
20
21#ifndef _NET_LAGG_H
22#define _NET_LAGG_H
23
24/*
25 * Global definitions
26 */

--- 142 unchanged lines hidden (view full) ---

169
170/* Private data used by the loadbalancing protocol */
171struct lagg_lb {
172 u_int32_t lb_key;
173 struct lagg_port *lb_ports[LAGG_MAX_PORTS];
174};
175
176struct lagg_mc {
177 struct sockaddr_dl mc_addr;
177 struct ifmultiaddr *mc_ifma;
178 SLIST_ENTRY(lagg_mc) mc_entries;
179};
180
181/* List of interfaces to have the MAC address modified */
182struct lagg_llq {
183 struct ifnet *llq_ifp;
184 uint8_t llq_lladdr[ETHER_ADDR_LEN];

--- 100 unchanged lines hidden ---
178 struct ifmultiaddr *mc_ifma;
179 SLIST_ENTRY(lagg_mc) mc_entries;
180};
181
182/* List of interfaces to have the MAC address modified */
183struct lagg_llq {
184 struct ifnet *llq_ifp;
185 uint8_t llq_lladdr[ETHER_ADDR_LEN];

--- 100 unchanged lines hidden ---