Searched refs:cmpri (Results 1 – 4 of 4) sorted by relevance
29 return (void *)&hdr->rpl_segdata[i * IPV6_PFXTAIL_LEN(hdr->cmpri)]; in ipv6_rpl_segdata_pos()43 outhdr->cmpri = 0; in ipv6_rpl_srh_decompress()49 inhdr->cmpri); in ipv6_rpl_srh_decompress()91 unsigned char cmpri, cmpre; in ipv6_rpl_srh_compress() local95 cmpri = ipv6_rpl_srh_calc_cmpri(inhdr, daddr, n); in ipv6_rpl_srh_compress()99 seglen = (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_compress()109 outhdr->cmpri = cmpri; in ipv6_rpl_srh_compress()114 &inhdr->rpl_segaddr[i], cmpri); in ipv6_rpl_srh_compress()
52 if (srh->cmpri || srh->cmpre) in rpl_validate_srh()
538 r = do_div(n, (16 - hdr->cmpri)); in ipv6_rpl_srh_rcv()
26 cmpri:4, member31 __u32 cmpri:4, member