Home | History | Annotate | Download | only in server

Lines Matching defs:direction

825                     for (int direction : DIRECTIONS) {
826 int mark = (direction == IpSecManager.DIRECTION_IN) ? mIkey : mOkey;
830 0, direction, wildcardAddr, wildcardAddr, mark, 0xffffffff);
1060 * Checks the user-provided direction field and throws an IllegalArgumentException if it is not
1063 private static void checkDirection(int direction) {
1064 switch (direction) {
1069 throw new IllegalArgumentException("Invalid Direction: " + direction);
1284 for (int direction : DIRECTIONS) {
1285 int mark = (direction == IpSecManager.DIRECTION_OUT) ? okey : ikey;
1291 direction,
1614 ParcelFileDescriptor socket, int direction, int resourceId) throws RemoteException {
1616 checkDirection(direction);
1636 direction,
1662 int tunnelResourceId, int direction,
1665 checkDirection(direction);
1692 (direction == IpSecManager.DIRECTION_IN)
1700 if (direction == IpSecManager.DIRECTION_OUT) {
1710 direction,
1719 // Update SA with tunnel mark (ikey or okey based on direction)