diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/frct.c | 1 | ||||
-rw-r--r-- | src/lib/rxmwheel.c | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/frct.c b/src/lib/frct.c index 6041279a..ce6cc258 100644 --- a/src/lib/frct.c +++ b/src/lib/frct.c @@ -66,7 +66,6 @@ enum frct_flags { FRCT_FC = 0x08, /* FC window valid */ FRCT_RDVZ = 0x10, /* Rendez-vous */ FRCT_MFGM = 0x20, /* More fragments */ - FRCT_CRC = 0x40, /* CRC present */ }; struct frct_pci { diff --git a/src/lib/rxmwheel.c b/src/lib/rxmwheel.c index 69151801..c75aaab3 100644 --- a/src/lib/rxmwheel.c +++ b/src/lib/rxmwheel.c @@ -88,7 +88,7 @@ static void rxmwheel_clear(int fd) { size_t i; - /* FIXME: Add list element to avoid looping over full rxmwheel */ + /* FIXME: Add list element to avoid looping over full rxmwheel. */ pthread_mutex_lock(&rw.lock); for (i = 0; i < RXMQ_SLOTS; ++i) { @@ -174,11 +174,11 @@ static int rxmwheel_move(void) head = shm_du_buff_head(sdb); memcpy(head, r->head, r->tail - r->head); - /* Release the old copy */ + /* Release the old copy. */ shm_du_buff_ack(r->sdb); ipcp_sdb_release(r->sdb); - /* Update ackno and make sure DRF is not set*/ + /* Update ackno and make sure DRF is not set. */ ((struct frct_pci *) head)->ackno = ntoh32(rcv_cr->lwe); ((struct frct_pci *) head)->flags &= ~FRCT_DRF; |