ip6_route.h (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) ip6_route.h (6b2e04bc240fe9be9e690059f710e9f95346d34d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _NET_IP6_ROUTE_H
3#define _NET_IP6_ROUTE_H
4
5struct route_info {
6 __u8 type;
7 __u8 length;
8 __u8 prefix_len;

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

169 * support functions for ND
170 *
171 */
172struct fib6_info *rt6_get_dflt_router(struct net *net,
173 const struct in6_addr *addr,
174 struct net_device *dev);
175struct fib6_info *rt6_add_dflt_router(struct net *net,
176 const struct in6_addr *gwaddr,
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _NET_IP6_ROUTE_H
3#define _NET_IP6_ROUTE_H
4
5struct route_info {
6 __u8 type;
7 __u8 length;
8 __u8 prefix_len;

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

169 * support functions for ND
170 *
171 */
172struct fib6_info *rt6_get_dflt_router(struct net *net,
173 const struct in6_addr *addr,
174 struct net_device *dev);
175struct fib6_info *rt6_add_dflt_router(struct net *net,
176 const struct in6_addr *gwaddr,
177 struct net_device *dev, unsigned int pref);
177 struct net_device *dev, unsigned int pref,
178 u32 defrtr_usr_metric);
178
179void rt6_purge_dflt_routers(struct net *net);
180
181int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
182 const struct in6_addr *gwaddr);
183
184void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
185 u32 mark, kuid_t uid);

--- 154 unchanged lines hidden ---
179
180void rt6_purge_dflt_routers(struct net *net);
181
182int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
183 const struct in6_addr *gwaddr);
184
185void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
186 u32 mark, kuid_t uid);

--- 154 unchanged lines hidden ---