# meta mark set ip dscp [ { "mangle": { "key": { "meta": { "key": "mark" } }, "value": { "payload": { "field": "dscp", "protocol": "ip" } } } } ] # meta mark set ip dscp | 0x40 [ { "mangle": { "key": { "meta": { "key": "mark" } }, "value": { "|": [ { "payload": { "field": "dscp", "protocol": "ip" } }, 64 ] } } } ] # meta mark set ip6 dscp [ { "mangle": { "key": { "meta": { "key": "mark" } }, "value": { "payload": { "field": "dscp", "protocol": "ip6" } } } } ] # meta mark set ip6 dscp | 0x40 [ { "mangle": { "key": { "meta": { "key": "mark" } }, "value": { "|": [ { "payload": { "field": "dscp", "protocol": "ip6" } }, 64 ] } } } ]