NetdConstants.cpp revision c462177bd58e3bf0ac4f618934dae060569e3e0b
1e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy/*
2e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * Copyright (C) 2012 The Android Open Source Project
3e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy *
4e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * Licensed under the Apache License, Version 2.0 (the "License");
5e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * you may not use this file except in compliance with the License.
6e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * You may obtain a copy of the License at
7e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy *
8e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy *      http://www.apache.org/licenses/LICENSE-2.0
9e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy *
10e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * Unless required by applicable law or agreed to in writing, software
11e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * distributed under the License is distributed on an "AS IS" BASIS,
12e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * See the License for the specific language governing permissions and
14e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy * limitations under the License.
15e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy */
16e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy
1785bf02fc16784d935fb9eebfa9cb20fe46ff7951Romain Guy#include "NetdConstants.h"
18e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guy
19e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guyconst char * const OEM_SCRIPT_PATH = "/system/bin/oem-iptables-init.sh";
20e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guyconst char * const IPTABLES_PATH = "/system/bin/iptables";
21e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guyconst char * const TC_PATH = "/system/bin/tc";
22e4d011201cea40d46cb2b2eef401db8fddc5c9c6Romain Guyconst char * const IP_PATH = "/system/bin/ip";
23bd6b79b40247aea7bfe13d0831c6c0472df6c636Romain Guyconst char * const ADD = "add";
24694b519ac647fe998fd396fe0784cc8e179aadc4Romain Guyconst char * const DEL = "del";
255cbbce535744b89df5ecea95de21ee3733298260Romain Guy