Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide IPv6 functions equivalent to those for IPv4. #147

Open
jrha opened this issue Mar 21, 2017 · 5 comments
Open

Provide IPv6 functions equivalent to those for IPv4. #147

jrha opened this issue Mar 21, 2017 · 5 comments
Milestone

Comments

@jrha
Copy link
Member

jrha commented Mar 21, 2017

e.g. ip6_to_long...

Came from discussion of quattor/aquilon#42.

@jrha
Copy link
Member Author

jrha commented Aug 10, 2017

A complication is that the largest integer type in Pan is a long which has the same characteristics as a Java long, i.e. a signed 64-bit integer (-9223372036854775808 to 9223372036854775807) which is far too small for IPv6's 128-bits or even a pair of 64-bit values (network, host) unless we also expose Java's methods for treating longs as unsigned.

@jrha
Copy link
Member Author

jrha commented Aug 10, 2017

Another possibility would be to expose BigInteger as a new data type.

@urbonegi
Copy link

urbonegi commented Oct 4, 2017

Lot of IPv6 support was enabled and sync to upstream during last couple of months. This is one of the main tag for this piece of work:
https://github.com/quattor/aquilon/releases/tag/1.12.40-rc1
@jrha can this be closed?

@jrha
Copy link
Member Author

jrha commented Oct 4, 2017

@urbonegi - No, this issue is for support in the Pan compiler, not aquilon.

@jrha
Copy link
Member Author

jrha commented Sep 17, 2024

Part of #14.

@jrha jrha added this to the 11.0 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants