Commit | Line | Data |
---|---|---|
805e021f CE |
1 | /* |
2 | * Copyright 2000, International Business Machines Corporation and others. | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * This software has been released under the terms of the IBM Public | |
6 | * License. For details, see the LICENSE file in the top-level source | |
7 | * directory or online at http://www.openafs.org/dl/license10.html | |
8 | */ | |
9 | ||
10 | #include <afsconfig.h> | |
11 | #include <afs/param.h> | |
12 | ||
13 | #include <roken.h> | |
14 | ||
15 | #include "rx.h" | |
16 | ||
17 | #include "rx_atomic.h" | |
18 | #include "rx_clock.h" | |
19 | #include "rx_peer.h" | |
20 | ||
21 | afs_uint32 rx_HostOf(struct rx_peer *peer) { | |
22 | return peer->host; | |
23 | } | |
24 | ||
25 | u_short rx_PortOf(struct rx_peer *peer) { | |
26 | return peer->port; | |
27 | } |