util.h 775 Bytes
Newer Older
Kristin Wright's avatar
Kristin Wright committed
1
/* 
Mike Hibler's avatar
Mike Hibler committed
2
 * EMULAB-COPYRIGHT
Kristin Wright's avatar
Kristin Wright committed
3 4 5 6 7 8 9 10 11 12
 * Copyright (c) 2000 The University of Utah and the Flux Group.
 * All rights reserved.
 *
 * ---------------------------
 *
 * Filename: util.h
 *   -- Author: Kristin Wright <kwright@cs.utah.edu> 
 *
 * ---------------------------
 *
Mike Hibler's avatar
Mike Hibler committed
13
 * $Id: util.h,v 1.7 2004-06-17 18:17:01 mike Exp $
Kristin Wright's avatar
Kristin Wright committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 */

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
29
print_tdreply(const char *mesg, size_t nbytes); 
30 31 32 33 34 35 36 37 38 39

void
print_tdnbrlist(struct topd_nborlist * list);

void
print_tdpairs(const char *mesg, size_t nbytes);

void
print_tdifinbrs(struct ifi_info *ifihead);

40 41 42
void
get_mac_addr(u_char *haddr, u_short hlen, char* addr);

43 44 45