blob: b5be33f459e9300a7dfffbfc7a67c888e72247cb [file] [log] [blame]
Maciej Żenczykowskie9810ff2021-01-14 20:02:08 -08001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "bpf_helpers.h"
18#include "bpf_net_helpers.h"
19#include "netdbpf/bpf_shared.h"
20
21// Used only by TetheringPrivilegedTests, not by production code.
22DEFINE_BPF_MAP_GRW(tether_ingress_map, HASH, TetherIngressKey, TetherIngressValue, 16,
23 AID_NETWORK_STACK)
24
25LICENSE("Apache 2.0");