Home
last modified time | relevance | path

Searched refs:cmpri (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/ipv6/
H A Drpl.c29 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() local
95 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()
H A Drpl_iptunnel.c52 if (srh->cmpri || srh->cmpre) in rpl_validate_srh()
H A Dexthdrs.c538 r = do_div(n, (16 - hdr->cmpri)); in ipv6_rpl_srh_rcv()
/openbmc/linux/include/uapi/linux/
H A Drpl.h26 cmpri:4, member
31 __u32 cmpri:4, member