(self, big, exp)
| 265 | return big |
| 266 | |
| 267 | def appendIPv6(self, big, exp): |
| 268 | ipv6 = bytes(16) |
| 269 | if exp != None: |
| 270 | _, ipv6 = ExpressionConverter.ToIPv6Address(exp) |
| 271 | if not ipv6: |
| 272 | print("Inavalid IPv6 Address") |
| 273 | return False |
| 274 | |
| 275 | for i in range(16): |
| 276 | big = big << 8 |
| 277 | big = big | ipv6[i] |
| 278 | |
| 279 | return big |
| 280 | |
| 281 | def appendMAC(self, big, exp): |
| 282 | mac = bytes(6) |