summaryrefslogtreecommitdiffstats
path: root/library/BSSGP_Helper_Functions.ttcn
blob: 308564862fd51f7c5c6a6fee3d107e9fa3a4fc0d (plain)
1
2
3
4
5
6
7
8
9
10
11
module BSSGP_Helper_Functions {
	external function f_BSSGP_expand_len(in octetstring inp) return octetstring;
	external function f_BSSGP_compact_len(in octetstring inp) return octetstring;
	external function f_NS_expand_len(in octetstring inp) return octetstring;
	external function f_NS_compact_len(in octetstring inp) return octetstring;
	external function f_LLC_compute_fcs(in octetstring inp) return octetstring;

	function f_LLC_append_fcs(in octetstring inp) return octetstring {
		return inp & f_LLC_compute_fcs(inp);
	}
};