blob: 3b1e3c2ad28aa40fd2ecc8adfa1ec75d106a2cca [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
200 01 # type
300 3C # length
480 00 # oxm_list[0].class
520 02 # oxm_list[0].type_len
600 35 # oxm_list[0].value
780 00 # oxm_list[1].class
805 10 # oxm_list[1].type_len
9FE DC BA 98 76 54 32 10 # oxm_list[1].value
10FF FF FF FF 12 34 56 78 # oxm_list[1].mask
1180 00 # oxm_list[2].class
1208 06 # oxm_list[2].type_len
1301 02 03 04 05 06 # oxm_list[2].value
1480 00 # oxm_list[3].class
1536 10 # oxm_list[3].type_len
1612 12 12 12 12 12 12 12 # oxm_list[3].value
1712 12 12 12 12 12 12 12 # ...
1800 00 00 00 # pad
19-- python
20ofp.match([
21 ofp.oxm.udp_dst(53),
22 ofp.oxm.metadata_masked(0xFEDCBA9876543210, 0xFFFFFFFF12345678),
23 ofp.oxm.eth_src([1,2,3,4,5,6]),
24 ofp.oxm.ipv6_dst("\x12" * 16),
25])