From: Ben Pfaff Date: Mon, 10 Jun 2013 17:38:39 +0000 (-0700) Subject: ofp-actions: Add comments to struct ofpact_learn_spec. X-Git-Tag: sliver-openvswitch-1.10.90-3~6^2~146 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e956d63bd5195beb03e993c8b8ddb4e74d428f29;p=sliver-openvswitch.git ofp-actions: Add comments to struct ofpact_learn_spec. Signed-off-by: Ben Pfaff Acked-by: Ansis Atteka --- diff --git a/lib/ofp-actions.h b/lib/ofp-actions.h index 9a74bcc60..4e7fb5cd0 100644 --- a/lib/ofp-actions.h +++ b/lib/ofp-actions.h @@ -385,14 +385,14 @@ struct ofpact_resubmit { /* Part of struct ofpact_learn, below. */ struct ofpact_learn_spec { - int n_bits; + int n_bits; /* Number of bits in source and dest. */ - int src_type; - struct mf_subfield src; - union mf_subvalue src_imm; + int src_type; /* One of NX_LEARN_SRC_*. */ + struct mf_subfield src; /* NX_LEARN_SRC_FIELD only. */ + union mf_subvalue src_imm; /* NX_LEARN_SRC_IMMEDIATE only. */ - int dst_type; - struct mf_subfield dst; + int dst_type; /* One of NX_LEARN_DST_*. */ + struct mf_subfield dst; /* NX_LEARN_DST_MATCH, NX_LEARN_DST_LOAD only. */ }; /* OFPACT_LEARN.