From 3a7b8ad9981bd06d9c2070ff8d35ac9d785a1d0f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 9 Mar 2009 13:58:01 -0700 Subject: [PATCH] secchan: Add comments. --- secchan/ofproto.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/secchan/ofproto.c b/secchan/ofproto.c index 6f466666..fa6b11a5 100644 --- a/secchan/ofproto.c +++ b/secchan/ofproto.c @@ -96,14 +96,14 @@ static void xlate_actions(const union ofp_action *in, size_t n_in, struct rule { struct cls_rule cr; - uint16_t idle_timeout; - uint16_t hard_timeout; - long long int used; - long long int created; + uint16_t idle_timeout; /* In seconds from time of last use. */ + uint16_t hard_timeout; /* In seconds from time of creation. */ + long long int used; /* Last-used time (0 if never used). */ + long long int created; /* Creation time. */ uint64_t packet_count; /* Packets from *expired* subrules. */ uint64_t byte_count; /* Bytes from *expired* subrules. */ - uint8_t tcp_flags; - uint8_t ip_tos; + uint8_t tcp_flags; /* Bitwise-OR of all TCP flags seen. */ + uint8_t ip_tos; /* Last-seen IP type-of-service. */ struct rule *super; struct list list; -- 2.30.2