Lines Matching refs:sel
215 struct xfrm_selector sel; in mip6_destopt_reject() local
238 memset(&sel, 0, sizeof(sel)); in mip6_destopt_reject()
239 memcpy(&sel.daddr, (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in mip6_destopt_reject()
240 sizeof(sel.daddr)); in mip6_destopt_reject()
241 sel.prefixlen_d = 128; in mip6_destopt_reject()
242 memcpy(&sel.saddr, (xfrm_address_t *)&ipv6_hdr(skb)->saddr, in mip6_destopt_reject()
243 sizeof(sel.saddr)); in mip6_destopt_reject()
244 sel.prefixlen_s = 128; in mip6_destopt_reject()
245 sel.family = AF_INET6; in mip6_destopt_reject()
246 sel.proto = fl6->flowi6_proto; in mip6_destopt_reject()
247 sel.dport = xfrm_flowi_dport(fl, &fl6->uli); in mip6_destopt_reject()
248 if (sel.dport) in mip6_destopt_reject()
249 sel.dport_mask = htons(~0); in mip6_destopt_reject()
250 sel.sport = xfrm_flowi_sport(fl, &fl6->uli); in mip6_destopt_reject()
251 if (sel.sport) in mip6_destopt_reject()
252 sel.sport_mask = htons(~0); in mip6_destopt_reject()
253 sel.ifindex = fl6->flowi6_oif; in mip6_destopt_reject()
255 err = km_report(net, IPPROTO_DSTOPTS, &sel, in mip6_destopt_reject()