1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
""" ISDN User Part (SS7 protocol stack) """ from construct import * isup_header = Struct("isup_header", Bytes("routing_label", 5), UBInt16("cic"), UBInt8("message_type"), # mandatory fixed parameters # mandatory variable parameters # optional parameters )