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

sys/linux: add descriptions for IP tunnels #1907

Merged
merged 2 commits into from
Jul 10, 2020

Conversation

chmnchiang
Copy link
Collaborator

Add descriptions related to IPv4/v6 tunnels (include/uapi/linux/if_tunnel.h, git, bootlin).
It seems like the APIs are not documented in the code, so I looked up their usage in iproute2, see ip/iptunnel.c, ip/ip6tunnel.c, and ip/tunnel.c.
Descriptions of netlink actions are not included in this commit.
Update #533.

@chmnchiang
Copy link
Collaborator Author

CC @jedav @morehouse

@codecov
Copy link

codecov bot commented Jul 7, 2020

Codecov Report

Merging #1907 into master will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted Files Coverage Δ
prog/any.go 83.7% <0.0%> (ø)
prog/mutation.go 89.5% <0.0%> (+0.2%) ⬆️
prog/checksum.go 89.1% <0.0%> (+2.2%) ⬆️

sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
@chmnchiang
Copy link
Collaborator Author

Fixed some problems based on the reviews.
Rebase master to 9f9845e.

sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Outdated Show resolved Hide resolved
sys/linux/socket_ip_tunnel.txt Show resolved Hide resolved
Cheng-Min Chiang added 2 commits July 9, 2020 11:37
Add Cheng-Min Chiang (me) to the contributors list.
Add descriptions related to IPv4/v6 tunnels
(include/uapi/linux/if_tunnel.h).
Descriptions of netlink actions are not included in this commit.
Update google#533.
@chmnchiang
Copy link
Collaborator Author

Rebase master to fd3bba5.
Fix the problems mentioned above.

Copy link
Collaborator

@jedav jedav left a comment

Choose a reason for hiding this comment

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

lgtm

@morehouse morehouse merged commit 18d18b5 into google:master Jul 10, 2020
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.

None yet

5 participants