Lines Matching defs:rcf
55 __be16 rcf;
201 riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
268 trh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)
288 if(!entry->local_ring && (ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8)
290 trh->rcf=entry->rcf;
292 trh->rcf^=htons(TR_RCF_DIR_BIT);
293 trh->rcf&=htons(0x1fff); /* Issam Chehab <ichehab@madge1.demon.co.uk> */
297 printk("entry found with rcf %04x\n", entry->rcf);
301 printk("entry found but without rcf length, local=%02x\n", entry->local_ring);
313 trh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)
326 slack = 18 - ((ntohs(trh->rcf) & TR_RCF_LEN_MASK)>>8);
356 if (((ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8) > 2)
368 printk("adding rif_entry: addr:%pM rcf:%04X\n",
369 trh->saddr, ntohs(trh->rcf));
388 entry->rcf = trh->rcf & htons((unsigned short)~TR_RCF_BROADCAST_MASK);
403 if (entry->rcf != (trh->rcf & htons((unsigned short)~TR_RCF_BROADCAST_MASK)) &&
404 !(trh->rcf & htons(TR_RCF_BROADCAST_MASK)))
407 printk("updating rif_entry: addr:%pM rcf:%04X\n",
408 trh->saddr, ntohs(trh->rcf));
410 entry->rcf = trh->rcf & htons((unsigned short)~TR_RCF_BROADCAST_MASK);
524 "if TR address TTL rcf routing segments\n");
539 seq_printf(seq, "%04X", ntohs(entry->rcf));
540 rcf_len = ((ntohs(entry->rcf) & TR_RCF_LEN_MASK)>>8)-2;