int span_no; /* span number */
int command; /* Maintenance mode to set (from zt_maintenance_mode_t) */
};
+\r
+struct zt_lineconfig {\r
+/* Used in ZT_SPANCONFIG */\r
+ int span; /* Which span number (0 to use name) */\r
+ char name[20]; /* Name of span to use */\r
+ int lbo; /* line build-outs */\r
+ int lineconfig; /* line config parameters (framing, coding) */\r
+ int sync; /* what level of sync source we are */\r
+}\r
+\r
+struct zt_chanconfig {\r
+/* Used in ZT_CHANCONFIG */\r
+ int chan; /* Channel we're applying this to (0 to use name) */\r
+ char name[40]; /* Name of channel to use */\r
+ int sigtype; /* Signal type */\r
+ int deflaw; /* Default law (ZT_LAW_DEFAULT, ZT_LAW_MULAW, or ZT_LAW_ALAW */\r
+ int master; /* Master channel if sigtype is ZT_SLAVE */\r
+ int idlebits; /* Idle bits (if this is a CAS channel) or channel to monitor (if this is DACS channel) */\r
+ char netdev_name[16]; /* name for the hdlc network device */\r
+}
/* Enumerations */