From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795772832; b=JlS6U0cChU1uWmJ1EXzlMmkHVQUsaXdF4I0xdEFh7MTqB0cGjpSYBbxhhW6CIVW+xmZj cdNB4WftSrGKMI+a07jIuJNKhMMoA5XkgQhgFosTvxYRSRs5+oYqFGL+ZhU1+NF6+Ko80 0qBCi20lKO8n7qKesGjG7WXfU0DOTzckfsNAjVqqOs72xjmZJUIyHwc8u6RHFcc84wpiq 7vx4VEA28O6dP3tjljx7LEeVhXZElBPWNZGlJF6ufZMOhvr+nuPOFXv41pGNNb7dqa51e WHI9oTIZX/BNrRWmUsVbFyRnjj/mX2VZnALiqXIW+SLudmDTH5fftgwGUMUaHGUkHXQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795772832; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=I939LjG+YLgWKoI3f7zUtLuNd7cY8RJ19j4ppNVFzG0=; b=ZXA4/gQRUb6rfvWMZr+BMPHXpAPlSEkARu/vl5YkKzFKRpxd9askNCoJUSDU8ZuLKaNZ +MxpjziyszE+5VJ3NNpomQW9Y6mL96OxGGKq3YkuZ//D1D4jymMMrYH8S21ijfhVe3ps3 0NAi7mltO9bfPXAEAF2cyAV3mS3WBAzMNNVncmaf25EDLuy6xaTwiDqXVXIwOIkOgjR4m rMm9gVaGvdKeCJMQTwahc/2cGX9C28rJDkR8XsAo2G0Sf1BUSsqr/ha43MZbJFhvMFzA9 Hk/BXGNl33wwm4H+EMFFu9L3kG0/g0jt/ujthrMaK21wIa4XitBgm7w7i2aVGv66OKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=blockcast.net; spf=pass smtp.mailfrom=blockcast.net; dkim=pass header.d=blockcast.net header.i=@blockcast.net header.a=rsa-sha256 header.s=google header.b=E6UPSQLo; arc=none smtp.remote-ip=74.125.82.41 Received: from mail-dl1-f41.google.com (mail-dl1-f41.google.com [74.125.82.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2159606A323 for ; Fri, 27 Nov 2026 09:47:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D2159606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=blockcast.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=blockcast.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=blockcast.net header.i=@blockcast.net header.a=rsa-sha256 header.s=google header.b=E6UPSQLo Received: by mail-dl1-f41.google.com with SMTP id a92af1059eb24-1b546061d58so18322564c88.1 for ; Fri, 27 Nov 2026 01:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blockcast.net; s=google; t=1795772831; x=1796377631; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=I939LjG+YLgWKoI3f7zUtLuNd7cY8RJ19j4ppNVFzG0=; b=E6UPSQLoqf8HmcWZoK1WRjBBceghtN/tKPJTEfIZtyKJcDNl5lRvT/FzKX9Q8pDyT9 000k4roLSCri2nGygtj6+J5IFA0P7fT89zv7Wgm8AJl6nj0EbdDgMYEFBvSBKowAQpbs da3KGUAQZSzkvKeKnOLaFNrrs3BhFcmZdw2LAKJ2WPbfA+PGAKltS5MMzmuGHcX20mef TtHcCvPzihtKoPosrnCsJJl7qRjGRPGXjqLY4pRmsX2qGrn5iKZlQt1QkNLvFjhk6lR8 Y+WrmU9bWuVOiZXxtxTtKdNCxYknAsY8CyPgoWs6RBJE+rx0DHZEbEVIRIclLsMdsDfT a25A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795772831; x=1796377631; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=I939LjG+YLgWKoI3f7zUtLuNd7cY8RJ19j4ppNVFzG0=; b=aDA3mz3gW2Xvpi4JxC0tntDTqLB8VE0qouNXRefsGBI1+SoBmASAu1+XcFG9a/mHOb dmHJfM89ed90xxbsPVU5f3WzjVP5Gb1yCEhl9mt0tFLiVYFa9k6MJPiUz7L2rw/Gv7HY PYZwoxp3X5bpM0YoN4a1CZI1Njv9Sacfm/gaWY0b7sHSArqs9L0F2almIl3reERfB+Nx xTAzlyUuFBUCUvT6wkgY+H3Vs3DpQymr8Z4yyMc2NyQcSGpdZBpfmSw6TXA7SDuCkabn SGmkL0iE/9mGv64Q245Jp45wqSfFrBYBYUtAbufVR2uRcYfOluNswGIi0Ok9wEgboB5D gAxg== X-Forwarded-Encrypted: i=1; AL+hErEzv7OeYe04AQWMxziAyrOT2rMIcXivxSy8u+mLh6deHcnoRuqUz7EPAtn7+pnoTkDK3bM8Q04=@vger.kernel.org X-Gm-Message-State: APuU4Z9WDTC89oZcD0sZ1jQ/mqMyxLblxQCVbGR+LU9Pfb6auDHiHoMU 56tB/u8z3UqQGcPKGtq1zXZBJOxGWdQ42PVxgxEPPzm4jVJrGMXnEHDDkicUVumcwq2tOiv3Ptj WZvWk3UE= X-Gm-Gg: AZFdTZd0hkCycWlsbpEyw1DTu/xuryUkgNfz247Y1CNNRJkgS4ztLG57Mc+QE3YbJzB MUm5hROMz2VPkjNvhDluq4uYtXRboJF4Kup0o4RFTP0mmwXExgar9GlP9oYGRMuogTZy6L6LT2P klrYMvIV5tIZEY15BTtQz22eALs6UFzxdRTh4ZRoOv4BLOFKI0Hzc/JbtaK9CksTJu11dwn1G9g VrDzjmZjGg583MezzxYiBiVieLUsVXSs/abRco9xOXi12oWQbnCDo7R/L98NvgR7DX8NCu0i8Oq yifPG0Cno8hkZLPg/OBqa8HlEPcwfjjmyca5l/2GCj0Wa+1N8QXdwJeKstKQq15KzGwvRf4h2wc geZR1napm4n1elOq0mU8URH5oDN4UN1GUgHnuzjgRRntGRiCfbbpEQiKna8O6CZ58me6sTYjZ3v WV5/Xm11h8gFowapuQF9TXV0+jfRFbTisExYFx+dFADjOrYkpvAkoMFywY8tCErvUfRvt0ZWx6l 4sZEPiUYbURKnRprb9tbNqAGzpZIRnVO2xRSb77LO+grKmDhitRU/Z2FGGoWZRvRg3XoGMhRi6z yy4yi3GLISbhP2y2Sdj2FALxwmguhaRRB5cufnDEf6J0tkUlgVP+4BYucOxSmZgYpsHTWul7cJQ 6kCRBwbkUhU9rzNmBH2S+i7Ym/gE= X-Received: by 2002:a05:7022:b0c4:b0:1b3:b455:93db with SMTP id a92af1059eb24-1b5568eec9fmr22925923c88.24.1795772830872; Fri, 27 Nov 2026 01:47:10 -0800 (PST) Received: from devbox.ts.blockcast.net ([2602:f74d:1::32]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b5566c3052sm55115194c88.1.2026.11.27.01.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 01:47:09 -0800 (PST) From: Omar Ramadan To: Taehee Yoo , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan Cc: Simon Horman , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Willem de Bruijn Subject: [PATCH net-next v3 03/12] amt: key relay tunnels on a union amt_addr endpoint Date: Fri, 27 Nov 2026 09:46:54 +0000 Message-ID: <20261127094703.3025517-4-omar@blockcast.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261127094703.3025517-1-omar@blockcast.net> References: <20261127094703.3025517-1-omar@blockcast.net> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A relay keeps one struct amt_tunnel_list per gateway endpoint and finds it by the gateway's IPv4 address, stored as __be32 ip4 and taken from ip_hdr(skb)->saddr, together with its UDP source port. On an IPv6 outer transport that reads the traffic class and flow label of the IPv6 header as an address, and the field cannot hold the gateway's address anyway. Store the endpoint as a union amt_addr, which group and source nodes already use, and move the union above struct amt_tunnel_list so the tunnel can embed it. Its ip6 member is no longer under CONFIG_IPV6, so code that only copies, compares or prints an endpoint compiles without an #if and relies on amt_v6() being false. A kernel without IPv6 pays 12 bytes per group and source node, which it already zeroes. The tunnel needs no family of its own: the relay's socket is bound to one family, so every tunnel has the device's family, which amt_v6() reports. amt_outer_saddr() copies the outer source address of a received message by value into a zeroed union amt_addr. amt_update_handler() takes that snapshot before pskb_may_pull() and iptunnel_pull_header() can reallocate the header; amt_request_handler() takes it after its only pskb_may_pull() and pulls nothing more. Both pass it to amt_tunnel_lookup(), amt_tunnel_get_or_create() and amt_update_tunnel(). Tunnels are matched on their endpoint with the existing amt_addr_equal(); the union is zero-padded for IPv4, so one memcmp() serves both families. The per-source tunnel cap counts differently. An IPv6 host normally owns a whole /64, so a count per address would let it open the cap's worth of tunnels from each of its addresses and keep the table full. amt_request_handler() and amt_tunnel_get_or_create() count the tunnels of one source with amt_same_source(), which compares the whole address for IPv4 and the /64 for IPv6. Gateways that share a /64 share the cap; each still has its own tunnel, found by its full endpoint. The Membership Update MAC becomes amt_relay_mac(), one siphash() over the packed {address, port, nonce} tuple instead of siphash_3u32() over the IPv4 address. The Request and Update handlers both compute it with the helper. Only the relay computes and checks the MAC; the gateway echoes it verbatim, so the different IPv4 value is not visible on the wire. The IPv4 senders and the relay status debug message are converted to tunnel->addr.ip4, and the debug message prints an IPv6 endpoint with %pI6c. amt_v6() is still false for every device, so there is no functional change. Assisted-by: LLM Signed-off-by: Omar Ramadan --- drivers/net/amt.c | 116 +++++++++++++++++++++++++++++++++------------- include/net/amt.h | 20 ++++---- 2 files changed, 95 insertions(+), 41 deletions(-) diff --git a/drivers/net/amt.c b/drivers/net/amt.c index 52ccaca08..83e666a02 100644 --- a/drivers/net/amt.c +++ b/drivers/net/amt.c @@ -98,6 +98,32 @@ static bool amt_v6(const struct amt_dev *amt) return IS_ENABLED(CONFIG_IPV6) && !ipv6_addr_any(&amt->local_ipv6); } +/* Snapshot the outer source address of a received AMT message. */ +static void amt_outer_saddr(const struct amt_dev *amt, + const struct sk_buff *skb, union amt_addr *addr) +{ + memset(addr, 0, sizeof(*addr)); + if (amt_v6(amt)) + addr->ip6 = ipv6_hdr(skb)->saddr; + else + addr->ip4 = ip_hdr(skb)->saddr; +} + +/* The Membership Update MAC for a gateway endpoint. The gateway only echoes + * it, so one siphash() over the zero-padded endpoint serves both families. + */ +static u64 amt_relay_mac(const union amt_addr *addr, __be16 port, __be32 nonce, + const siphash_key_t *key) +{ + struct { + union amt_addr addr; + __be16 port; + __be32 nonce; + } __packed in = { .addr = *addr, .port = port, .nonce = nonce }; + + return siphash(&in, sizeof(in), key) >> 16; +} + static void __amt_source_gc_work(void) { struct amt_source_node *snode; @@ -189,6 +215,23 @@ static bool amt_addr_equal(union amt_addr *a, union amt_addr *b) return !memcmp(a, b, sizeof(union amt_addr)); } +/* Bytes of an IPv6 source that make up its /64. */ +#define AMT_SRC_PREFIX6_LEN 8 + +/* Whether @a and @b are one source for the per-source tunnel cap. An IPv6 + * host normally owns a whole /64, so counting per address would let it + * reach the cap from each of its addresses and fill the table; the cap + * therefore counts per /64. For IPv4 a source is an address. Tunnels + * themselves are still found by their full endpoint. + */ +static bool amt_same_source(const struct amt_dev *amt, + const union amt_addr *a, const union amt_addr *b) +{ + if (amt_v6(amt)) + return !memcmp(&a->ip6, &b->ip6, AMT_SRC_PREFIX6_LEN); + return a->ip4 == b->ip4; +} + static u32 amt_source_hash(struct amt_tunnel_list *tunnel, union amt_addr *src) { u32 hash = jhash(src, sizeof(*src), tunnel->amt->hash_seed); @@ -701,10 +744,16 @@ static void __amt_update_relay_status(struct amt_tunnel_list *tunnel, { if (validate && tunnel->status >= status) return; - netdev_dbg(tunnel->amt->dev, - "Update Tunnel(IP = %pI4, PORT = %u) status %s -> %s", - &tunnel->ip4, ntohs(tunnel->source_port), - status_str[tunnel->status], status_str[status]); + if (amt_v6(tunnel->amt)) + netdev_dbg(tunnel->amt->dev, + "Update Tunnel(IP = %pI6c, PORT = %u) status %s -> %s", + &tunnel->addr.ip6, ntohs(tunnel->source_port), + status_str[tunnel->status], status_str[status]); + else + netdev_dbg(tunnel->amt->dev, + "Update Tunnel(IP = %pI4, PORT = %u) status %s -> %s", + &tunnel->addr.ip4, ntohs(tunnel->source_port), + status_str[tunnel->status], status_str[status]); tunnel->status = status; } @@ -1292,12 +1341,12 @@ static void amt_send_multicast_data(struct amt_dev *amt, memset(&fl4, 0, sizeof(struct flowi4)); fl4.flowi4_oif = amt->stream_dev->ifindex; - fl4.daddr = tunnel->ip4; + fl4.daddr = tunnel->addr.ip4; fl4.saddr = amt->local_ip; fl4.flowi4_proto = IPPROTO_UDP; rt = ip_route_output_key(amt->net, &fl4); if (IS_ERR(rt)) { - netdev_dbg(amt->dev, "no route to %pI4\n", &tunnel->ip4); + netdev_dbg(amt->dev, "no route to %pI4\n", &tunnel->addr.ip4); kfree_skb(skb); return; } @@ -2728,20 +2777,22 @@ static bool amt_membership_query_handler(struct amt_dev *amt, * race with amt_tunnel_expire() creates the replacement. */ static struct amt_tunnel_list *amt_tunnel_lookup(struct amt_dev *amt, - __be32 saddr, __be16 sport) + union amt_addr *saddr, + __be16 sport) { struct amt_tunnel_list *tunnel; list_for_each_entry_rcu(tunnel, &amt->tunnel_list, list) { - if (tunnel->ip4 == saddr && tunnel->source_port == sport && + if (amt_addr_equal(&tunnel->addr, saddr) && + tunnel->source_port == sport && !READ_ONCE(tunnel->dead)) return tunnel; } return NULL; } -/* Most tunnels one source address may hold: an eighth of the table, at - * least one and at most AMT_MAX_TUNNELS_PER_SRC. +/* Most tunnels one source (an IPv4 address or an IPv6 /64) may hold: an + * eighth of the table, at least one and at most AMT_MAX_TUNNELS_PER_SRC. */ static u32 amt_max_tunnels_per_src(const struct amt_dev *amt) { @@ -2759,7 +2810,7 @@ static u32 amt_max_tunnels_per_src(const struct amt_dev *amt) * verified source address may hold. */ static struct amt_tunnel_list *amt_tunnel_get_or_create(struct amt_dev *amt, - __be32 saddr, + union amt_addr *saddr, __be16 sport) { struct amt_tunnel_list *tunnel; @@ -2779,9 +2830,11 @@ static struct amt_tunnel_list *amt_tunnel_get_or_create(struct amt_dev *amt, * against its address. */ list_for_each_entry(tunnel, &amt->tunnel_list, list) { - if (tunnel->ip4 != saddr || READ_ONCE(tunnel->dead)) + if (!amt_same_source(amt, &tunnel->addr, saddr) || + READ_ONCE(tunnel->dead)) continue; - if (tunnel->source_port == sport) { + if (amt_addr_equal(&tunnel->addr, saddr) && + tunnel->source_port == sport) { spin_unlock_bh(&amt->lock); return tunnel; } @@ -2808,7 +2861,7 @@ static struct amt_tunnel_list *amt_tunnel_get_or_create(struct amt_dev *amt, } tunnel->source_port = sport; - tunnel->ip4 = saddr; + tunnel->addr = *saddr; tunnel->amt = amt; spin_lock_init(&tunnel->lock); for (i = 0; i < amt->hash_buckets; i++) @@ -2838,7 +2891,7 @@ static struct amt_tunnel_list *amt_tunnel_get_or_create(struct amt_dev *amt, * second amt_tunnel_get_or_create() call, which creates its replacement. */ static bool amt_update_tunnel(struct amt_dev *amt, struct sk_buff *skb, - __be32 saddr, __be16 sport, bool v6) + union amt_addr *saddr, __be16 sport, bool v6) { struct amt_tunnel_list *tunnel; int i; @@ -2878,12 +2931,13 @@ static bool amt_update_handler(struct amt_dev *amt, struct sk_buff *skb) struct ethhdr *eth; struct iphdr *iph; unsigned int seq; + union amt_addr saddr; u64 response_mac; - __be32 saddr; __be32 nonce; __be16 sport; - saddr = ip_hdr(skb)->saddr; + /* Snapshot the outer source before any pull can move the header. */ + amt_outer_saddr(amt, skb, &saddr); hdr_size = sizeof(*amtmu) + sizeof(struct udphdr); if (!pskb_may_pull(skb, hdr_size)) @@ -2910,10 +2964,7 @@ static bool amt_update_handler(struct amt_dev *amt, struct sk_buff *skb) } while (read_seqcount_retry(&amt->key_seq, seq)); for (i = 0; i < ARRAY_SIZE(key); i++) { - u64 mac = siphash_3u32((__force u32)saddr, - (__force u32)sport, - (__force u32)nonce, - &key[i]) >> 16; + u64 mac = amt_relay_mac(&saddr, sport, nonce, &key[i]); if (response_mac == mac) { verified = true; @@ -2947,7 +2998,7 @@ static bool amt_update_handler(struct amt_dev *amt, struct sk_buff *skb) return true; } - if (!amt_update_tunnel(amt, skb, saddr, sport, false)) + if (!amt_update_tunnel(amt, skb, &saddr, sport, false)) return true; skb_push(skb, sizeof(struct ethhdr)); @@ -2966,7 +3017,7 @@ static bool amt_update_handler(struct amt_dev *amt, struct sk_buff *skb) return true; } - if (!amt_update_tunnel(amt, skb, saddr, sport, true)) + if (!amt_update_tunnel(amt, skb, &saddr, sport, true)) return true; skb_push(skb, sizeof(struct ethhdr)); @@ -3165,8 +3216,8 @@ static bool amt_request_handler(struct amt_dev *amt, struct sk_buff *skb) struct amt_header_request *amtrh; struct amt_tunnel_list *tunnel; bool full, have = false; + union amt_addr saddr; struct udphdr *udph; - struct iphdr *iph; siphash_key_t key; u32 per_src = 0; u64 mac; @@ -3174,7 +3225,7 @@ static bool amt_request_handler(struct amt_dev *amt, struct sk_buff *skb) if (!pskb_may_pull(skb, sizeof(*udph) + sizeof(*amtrh))) return true; - iph = ip_hdr(skb); + amt_outer_saddr(amt, skb, &saddr); udph = udp_hdr(skb); amtrh = (struct amt_header_request *)(udp_hdr(skb) + 1); @@ -3198,10 +3249,12 @@ static bool amt_request_handler(struct amt_dev *amt, struct sk_buff *skb) */ rcu_read_lock(); list_for_each_entry_rcu(tunnel, &amt->tunnel_list, list) { - if (tunnel->ip4 != iph->saddr || READ_ONCE(tunnel->dead)) + if (!amt_same_source(amt, &tunnel->addr, &saddr) || + READ_ONCE(tunnel->dead)) continue; per_src++; - if (tunnel->source_port == udph->source) + if (amt_addr_equal(&tunnel->addr, &saddr) && + tunnel->source_port == udph->source) have = true; } rcu_read_unlock(); @@ -3210,15 +3263,12 @@ static bool amt_request_handler(struct amt_dev *amt, struct sk_buff *skb) if (!have && (full || per_src >= amt_max_tunnels_per_src(amt))) return true; - mac = siphash_3u32((__force u32)iph->saddr, - (__force u32)udph->source, - (__force u32)amtrh->nonce, - &key) >> 16; + mac = amt_relay_mac(&saddr, udph->source, amtrh->nonce, &key); if (!amtrh->p) - amt_send_igmp_gq(amt, iph->saddr, udph->source, amtrh->nonce, + amt_send_igmp_gq(amt, saddr.ip4, udph->source, amtrh->nonce, mac); else - amt_send_mld_gq(amt, iph->saddr, udph->source, amtrh->nonce, + amt_send_mld_gq(amt, saddr.ip4, udph->source, amtrh->nonce, mac); return false; diff --git a/include/net/amt.h b/include/net/amt.h index 52d77bc6b..245947113 100644 --- a/include/net/amt.h +++ b/include/net/amt.h @@ -252,6 +252,14 @@ struct amt_relay_headers { }; } __packed; +/* ip6 is present without CONFIG_IPV6 too, so that code which only copies + * or compares addresses needs no #if; amt_v6() is then false. + */ +union amt_addr { + __be32 ip4; + struct in6_addr ip6; +}; + struct amt_tunnel_list { struct list_head list; /* Protect All resources under an amt_tunne_list */ @@ -273,18 +281,14 @@ struct amt_tunnel_list { */ bool dead; __be16 source_port; - __be32 ip4; + /* Outer source address of the gateway endpoint, in the device's + * outer family (amt_v6()). + */ + union amt_addr addr; struct rcu_head rcu; struct hlist_head groups[]; }; -union amt_addr { - __be32 ip4; -#if IS_ENABLED(CONFIG_IPV6) - struct in6_addr ip6; -#endif -}; - /* RFC 3810 * * When the router is in EXCLUDE mode, the router state is represented