Deleted Added
full compact
addrtoname.h (313537) addrtoname.h (327234)
1/*
2 * Copyright (c) 1990, 1992, 1993, 1994, 1995, 1996, 1997
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

--- 19 unchanged lines hidden (view full) ---

28#endif
29
30/* Name to address translation routines. */
31
32enum {
33 LINKADDR_ETHER,
34 LINKADDR_FRELAY,
35 LINKADDR_IEEE1394,
1/*
2 * Copyright (c) 1990, 1992, 1993, 1994, 1995, 1996, 1997
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

--- 19 unchanged lines hidden (view full) ---

28#endif
29
30/* Name to address translation routines. */
31
32enum {
33 LINKADDR_ETHER,
34 LINKADDR_FRELAY,
35 LINKADDR_IEEE1394,
36 LINKADDR_ATM
36 LINKADDR_ATM,
37 LINKADDR_OTHER
37};
38
39#define BUFSIZE 128
40
41extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const unsigned int);
42extern const char *etheraddr_string(netdissect_options *, const u_char *);
43extern const char *le64addr_string(netdissect_options *, const u_char *);
44extern const char *etherproto_string(netdissect_options *, u_short);

--- 17 unchanged lines hidden ---
38};
39
40#define BUFSIZE 128
41
42extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const unsigned int);
43extern const char *etheraddr_string(netdissect_options *, const u_char *);
44extern const char *le64addr_string(netdissect_options *, const u_char *);
45extern const char *etherproto_string(netdissect_options *, u_short);

--- 17 unchanged lines hidden ---