summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2013-11-14 16:52:33 +0000
committerstsp <stsp@openbsd.org>2013-11-14 16:52:33 +0000
commit0cdaf2660f1348eebf38f48b96171486a319b17d (patch)
tree3bb4bfb217b48192c0697c6e91a662072493b03f /sys/dev/usb/if_url.c
parentcleanup up a nest of if/if/else (diff)
downloadwireguard-openbsd-0cdaf2660f1348eebf38f48b96171486a319b17d.tar.xz
wireguard-openbsd-0cdaf2660f1348eebf38f48b96171486a319b17d.zip
Improvements for address assignment and related issues in IPv6CP.
Move address assignment to process context. This uses a workq at present, conversion to taskq is on my todo list (discussed with dlg). Instead of rummaging around in sockaddr_in6 structs, use the proper netinet6 APIs to configure addresses. Deal with IFID collisions instead of ignoring them. The whole point of IPv6CP is to avoid IFID collisions. Use arc4random() during IFID generation. Assign destination address to /128 point-to-point links. tested by me and sthen with pppoe(4) ok sthen
Diffstat (limited to 'sys/dev/usb/if_url.c')
0 files changed, 0 insertions, 0 deletions