Home | History | Annotate | Download | only in server

Lines Matching refs:interface

36         INTERFACE,       // Compute the table number based on the interface index.
48 // Returns an ifindex given the interface name, by looking up in sInterfaceToTable.
51 // We do this instead of calling if_nametoindex because the same interface name can
52 // correspond to different interface indices over time. This way, even if the interface
55 static uint32_t getIfIndex(const char* interface);
57 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
59 const char* interface) WARN_UNUSED_RESULT;
61 static int addInterfaceToPhysicalNetwork(unsigned netId, const char* interface,
63 static int removeInterfaceFromPhysicalNetwork(unsigned netId, const char* interface,
66 static int addInterfaceToVirtualNetwork(unsigned netId, const char* interface, bool secure,
68 static int removeInterfaceFromVirtualNetwork(unsigned netId, const char* interface, bool secure,
71 static int modifyPhysicalNetworkPermission(unsigned netId, const char* interface,
75 static int addUsersToVirtualNetwork(unsigned netId, const char* interface, bool secure,
77 static int removeUsersFromVirtualNetwork(unsigned netId, const char* interface, bool secure,
85 static int addInterfaceToDefaultNetwork(const char* interface,
87 static int removeInterfaceFromDefaultNetwork(const char* interface,
92 static int addRoute(const char* interface, const char* destination, const char* nexthop,
94 static int removeRoute(const char* interface, const char* destination, const char* nexthop,
119 static int flushRoutes(const char* interface);
121 static uint32_t getRouteTableForInterfaceLocked(const char *interface);
122 static uint32_t getRouteTableForInterface(const char *interface);
123 static int modifyDefaultNetwork(uint16_t action, const char* interface, Permission permission);
124 static int modifyPhysicalNetwork(unsigned netId, const char* interface, Permission permission,
126 static int modifyRoute(uint16_t action, const char* interface, const char* destination,
132 static int modifyVirtualNetwork(unsigned netId, const char* interface,
141 int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination,
145 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface,