Lines Matching refs:opt
74 static int dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in dccp_v6_err() argument
218 final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); in dccp_v6_send_response()
231 struct ipv6_txoptions *opt; in dccp_v6_send_response() local
238 opt = ireq->ipv6_opt; in dccp_v6_send_response()
239 if (!opt) in dccp_v6_send_response()
240 opt = rcu_dereference(np->opt); in dccp_v6_send_response()
241 err = ip6_xmit(sk, skb, &fl6, READ_ONCE(sk->sk_mark), opt, in dccp_v6_send_response()
425 struct ipv6_txoptions *opt; in dccp_v6_request_recv_sock() local
451 newnp->opt = NULL; in dccp_v6_request_recv_sock()
523 newnp->opt = NULL; in dccp_v6_request_recv_sock()
533 opt = ireq->ipv6_opt; in dccp_v6_request_recv_sock()
534 if (!opt) in dccp_v6_request_recv_sock()
535 opt = rcu_dereference(np->opt); in dccp_v6_request_recv_sock()
536 if (opt) { in dccp_v6_request_recv_sock()
537 opt = ipv6_dup_options(newsk, opt); in dccp_v6_request_recv_sock()
538 RCU_INIT_POINTER(newnp->opt, opt); in dccp_v6_request_recv_sock()
541 if (opt) in dccp_v6_request_recv_sock()
542 inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + in dccp_v6_request_recv_sock()
543 opt->opt_flen; in dccp_v6_request_recv_sock()
829 struct ipv6_txoptions *opt; in dccp_v6_connect() local
929 opt = rcu_dereference_protected(np->opt, lockdep_sock_is_held(sk)); in dccp_v6_connect()
930 final_p = fl6_update_dst(&fl6, opt, &final); in dccp_v6_connect()
953 if (opt) in dccp_v6_connect()
954 icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; in dccp_v6_connect()