Path MTU discovery for links

This commit is contained in:
Mark Qvist 2025-01-11 11:43:47 +01:00
parent 503f475ca5
commit bf6e73e163
5 changed files with 90 additions and 22 deletions

View file

@ -65,11 +65,12 @@ class Interface:
IC_HELD_RELEASE_INTERVAL = 30
def __init__(self):
self.rxb = 0
self.txb = 0
self.rxb = 0
self.txb = 0
self.created = time.time()
self.online = False
self.online = False
self.bitrate = 1e6
self.HW_MTU = None
self.ingress_control = True
self.ic_max_held_announces = Interface.MAX_HELD_ANNOUNCES