summaryrefslogtreecommitdiffstats
path: root/isisd/isis_tlv.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2007-08-07 20:49:18 +0200
committerPaul Jakma <paul.jakma@sun.com>2007-08-07 20:49:18 +0200
commit238497fc85332bb8bb9cb3245d3f691500190559 (patch)
treefefd446df957e591658f3aaf40263538f5176944 /isisd/isis_tlv.h
parent[ospfd] Finish explanatory comment started in previous commit.. (diff)
downloadfrr-238497fc85332bb8bb9cb3245d3f691500190559.tar.xz
frr-238497fc85332bb8bb9cb3245d3f691500190559.zip
[isisd] Add support for Solaris DLPI
2007-08-07 James Carlson <james.d.carlson@sun.com> * configure.ac: Added support for separate link-layer access mechanisms in isisd. * isis_network.c: split up into isis_bpf.c, isis_dlpi.c, and isis_pfpacket.c, selected by autoconf, and added DLPI support. * (general) Fixed to allow compilation and use on Solaris.
Diffstat (limited to 'isisd/isis_tlv.h')
-rw-r--r--isisd/isis_tlv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/isisd/isis_tlv.h b/isisd/isis_tlv.h
index 951a254a9..fc9f35f8a 100644
--- a/isisd/isis_tlv.h
+++ b/isisd/isis_tlv.h
@@ -152,6 +152,10 @@ struct lan_neigh
u_char LAN_addr[6];
};
+#ifdef __SUNPRO_C
+#pragma pack(1)
+#endif
+
/* struct for LSP entry */
struct lsp_entry
{
@@ -161,6 +165,10 @@ struct lsp_entry
u_int16_t checksum;
} __attribute__ ((packed));
+#ifdef __SUNPRO_C
+#pragma pack()
+#endif
+
/* struct for checksum */
struct checksum
{