summaryrefslogtreecommitdiffstats
path: root/src/kdc/sock2p.c
Commit message (Collapse)AuthorAgeFilesLines
* * network.c (process_packet): Call inet_ntop directly.Ken Raeburn2002-09-101-111/+0
| | | | | | | * sock2p.c: Deleted. * Makefile.in (SRCS, OBJS): Drop it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14834 dc483132-0cff-0310-8789-dd5450dbe970
* disable inet_ntop definitionKen Raeburn2002-07-021-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14595 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.h: Add prototype for process_v4_mode() for main.c to useEzra Peisach2001-03-081-0/+1
| | | | | | | | | | * kerberos_v4.c: Do not shadow progname and more variables. * rtest.c (make_princ): Declare static. * sock2p.c: Include kdc_util.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13064 dc483132-0cff-0310-8789-dd5450dbe970
* * sock2p.c: New file.Ken Raeburn2000-03-141-0/+106
(inet_ntop): Define if system doesn't provide it. (sockaddr2p): New function. * Makefile.in (SRCS, OBJS): Add sock2p. * kdc_util.h (inet_ntop, sockaddr2p): Declare them. * network.c (add_fd): New function. Reallocate udp_port_fds array as needed here. (setup_port): Use add_fd to record new sockets. Use inet_ntop unconditionally. Disable ipv6 support until process_packet and friends will support it. (process_packet): Ignore ECONNREFUSED when reading UDP packets. Fill in port field of faddr properly, dependent on address family. Use sockaddr2p when logging source address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12109 dc483132-0cff-0310-8789-dd5450dbe970