Hi all,

I defined a new action with type=0x1000(4096) in loxigen through floodlight
controller. But the decode result in ovs is type=0x10(16).

On the other hand, the flowmod packet can be decoded correctly by wireshark.

The flowmod packet is defined like this:

struct of_action_flat : of_action{
    uint16_t type == 0x1000;
    uint16_t len;
    uint16_t timeflake;
    uint16_t max_len;
    of_port_no_t port;
    pad(4);
};

and in openflow-1.1.h, I added a definition of action like this:

struct ofp11_action_flat{
    ovs_be16 type;
    ovs_be16 len;
    ovs_be16 timeflake;
    ovs_be16 max_len;
    ovs_be16 port;
    uint8_t pad[4];
};

What could be the probable cause of this error?


Thanks,

Hs

Haosen Wen

Beijing Foreign Studies University
Addr: 2nd Xisanhuan North Ave., Haidian Dist., Beijing, China
E-Mail: wenhao...@gmail.com
Tel: 86-183-1003-2269
Site: http://www.hensen-wen.cn
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to