Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Drpl.c29 return (void *)&hdr->rpl_segdata[i * IPV6_PFXTAIL_LEN(hdr->cmpri)]; in ipv6_rpl_segdata_pos()
32 size_t ipv6_rpl_srh_size(unsigned char n, unsigned char cmpri, in ipv6_rpl_srh_size() argument
35 return (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_size()
49 outhdr->cmpri = 0; in ipv6_rpl_srh_decompress()
55 inhdr->cmpri); in ipv6_rpl_srh_decompress()
97 unsigned char cmpri, cmpre; in ipv6_rpl_srh_compress() local
101 cmpri = ipv6_rpl_srh_calc_cmpri(inhdr, daddr, n); in ipv6_rpl_srh_compress()
105 seglen = (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_compress()
115 outhdr->cmpri = cmpri; in ipv6_rpl_srh_compress()
120 &inhdr->rpl_segaddr[i], cmpri); in ipv6_rpl_srh_compress()
Drpl_iptunnel.c52 if (srh->cmpri || srh->cmpre) in rpl_validate_srh()
Dexthdrs.c554 r = do_div(n, (16 - hdr->cmpri)); in ipv6_rpl_srh_rcv()
590 if (!pskb_may_pull(skb, ipv6_rpl_srh_size(n, hdr->cmpri, in ipv6_rpl_srh_rcv()
/linux-6.1.9/include/uapi/linux/
Drpl.h26 cmpri:4, member
31 __u32 cmpri:4, member
/linux-6.1.9/include/net/
Drpl.h29 size_t ipv6_rpl_srh_size(unsigned char n, unsigned char cmpri,