Searched refs:seglen (Results 1 – 3 of 3) sorted by relevance
99 size_t seglen; in ipv6_rpl_srh_compress() local106 seglen = (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_compress()107 outhdr->hdrlen = seglen >> 3; in ipv6_rpl_srh_compress()108 if (seglen & 0x7) { in ipv6_rpl_srh_compress()110 outhdr->pad = 8 - (seglen & 0x7); in ipv6_rpl_srh_compress()
40 size_t seglen) in rpl_validate_srh() argument44 if ((srh->hdrlen << 3) != seglen) in rpl_validate_srh()49 (srh->segments_left * sizeof(struct in6_addr)) != seglen) in rpl_validate_srh()
1163 int seglen, num_found = 0; in cake_ack_filter() local1212 seglen = ntohs(iph_check->tot_len) - in cake_ack_filter()1222 seglen = ntohs(ipv6h_check->payload_len); in cake_ack_filter()1246 (seglen - __tcp_hdrlen(tcph_check)) != 0 || in cake_ack_filter()