Home
last modified time | relevance | path

Searched refs:seglen (Results 1 – 3 of 3) sorted by relevance

/net/ipv6/
Drpl.c99 size_t seglen; in ipv6_rpl_srh_compress() local
106 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()
Drpl_iptunnel.c40 size_t seglen) in rpl_validate_srh() argument
44 if ((srh->hdrlen << 3) != seglen) in rpl_validate_srh()
49 (srh->segments_left * sizeof(struct in6_addr)) != seglen) in rpl_validate_srh()
/net/sched/
Dsch_cake.c1163 int seglen, num_found = 0; in cake_ack_filter() local
1212 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()