diff options
author | Robbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu> | 2013-08-15 15:55:52 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-06-02 17:57:15 -0400 |
commit | 9c6be00daca0b80aed94ec9680724f95e6be92e1 (patch) | |
tree | a25155a404edb8b5be20701a46548bfb4bf7762e /src/lib/krb5/os/ktdefname.c | |
parent | f4b1a7e7b80ce68e57912edcd48c39ea62c73e43 (diff) | |
download | krb5-9c6be00daca0b80aed94ec9680724f95e6be92e1.tar.gz krb5-9c6be00daca0b80aed94ec9680724f95e6be92e1.tar.xz krb5-9c6be00daca0b80aed94ec9680724f95e6be92e1.zip |
Use k5_transport(_strategy) enums for k5_sendto
In k5_sendto and k5_locate_server, replace "socktype" parameters with
a new enumerator k5_transport, so that we can add new transports which
are not in the socket type namespace. Control the order in which we
make connections of different types using a new k5_transport_strategy
enumerator, to simplify the logic for adding new transports later.
Control the result of k5_locate_server with a no_udp boolean rather
than a socket type.
[ghudson@mit.edu: renamed type to k5_transport; k5_locate_server
no_udp change; clarified commit message; fix for Solaris getaddrinfo]
[kaduk@mit.edu: name variables of type k5_transport 'transport']
[nalin@redhat.com: use transport rather than sock_type in more places,
add and use k5_transport_strategy, update the test program]
ticket: 7929
Diffstat (limited to 'src/lib/krb5/os/ktdefname.c')
0 files changed, 0 insertions, 0 deletions