Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dcalipso.c912 unsigned int start, end, buf_len, pad, hop_len; in calipso_opt_insert() local
917 hop_len = ipv6_optlen(hop); in calipso_opt_insert()
922 hop_len = 0; in calipso_opt_insert()
927 buf_len = hop_len + start - end + CALIPSO_OPT_LEN_MAX_WITH_PAD; in calipso_opt_insert()
947 if (end != hop_len) { in calipso_opt_insert()
948 memcpy((char *)new + buf_len, (char *)hop + end, hop_len - end); in calipso_opt_insert()
949 buf_len += hop_len - end; in calipso_opt_insert()
975 unsigned int start, end, delta, pad, hop_len; in calipso_opt_del() local
981 hop_len = ipv6_optlen(hop); in calipso_opt_del()
982 if (start == sizeof(*hop) && end == hop_len) { in calipso_opt_del()
[all …]