summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/localauth_rule.c
diff options
context:
space:
mode:
authorRobbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu>2013-08-15 15:55:52 -0400
committerGreg Hudson <ghudson@mit.edu>2014-06-02 17:57:15 -0400
commit9c6be00daca0b80aed94ec9680724f95e6be92e1 (patch)
treea25155a404edb8b5be20701a46548bfb4bf7762e /src/lib/krb5/os/localauth_rule.c
parentf4b1a7e7b80ce68e57912edcd48c39ea62c73e43 (diff)
downloadkrb5-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/localauth_rule.c')
0 files changed, 0 insertions, 0 deletions