| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2015 Tom Herbert <tom@herbertland.com> |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or |
|---|
| 5 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 6 | | - * published by the Free Software Foundation; either version 2 of |
|---|
| 7 | | - * the License, or (at your option) any later version. |
|---|
| 8 | | - * |
|---|
| 9 | 4 | */ |
|---|
| 10 | 5 | |
|---|
| 11 | 6 | #ifndef __ILA_H |
|---|
| .. | .. |
|---|
| 71 | 66 | static inline struct ila_addr *ila_a2i(struct in6_addr *addr) |
|---|
| 72 | 67 | { |
|---|
| 73 | 68 | return (struct ila_addr *)addr; |
|---|
| 74 | | -} |
|---|
| 75 | | - |
|---|
| 76 | | -static inline bool ila_addr_is_ila(struct ila_addr *iaddr) |
|---|
| 77 | | -{ |
|---|
| 78 | | - return (iaddr->ident.type != ILA_ATYPE_IID); |
|---|
| 79 | 69 | } |
|---|
| 80 | 70 | |
|---|
| 81 | 71 | struct ila_params { |
|---|