Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv6/
Drpl.c47 ipv6_rpl_addr_decompress(&outhdr->rpl_segaddr[i], daddr, in ipv6_rpl_srh_decompress()
51 ipv6_rpl_addr_decompress(&outhdr->rpl_segaddr[n], daddr, in ipv6_rpl_srh_decompress()
66 inhdr->rpl_segaddr[i].s6_addr[plen]) in ipv6_rpl_srh_calc_cmpri()
96 cmpre = ipv6_rpl_srh_calc_cmpre(daddr, &inhdr->rpl_segaddr[n]); in ipv6_rpl_srh_compress()
114 &inhdr->rpl_segaddr[i], cmpri); in ipv6_rpl_srh_compress()
117 &inhdr->rpl_segaddr[n], cmpre); in ipv6_rpl_srh_compress()
Drpl_iptunnel.c55 err = ipv6_chk_rpl_srh_loop(net, srh->rpl_segaddr, in rpl_validate_srh()
60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()
147 memcpy(isrh->rpl_segaddr, &srh->rpl_segaddr[1], in rpl_do_srh_inline()
149 isrh->rpl_segaddr[srh->segments_left - 1] = oldhdr->daddr; in rpl_do_srh_inline()
151 ipv6_rpl_srh_compress(csrh, isrh, &srh->rpl_segaddr[0], in rpl_do_srh_inline()
177 hdr->daddr = srh->rpl_segaddr[0]; in rpl_do_srh_inline()
Dexthdrs.c569 if (ipv6_addr_is_multicast(&ohdr->rpl_segaddr[i])) { in ipv6_rpl_srh_rcv()
575 err = ipv6_chk_rpl_srh_loop(net, ohdr->rpl_segaddr, n + 1); in ipv6_rpl_srh_rcv()
583 swap(ipv6_hdr(skb)->daddr, ohdr->rpl_segaddr[i]); in ipv6_rpl_srh_rcv()
/linux-6.6.21/include/uapi/linux/
Drpl.h45 #define rpl_segaddr segments.addr macro