lib/ofp-protocol.c
/* Returns an OpenFlow message that can be used to turn the flow_mod_table_id
 * extension on or off (according to 'enable'). */
Returns an OpenFlow message that can be used to turn the flow_mod_table_id
extension on or off (according to 'enable').
Returns an OpenFlow message that can be used to turn the flow_mod_table_id extension on or off ( according to ' enable ' ) .
struct ofpbuf *
ofputil_encode_nx_flow_mod_table_id(bool enable)
{
    struct ofpbuf *msg = ofpraw_alloc(OFPRAW_NXT_FLOW_MOD_TABLE_ID,
                                      OFP10_VERSION, 0);
    uint8_t *p = ofpbuf_put_zeros(msg, 8);
    *p = enable;
    return msg;
}
struct ofpbuf * ofputil_encode_nx_flow_mod_table_id ( bool enable ) { struct ofpbuf * msg = ofpraw_alloc ( OFPRAW_NXT_FLOW_MOD_TABLE_ID , OFP10_VERSION , 0 ) ; uint8_t * p = ofpbuf_put_zeros ( msg , 8 ) ; * p = enable ; return msg ; }
Returns an OpenFlow message that can be used to turn the flow_mod_table_id
 extension on or off (according to 'enable').
Returns an OpenFlow message that can be used to turn the flow_mod_table_id extension on or off ( according to ' enable ' ) .