Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv6/
Dcalipso.c930 unsigned int start, end, buf_len, pad, hop_len; in calipso_opt_insert() local
935 hop_len = ipv6_optlen(hop); in calipso_opt_insert()
940 hop_len = 0; in calipso_opt_insert()
945 buf_len = hop_len + start - end + CALIPSO_OPT_LEN_MAX_WITH_PAD; in calipso_opt_insert()
965 if (end != hop_len) { in calipso_opt_insert()
966 memcpy((char *)new + buf_len, (char *)hop + end, hop_len - end); in calipso_opt_insert()
967 buf_len += hop_len - end; in calipso_opt_insert()
993 unsigned int start, end, delta, pad, hop_len; in calipso_opt_del() local
999 hop_len = ipv6_optlen(hop); in calipso_opt_del()
1000 if (start == sizeof(*hop) && end == hop_len) { in calipso_opt_del()
[all …]