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()
406 struct ipv6_txoptions *opt; in dccp_v6_request_recv_sock() local
432 newnp->opt = NULL; in dccp_v6_request_recv_sock()
504 newnp->opt = NULL; in dccp_v6_request_recv_sock()
514 opt = ireq->ipv6_opt; in dccp_v6_request_recv_sock()
515 if (!opt) in dccp_v6_request_recv_sock()
516 opt = rcu_dereference(np->opt); in dccp_v6_request_recv_sock()
517 if (opt) { in dccp_v6_request_recv_sock()
518 opt = ipv6_dup_options(newsk, opt); in dccp_v6_request_recv_sock()
519 RCU_INIT_POINTER(newnp->opt, opt); in dccp_v6_request_recv_sock()
522 if (opt) in dccp_v6_request_recv_sock()
523 inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + in dccp_v6_request_recv_sock()
524 opt->opt_flen; in dccp_v6_request_recv_sock()
812 struct ipv6_txoptions *opt; in dccp_v6_connect() local
912 opt = rcu_dereference_protected(np->opt, lockdep_sock_is_held(sk)); in dccp_v6_connect()
913 final_p = fl6_update_dst(&fl6, opt, &final); in dccp_v6_connect()
933 if (opt) in dccp_v6_connect()
934 icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; in dccp_v6_connect()