[Differential] D23788: DRAFT: ng_ksocket IPv6 address parsing and unparsing
neel_neelc.org (Neel Chauhan)
phabric-noreply at FreeBSD.org
Sat Feb 22 04:23:20 UTC 2020
neel_neelc.org created this revision.
neel_neelc.org added a project: network.
Herald added subscribers: Contributor Reviews (base), melifaro, lutz_donnerhacke.de, imp.
REVISION SUMMARY
Add IPv6 support to address parsing and unparsing to ng_ksocket.
Submitted by: Neel Chauhan <neel AT neelc DOT org>
Keep in mind that this is a DRAFT. Things still need to be done, including:
- Fix the "ngctl: send msg: Invalid argument" error
- Shorthand IPv6
- Anything more commenters want
TEST PLAN
Do something like this:
ngctl
=====
+ mkpeer ksocket myhook2 inet6/stream/tcp6
+ msg .:myhook2 connect inet6/[0:0:0:0:0:0:0:1]:22
The address should be shorthand, but this is not supported yet.
REPOSITORY
rS FreeBSD src repository
REVISION DETAIL
https://reviews.freebsd.org/D23788
AFFECTED FILES
sys/netgraph/ng_ksocket.c
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: neel_neelc.org
Cc: imp, lutz_donnerhacke.de, melifaro, #contributor_reviews_base, freebsd-net-list, mmacy, kpraveen.lkml_gmail.com, marcnarc_gmail.com, simonvella_gmail.com, novice_techie.com, tommi.pernila_iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23788.68661.patch
Type: text/x-patch
Size: 3163 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20200222/9b612125/attachment.bin>
More information about the freebsd-net
mailing list