Lines Matching refs:opt_len
811 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len() local
813 if (offset < sizeof(*opt) || offset >= opt_len) in calipso_tlv_len()
817 if (offset + 1 >= opt_len) in calipso_tlv_len()
820 if (offset + tlv_len > opt_len) in calipso_tlv_len()
850 unsigned int opt_len, offset, offset_s = 0, offset_e = 0; in calipso_opt_find() local
853 opt_len = ipv6_optlen(hop); in calipso_opt_find()
856 while (offset < opt_len) { in calipso_opt_find()
888 *end = opt_len; in calipso_opt_find()
1076 int opt_len, len, ret_val = -ENOMSG, offset; in calipso_sock_getattr() local
1085 opt_len = ipv6_optlen(hop); in calipso_sock_getattr()
1087 while (offset < opt_len) { in calipso_sock_getattr()