Commit 5368b2e
committed
net: forward-port FreeBSD IPv6 stack with SLAAC + DHCPv6 autoconfig
Merge the upstream ipv6 branch (FreeBSD 9 netinet6 import + OSv glue) and add
boot-time IPv6 autoconfiguration:
- netinet6 stack (ip6, icmp6, nd6, in6_*, udp6, raw_ip6, mld6) behind conf-INET6
- OSv net-channel fast path, LRO, RCU classifier extended for IPv6/TCP
- Linux socket-option compat for 43 IPV6_* options; getifaddrs/netlink v6
- SLAAC: kernel Router Solicitation (nd6_rs_output) + accept-RA per-interface
flag fix so a unikernel (no rtsold) autoconfigures from Router Advertisements
- DHCPv6 client (RFC 8415 stateful: SOLICIT/ADVERTISE/REQUEST/REPLY, DUID-LLT,
IA_NA) triggered when the RA sets the Managed (M) flag, e.g. AWS VPC
- loader picks SLAAC vs DHCPv6 from RA flags; --ipv6 for IPv6-only boot
- all IPv6 code compile-gated (conf-INET6, conf_networking_dhcp6)
- tests: tst-tcp-v6-smoke, tst-ipv6-internet, tst-ifaddr-dump105 files changed
Lines changed: 43347 additions & 585 deletions
File tree
- bsd
- porting
- sys
- compat/linux
- contrib/ena_com
- dev
- ena
- xen/netfront
- kern
- netinet6
- netinet
- net
- sys
- conf
- kconfig
- core
- docker
- documentation
- drivers
- include
- api
- netinet6
- netinet
- osv
- libc/network
- modules/tests
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
401 | 406 | | |
402 | 407 | | |
403 | 408 | | |
| |||
688 | 693 | | |
689 | 694 | | |
690 | 695 | | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
691 | 731 | | |
692 | 732 | | |
693 | 733 | | |
| |||
1156 | 1196 | | |
1157 | 1197 | | |
1158 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
1159 | 1204 | | |
1160 | 1205 | | |
1161 | 1206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
58 | 70 | | |
59 | 71 | | |
60 | 72 | | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
64 | 81 | | |
65 | 82 | | |
66 | 83 | | |
67 | 84 | | |
68 | 85 | | |
69 | 86 | | |
70 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
71 | 92 | | |
72 | | - | |
73 | 93 | | |
| 94 | + | |
74 | 95 | | |
75 | 96 | | |
76 | 97 | | |
0 commit comments