Lines Matching defs:hop_len
912 unsigned int start, end, buf_len, pad, hop_len;
917 hop_len = ipv6_optlen(hop);
922 hop_len = 0;
927 buf_len = hop_len + start - end + CALIPSO_OPT_LEN_MAX_WITH_PAD;
947 if (end != hop_len) {
948 memcpy((char *)new + buf_len, (char *)hop + end, hop_len - end);
949 buf_len += hop_len - end;
975 unsigned int start, end, delta, pad, hop_len;
981 hop_len = ipv6_optlen(hop);
982 if (start == sizeof(*hop) && end == hop_len) {
989 *new = kzalloc(hop_len - delta, GFP_ATOMIC);
997 if (end != hop_len)
999 hop_len - end);