| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
I don't much like PF_. None of the modern specs or docs talk about PF
any more.
Entirely formulaic patch:
perl -i~ -pe 's/\bPF_INET\b/AF_INET/g' regress/*
perl -i~ -pe 's/\bPF_INET6\b/AF_INET6/g' regress/*
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
I updated the test files with this rune:
grep -lZ "^ socket type=" *.sys | xargs -0r sed -i \
's/^ socket type=/ socket domain=PF_INET type=/'
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
|
|
This involves moving most of the label parser in ckl_ptr, and the
reverse-domain constructor, into addrfam and teaching them about IPv6.
The label parser is a little tricky because it involves keeping track of
a parse state for each possible address family until we run out of
possibilities or the parse is complete.
Moving the reverse-domain constructor introduces a slightly unpleasant
hack: because knowledge of the right reverse-lookup zone belongs in
addrfam, we get adns_submit_reverse to pass a sentinel through
_reverse_any to addrfam.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
|