示例#1
0
 def __init__(self, name="circuittype", default=2, size=8,
              names=["L1", "L2", "r0", "r1", "r2", "r3", "r4", "r5"]):
     FlagsField.__init__(self, name, default, size, names)
示例#2
0
 def __init__(self, name="prefixoptions", default=0, size=8, names=None):
     if names is None:
         names = ["NU", "LA", "MC", "P"]
     FlagsField.__init__(self, name, default, size, names)
示例#3
0
 def __init__(self, name="circuittype", default=2, size=8,
              names=None):
     if names is None:
         names = ["L1", "L2", "r0", "r1", "r2", "r3", "r4", "r5"]
     FlagsField.__init__(self, name, default, size, names)
示例#4
0
 def __init__(self, name="options", default=0, size=24, names=None):
     if names is None:
         names = ["V6", "E", "MC", "N", "R", "DC", "AF", "L", "I", "F"]
     FlagsField.__init__(self, name, default, size, names)
示例#5
0
 def __init__(self, name="options", default=0, size=8, names=None):
     if names is None:
         names = ["MT", "E", "MC", "NP", "L", "DC", "O", "DN"]
     FlagsField.__init__(self, name, default, size, names)
示例#6
0
文件: ospf.py 项目: commial/scapy
 def __init__(self, name="prefixoptions", default=0, size=8,
              names=None):
     if names is None:
         names = ["NU", "LA", "MC", "P"]
     FlagsField.__init__(self, name, default, size, names)
示例#7
0
文件: ospf.py 项目: commial/scapy
 def __init__(self, name="options", default=0, size=8,
              names=None):
     if names is None:
         names = ["MT", "E", "MC", "NP", "L", "DC", "O", "DN"]
     FlagsField.__init__(self, name, default, size, names)
示例#8
0
文件: ospf.py 项目: commial/scapy
 def __init__(self, name="options", default=0, size=24,
              names=None):
     if names is None:
         names = ["V6", "E", "MC", "N", "R", "DC", "AF", "L", "I", "F"]
     FlagsField.__init__(self, name, default, size, names)