Lines Matching refs:opt
67 static int dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in dccp_v6_err() argument
210 final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); in dccp_v6_send_response()
223 struct ipv6_txoptions *opt; in dccp_v6_send_response() local
230 opt = ireq->ipv6_opt; in dccp_v6_send_response()
231 if (!opt) in dccp_v6_send_response()
232 opt = rcu_dereference(np->opt); in dccp_v6_send_response()
233 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response()
411 struct ipv6_txoptions *opt; in dccp_v6_request_recv_sock() local
437 newnp->opt = NULL; in dccp_v6_request_recv_sock()
509 newnp->opt = NULL; in dccp_v6_request_recv_sock()
519 opt = ireq->ipv6_opt; in dccp_v6_request_recv_sock()
520 if (!opt) in dccp_v6_request_recv_sock()
521 opt = rcu_dereference(np->opt); in dccp_v6_request_recv_sock()
522 if (opt) { in dccp_v6_request_recv_sock()
523 opt = ipv6_dup_options(newsk, opt); in dccp_v6_request_recv_sock()
524 RCU_INIT_POINTER(newnp->opt, opt); in dccp_v6_request_recv_sock()
527 if (opt) in dccp_v6_request_recv_sock()
528 inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + in dccp_v6_request_recv_sock()
529 opt->opt_flen; in dccp_v6_request_recv_sock()
817 struct ipv6_txoptions *opt; in dccp_v6_connect() local
917 opt = rcu_dereference_protected(np->opt, lockdep_sock_is_held(sk)); in dccp_v6_connect()
918 final_p = fl6_update_dst(&fl6, opt, &final); in dccp_v6_connect()
938 if (opt) in dccp_v6_connect()
939 icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; in dccp_v6_connect()