Lines Matching refs:ip6_opt
58 struct ip6_opt *pad_opt = (struct ip6_opt *) (extbuf + offset); in add_padding()
61 pad_opt->ip6o_len = npad - sizeof (struct ip6_opt); in add_padding()
104 int data_offset = offset + sizeof (struct ip6_opt); in inet6_opt_append()
118 struct ip6_opt *opt = (struct ip6_opt *) ((uint8_t *) extbuf + offset); in inet6_opt_append()
128 return offset + sizeof (struct ip6_opt) + len; in inet6_opt_append()
196 struct ip6_opt *opt = (struct ip6_opt *) ((uint8_t *) extbuf + offset); in inet6_opt_next()
202 offset += sizeof (struct ip6_opt) + opt->ip6o_len; in inet6_opt_next()
206 offset += sizeof (struct ip6_opt) + opt->ip6o_len; in inet6_opt_next()
238 struct ip6_opt *opt = (struct ip6_opt *) ((uint8_t *) extbuf + offset); in inet6_opt_find()
252 offset += sizeof (struct ip6_opt) + opt->ip6o_len; in inet6_opt_find()
256 offset += sizeof (struct ip6_opt) + opt->ip6o_len; in inet6_opt_find()