OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
exabgp
/
bgp
/
message
/
open
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
__init__.py
3.36 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
asn.py
1.27 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
capability
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
holdtime.py
480 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
routerid.py
712 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
version.py
374 bytes
03/13/2021 04:30:48 PM
rw-r--r--
Editing: holdtime.py
Close
# encoding: utf-8 """ holdtime.py Created by Thomas Mangin on 2012-07-17. Copyright (c) 2009-2017 Exa Networks. All rights reserved. License: 3-clause BSD. (See the COPYRIGHT file) """ from struct import pack # =================================================================== HoldTime class HoldTime(int): MAX = 0xFFFF def pack(self): return pack('!H', self) def keepalive(self): return int(self / 3) def __len__(self): return 2