X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow.h;h=1f1837071327d154e0578ead5d05f39f698cdce5;hb=7446f1480bb27ccb63feab066d901cc940d52462;hp=f780f0730298416c48317516b26fc7934518e053;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h index f780f073..1f183707 100644 --- a/include/openflow/openflow.h +++ b/include/openflow/openflow.h @@ -320,8 +320,8 @@ enum ofp_action_type { /* Action structure for OFPAT_OUTPUT, which sends packets out 'port'. * When the 'port' is the OFPP_CONTROLLER, 'max_len' indicates the max - * number of bytes to send. A 'max_len' of zero means the entire packet - * should be sent. */ + * number of bytes to send. A 'max_len' of zero means no bytes of the + * packet should be sent. */ struct ofp_action_output { uint16_t type; /* OFPAT_OUTPUT. */ uint16_t len; /* Length is 8. */ @@ -351,7 +351,7 @@ struct ofp_action_vlan_pcp { uint8_t vlan_pcp; /* VLAN priority. */ uint8_t pad[3]; }; -OFP_ASSERT(sizeof(struct ofp_action_vlan_vid) == 8); +OFP_ASSERT(sizeof(struct ofp_action_vlan_pcp) == 8); /* Action structure for OFPAT_SET_DL_SRC/DST. */ struct ofp_action_dl_addr {