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()
588 __be32 opt[(TCPOLEN_MD5SIG_ALIGNED >> 2)]; in tcp_v4_send_reset() member
664 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset()
672 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1], in tcp_v4_send_reset()
691 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_reset()
720 __be32 opt[(TCPOLEN_TSTAMP_ALIGNED >> 2) in tcp_v4_send_ack() member
734 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
737 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
738 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
755 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack()
762 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset], in tcp_v4_send_ack()
776 skb, &TCP_SKB_CB(skb)->header.h4.opt, in tcp_v4_send_ack()
849 ireq->opt); in tcp_v4_send_synack()
861 kfree(inet_rsk(req)->opt); in tcp_v4_reqsk_destructor()
1190 ireq->opt = tcp_v4_save_options(skb); in tcp_v4_init_req()
1286 inet_opt = ireq->opt; in tcp_v4_syn_recv_sock()
1288 ireq->opt = NULL; in tcp_v4_syn_recv_sock()
1294 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()