Lines Matching refs:nh
47 def __init__(self, tf, nh, hlim, cid, sac, sam, m, dac, dam): argument
49 self._nh = nh
63 def nh(self): member in LowpanIPHC
103 nh = (data_byte >> 2) & 0x01
115 return cls(tf, nh, hlim, cid, sac, sam, m, dac, dam)
120 self.nh,
148 def __init__(self, eid, nh): argument
150 self._nh = nh
157 def nh(self): member in LowpanNHC
165 nh = header_byte & 0x01
167 return cls(eid, nh)
170 return "LowpanNHC(eid={}, nh={})".format(self.eid, self.nh)
242 if hc.nh == self.NHC_NH_INLINE:
245 elif hc.nh == self.NHC_NH_COMPRESSED:
502 if hc.nh == self.IPHC_NH_INLINE:
505 elif hc.nh == self.IPHC_NH_COMPRESSED: