]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_dlpi.c
isisd: add support for Anycast-SIDs
[mirror_frr.git] / isisd / isis_dlpi.c
index 7d3dfcb01e2f07c9beeaea2993217d2cbf6d8309..06fb41430c27db85b659635f1e7ed3518a4ac696 100644 (file)
@@ -54,12 +54,15 @@ static t_uscalar_t dlpi_ctl[1024]; /* DLPI control messages */
  * ISO 10589 - 8.4.8
  */
 
-uint8_t ALL_L1_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x14};
-uint8_t ALL_L2_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x15};
-uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05};
-uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04};
+static const uint8_t ALL_L1_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x14};
+static const uint8_t ALL_L2_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x15};
+static const uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05};
+#if 0
+/* missing support for ES-IS on Solaris */
+static const uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04};
+#endif
 
-static uint8_t sock_buff[8192];
+static uint8_t sock_buff[16384];
 
 static unsigned short pf_filter[] = {
        ENF_PUSHWORD + 0,       /* Get the SSAP/DSAP values */
@@ -563,8 +566,7 @@ int isis_send_pdu_bcast(struct isis_circuit *circuit, int level)
        buflen = stream_get_endp(circuit->snd_stream) + LLC_LEN;
        if ((size_t)buflen > sizeof(sock_buff)) {
                zlog_warn(
-                       "isis_send_pdu_bcast: sock_buff size %zu is less than "
-                       "output pdu size %d on circuit %s",
+                       "isis_send_pdu_bcast: sock_buff size %zu is less than output pdu size %d on circuit %s",
                        sizeof(sock_buff), buflen, circuit->interface->name);
                return ISIS_WARNING;
        }