Hi, I believe the ofp_action_push objective is only to add a specific header to the packets
Cumprimentos, J. Aparício On 27/07/2014, at 10:23, "王栋耀" <wdyrobot...@gmail.com<mailto:wdyrobot...@gmail.com>> wrote: hi all, I am a new comer for OpenFlow, and now studying VLAN related operation based on OpenFlow spec 1.4.0. and I got a little confusion about the VLAN PUSH action. according to the spec, it will use the following struct struct ofp_action_push { uint16_t type; /* OFPAT_PUSH_VLAN/MPLS/PBB. */ uint16_t len; /* Length is 8. */ uint16_t ethertype; /* Ethertype */ uint8_t pad[2]; }; and here only the ethertype is indicated. so how to control the PCP and VID value when pushing a new VLAN tag? can anybody explain it for me? in addition, more words on QinQ-based matching are appreciated. thanks in advance. Best Regards wang _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu<mailto:openflow-discuss@lists.stanford.edu> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss