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

Added Support For U6ID Principal #21

Open
wants to merge 4 commits into
base: xia
Choose a base branch
from

Conversation

DaivikDave
Copy link

No description provided.

return st_xid->ip_addr && st_xid->udp_port && !st_xid->zero1;
}

/* XXX Add ability to determine when an IP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a TODO, you need to prefix the statement with TODO.

struct socket __rcu *tunnel_sock;

/* Anchor for ill-formed U6ID XIDs. */
struct xip_dst_anchor ill_anchor;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is ill_anchor being used in the code except when entries are added to it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used to store xid's that doesn't represent a well formed u6id xid i.e 16 bytes of ip address, 2 bytes port number and 2 bytes padded with zeroes. The anchor is freed in net_exit , before the module is unloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants