Home | History | Annotate | Download | only in layers

Lines Matching refs:tos

36         # (tos, function) tuple mapping (answer -> query), used by
43 ByteEnumField("tos", 0, {
83 }, depends_on=lambda pkt: pkt.tos, fmt="B"),
107 'LLTD %src% > %dst% %LLTD.tos% - %LLTD.function%'
110 return self.sprintf('LLTD %tos% - %function%')
113 tos, function = self.tos, self.function
114 return "%c%c" % self.answer_hashret.get((tos, function),
115 (tos, function))
120 if self.tos == 0:
125 return other.tos == 1 and \
134 return other.tos == 0 and other.function == 11 \
136 elif self.tos == 1:
140 return other.tos == 0 and other.function == 0 and \
770 bind_layers(LLTD, LLTDDiscover, tos=0, function=0)
771 bind_layers(LLTD, LLTDDiscover, tos=1, function=0)
772 bind_layers(LLTD, LLTDHello, tos=0, function=1)
773 bind_layers(LLTD, LLTDHello, tos=1, function=1)
774 bind_layers(LLTD, LLTDEmit, tos=0, function=2)
775 bind_layers(LLTD, LLTDQueryResp, tos=0, function=7)
776 bind_layers(LLTD, LLTDQueryLargeTlv, tos=0, function=11)
777 bind_layers(LLTD, LLTDQueryLargeTlvResp, tos=0, function=12)