Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c537 r = do_div(n, (16 - hdr->cmpri)); in ipv6_rpl_srh_rcv()
573 if (!pskb_may_pull(skb, ipv6_rpl_srh_size(n, hdr->cmpri, in ipv6_rpl_srh_rcv()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Drpl.h30 __u32 cmpre : 4, cmpri : 4, reserved : 4, pad : 4, reserved1 : 16; member
32 __u32 reserved : 20, pad : 4, cmpri : 4, cmpre : 4; member
/kernel/linux/linux-5.10/include/uapi/linux/
Drpl.h26 cmpri:4, member
31 __u32 cmpri:4, member
/kernel/linux/linux-5.10/include/net/
Drpl.h29 size_t ipv6_rpl_srh_size(unsigned char n, unsigned char cmpri,