31#if defined (HAVE_TR_SUPPORT) && \
32 (defined (PACKET_ASSEMBLY) || defined (PACKET_DECODING))
36#include "netinet/if_tr.h"
56 unsigned char iface[5];
80 if (interface -> hw_address.hlen - 1 ==
sizeof (
trh->saddr))
81 memcpy (
trh->saddr, &interface -> hw_address.hbuf [1],
86 if (to && to -> hlen == 7)
112static unsigned char tr_broadcast[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
151 &&
llc->protid[0] == 0
152 &&
llc->protid[1] == 0
153 &&
llc->protid[2] == 0) {
282 "%s: unable to save source routing information\n",
void assemble_tr_header(struct interface_info *, unsigned char *, unsigned *, struct hardware *)
ssize_t decode_tr_header(struct interface_info *, unsigned char *, unsigned, struct hardware *)
void * dmalloc(size_t, const char *, int)
void dfree(void *, const char *, int)