/* Special rules installed by ofproto-dpif. */
struct rule_dpif *miss_rule;
struct rule_dpif *no_packet_in_rule;
+ struct rule_dpif *drop_frags_rule;
enum ofp_config_flags frag; /* Fragmentation handling. */
bool has_in_band; /* Bridge has in band control? */
static void xlate_xbridge_set(struct xbridge *, struct dpif *,
struct rule_dpif *miss_rule,
struct rule_dpif *no_packet_in_rule,
+ struct rule_dpif *drop_frags_rule,
const struct mac_learning *, struct stp *,
struct rstp *, const struct mcast_snooping *,
const struct mbridge *,
struct dpif *dpif,
struct rule_dpif *miss_rule,
struct rule_dpif *no_packet_in_rule,
+ struct rule_dpif *drop_frags_rule,
const struct mac_learning *ml, struct stp *stp,
struct rstp *rstp, const struct mcast_snooping *ms,
const struct mbridge *mbridge,
xbridge->frag = frag;
xbridge->miss_rule = miss_rule;
xbridge->no_packet_in_rule = no_packet_in_rule;
+ xbridge->drop_frags_rule = drop_frags_rule;
xbridge->enable_recirc = enable_recirc;
xbridge->variable_length_userdata = variable_length_userdata;
xbridge->max_mpls_depth = max_mpls_depth;
xlate_xbridge_set(new_xbridge,
xbridge->dpif, xbridge->miss_rule,
- xbridge->no_packet_in_rule, xbridge->ml, xbridge->stp,
+ xbridge->no_packet_in_rule, xbridge->drop_frags_rule,
+ xbridge->ml, xbridge->stp,
xbridge->rstp, xbridge->ms, xbridge->mbridge,
xbridge->sflow, xbridge->ipfix, xbridge->netflow,
xbridge->frag, xbridge->forward_bpdu,
xlate_ofproto_set(struct ofproto_dpif *ofproto, const char *name,
struct dpif *dpif, struct rule_dpif *miss_rule,
struct rule_dpif *no_packet_in_rule,
+ struct rule_dpif *drop_frags_rule,
const struct mac_learning *ml, struct stp *stp,
struct rstp *rstp, const struct mcast_snooping *ms,
const struct mbridge *mbridge,
free(xbridge->name);
xbridge->name = xstrdup(name);
- xlate_xbridge_set(xbridge, dpif, miss_rule, no_packet_in_rule, ml, stp,
+ xlate_xbridge_set(xbridge, dpif, miss_rule, no_packet_in_rule,
+ drop_frags_rule, ml, stp,
rstp, ms, mbridge, sflow, ipfix, netflow, frag,
forward_bpdu, has_in_band, enable_recirc,
variable_length_userdata, max_mpls_depth,
xlate_txn_start();
xlate_ofproto_set(ofproto, ofproto->up.name,
ofproto->backer->dpif, ofproto->miss_rule,
- ofproto->no_packet_in_rule, ofproto->ml,
+ ofproto->no_packet_in_rule,
+ ofproto->drop_frags_rule, ofproto->ml,
ofproto->stp, ofproto->rstp, ofproto->ms,
ofproto->mbridge, ofproto->sflow, ofproto->ipfix,
ofproto->netflow, ofproto->up.frag_handling,