nexthop.h (e95f2592f633a334b175003f13f42d3c217dc657) nexthop.h (732d167bf5f53a8c1e8c53cf7dbffe2a13f63752)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Generic nexthop implementation
4 *
5 * Copyright (c) 2017-19 Cumulus Networks
6 * Copyright (c) 2017-19 David Ahern <dsa@cumulusnetworks.com>
7 */
8

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

100
101 union {
102 struct nh_info __rcu *nh_info;
103 struct nh_group __rcu *nh_grp;
104 };
105};
106
107enum nexthop_event_type {
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Generic nexthop implementation
4 *
5 * Copyright (c) 2017-19 Cumulus Networks
6 * Copyright (c) 2017-19 David Ahern <dsa@cumulusnetworks.com>
7 */
8

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

100
101 union {
102 struct nh_info __rcu *nh_info;
103 struct nh_group __rcu *nh_grp;
104 };
105};
106
107enum nexthop_event_type {
108 NEXTHOP_EVENT_DEL
108 NEXTHOP_EVENT_DEL,
109 NEXTHOP_EVENT_REPLACE,
109};
110
111struct nh_notifier_single_info {
112 struct net_device *dev;
113 u8 gw_family;
114 union {
115 __be32 ipv4;
116 struct in6_addr ipv6;

--- 361 unchanged lines hidden ---
110};
111
112struct nh_notifier_single_info {
113 struct net_device *dev;
114 u8 gw_family;
115 union {
116 __be32 ipv4;
117 struct in6_addr ipv6;

--- 361 unchanged lines hidden ---