Lines Matching refs:opt
162 if (inet_opt && inet_opt->opt.srr) { in tcp_v4_connect()
165 nexthop = inet_opt->opt.faddr; in tcp_v4_connect()
187 if (!inet_opt || !inet_opt->opt.srr) in tcp_v4_connect()
211 inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_connect()
585 __be32 opt[(TCPOLEN_MD5SIG_ALIGNED >> 2)]; in tcp_v4_send_reset() member
661 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset()
669 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1], in tcp_v4_send_reset()
688 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_reset()
717 __be32 opt[(TCPOLEN_TSTAMP_ALIGNED >> 2) in tcp_v4_send_ack() member
731 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
734 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
735 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
752 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack()
759 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset], in tcp_v4_send_ack()
773 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_ack()
847 ireq->opt); in tcp_v4_send_synack()
859 kfree(inet_rsk(req)->opt); in tcp_v4_reqsk_destructor()
1183 ireq->opt = tcp_v4_save_options(skb); in tcp_v4_init_req()
1277 inet_opt = ireq->opt; in tcp_v4_syn_recv_sock()
1279 ireq->opt = NULL; in tcp_v4_syn_recv_sock()
1286 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()