blob: 416414e4daea960126189057fb5c8985c60accaa [file] [log] [blame]
Harald Welte4b233b42012-11-07 08:32:31 +01001#define do_dad( inst_dad )\
2U08( inst_dad->, dest_flag, test_dest_flag ); \
3if( inst_dad-> dest_flag == DFID_SME_Address ){ \
4 U08( inst_dad-> value. sme. , dest_addr_ton, str_addr_ton ); \
5 U08( inst_dad-> value. sme. , dest_addr_npi, str_addr_npi ); \
6 C_OCTET( inst_dad-> value. sme. , destination_addr, 21 ); \
7} else if( inst_dad-> dest_flag == DFID_Distribution_List_Name ){\
8 C_OCTET( inst_dad-> value. , dl_name, 21 ); \
9} else {\
10};
11