util.h 1.02 KB
Newer Older
Kristin Wright's avatar
Kristin Wright committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* 
 * Copyright (c) 2000 The University of Utah and the Flux Group.
 * All rights reserved.
 *
 * Permission to use, copy, modify and distribute this software is hereby
 * granted provided that (1) source code retains these copyright, permission,
 * and disclaimer notices, and (2) redistributions including binaries
 * reproduce the notices in supporting documentation.
 *
 * THE UNIVERSITY OF UTAH ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
 * CONDITION.  THE UNIVERSITY OF UTAH DISCLAIMS ANY LIABILITY OF ANY KIND
 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
 * 
 * ---------------------------
 *
 * Filename: util.h
 *   -- Author: Kristin Wright <kwright@cs.utah.edu> 
 *
 * ---------------------------
 *
Kristin Wright's avatar
Kristin Wright committed
21
 * $Id: util.h,v 1.2 2000-07-13 19:04:28 kwright Exp $
Kristin Wright's avatar
Kristin Wright committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
 */

void 
print_haddr(u_char *haddr, u_short hlen);

void 
println_haddr(u_char *haddr, u_short hlen);

u_char*
max_haddr(u_char *ha1, u_char *ha2);

void
print_tdinq(const char *mesg);

void
Kristin Wright's avatar
Kristin Wright committed
37
print_tdreply(const char *mesg, size_t nbytes);