Home
last modified time | relevance | path

Searched refs:isipv6 (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/cxgbe/tom/
H A Dt4_connect.c205 act_open_cpl_size(struct adapter *sc, int isipv6) in act_open_cpl_size() argument
226 return (sz_table[idx][!!isipv6]); in act_open_cpl_size()
249 int qid_atid, rc, isipv6; in t4_connect() local
303 isipv6 = nam->sa_family == AF_INET6; in t4_connect()
304 wr = alloc_wrqe(act_open_cpl_size(sc, isipv6), toep->ctrlq); in t4_connect()
311 if (isipv6) { in t4_connect()
H A Dt4_listen.c203 alloc_stid(struct adapter *sc, bool isipv6, void *ctx) in alloc_stid() argument
206 const u_int n = isipv6 ? 2 : 1; in alloc_stid()
219 if (isipv6) { in alloc_stid()
302 free_stid(struct adapter *sc, int stid, bool isipv6) in free_stid() argument
305 const u_int n = isipv6 ? 2 : 1; in free_stid()
338 lctx->isipv6 = inp->inp_vflag & INP_IPV6; in alloc_lctx()
339 lctx->stid = alloc_stid(sc, lctx->isipv6, lctx); in alloc_lctx()
345 if (lctx->isipv6 && in alloc_lctx()
381 free_stid(sc, lctx->stid, lctx->isipv6); in free_lctx()
H A Dt4_tom.h298 bool isipv6; member
/freebsd/sys/netinet/
H A Dtcp_timer.c556 bool isipv6, rv; in tcp_timer_rexmt() local
643 isipv6 = (inp->inp_vflag & INP_IPV6) ? true : false; in tcp_timer_rexmt()
645 isipv6 = false; in tcp_timer_rexmt()
648 (V_tcp_pmtud_blackhole_detect == 2 && !isipv6) || in tcp_timer_rexmt()
649 (V_tcp_pmtud_blackhole_detect == 3 && isipv6)) && in tcp_timer_rexmt()
663 if (isipv6) { in tcp_timer_rexmt()
704 if (isipv6 && in tcp_timer_rexmt()
710 } else if (isipv6) { in tcp_timer_rexmt()
H A Dtcp_timewait.c111 bool isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6; in tcp_twstart() local
130 isipv6 ? in6_localaddr(&inp->in6p_faddr) : in tcp_twstart()
H A Dtcp_input.c636 int isipv6; in tcp_input_with_port() local
646 isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0; in tcp_input_with_port()
657 if (isipv6) { in tcp_input_with_port()
776 if (isipv6) { in tcp_input_with_port()
824 (isipv6 && (m->m_flags & M_IP6_NEXTHOP)) in tcp_input_with_port()
826 || (!isipv6 && (m->m_flags & M_IP_NEXTHOP)) in tcp_input_with_port()
847 if (isipv6 && fwd_tag != NULL) { in tcp_input_with_port()
869 } else if (isipv6) { in tcp_input_with_port()
942 if (isipv6) { in tcp_input_with_port()
966 if (isipv6 && IPSEC_ENABLED(ipv6) && in tcp_input_with_port()
[all …]
H A Dtcp_output.c217 const bool isipv6 = (inp->inp_vflag & INP_IPV6) != 0; in tcp_default_output() local
538 if (isipv6 && IPSEC_ENABLED(ipv6)) in tcp_default_output()
550 if (isipv6) in tcp_default_output()
781 if (isipv6) in tcp_default_output()
1147 if (isipv6 && (MHLEN < hdrlen + max_linkhdr) && in tcp_default_output()
1161 if (isipv6) { in tcp_default_output()
1215 if (isipv6) { in tcp_default_output()
1354 if (isipv6) { in tcp_default_output()
1443 if (isipv6) { in tcp_default_output()
H A Dtcp_subr.c1749 int isipv6; in tcp_respond() local
1764 isipv6 = ((struct ip *)ipgen)->ip_v == (IPV6_VERSION >> 4); in tcp_respond()
1777 if (isipv6 && ip6 && (ip6->ip6_nxt == IPPROTO_UDP)) in tcp_respond()
1805 if (isipv6) { in tcp_respond()
1853 if (isipv6) { in tcp_respond()
1898 if (isipv6) { in tcp_respond()
1921 if (isipv6) in tcp_respond()
1975 if (isipv6) { in tcp_respond()
2059 if (isipv6) { in tcp_respond()
2148 if (isipv6) { in tcp_respond()
[all …]
H A Dtcp_usrreq.c933 int isipv6; in tcp_usr_send() local
998 isipv6 = 0; in tcp_usr_send()
1039 isipv6 = 0; in tcp_usr_send()
1055 isipv6 = 1; in tcp_usr_send()
1079 if (isipv6) in tcp_usr_send()
1170 if (isipv6) in tcp_usr_send()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c139 ktls_act_open_cpl_size(bool isipv6) in ktls_act_open_cpl_size() argument
142 if (isipv6) in ktls_act_open_cpl_size()
219 bool isipv6; in send_ktls_act_open_req() local
221 isipv6 = (inp->inp_vflag & INP_IPV6) != 0; in send_ktls_act_open_req()
222 if (isipv6) { in send_ktls_act_open_req()
228 wr = alloc_wrqe(ktls_act_open_cpl_size(isipv6), tlsp->ctrlq); in send_ktls_act_open_req()
235 if (isipv6) in send_ktls_act_open_req()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c4950 bool isipv6; in bbr_timeout_rxt() local
5038 isipv6 = (inp->inp_vflag & INP_IPV6) ? true : false; in bbr_timeout_rxt()
5040 isipv6 = false; in bbr_timeout_rxt()
5043 (V_tcp_pmtud_blackhole_detect == 2 && !isipv6) || in bbr_timeout_rxt()
5044 (V_tcp_pmtud_blackhole_detect == 3 && isipv6)) && in bbr_timeout_rxt()
5077 isipv6 = bbr->r_is_v6; in bbr_timeout_rxt()
5078 if (isipv6 && in bbr_timeout_rxt()
5083 } else if (isipv6) { in bbr_timeout_rxt()
11867 int32_t isipv6; in bbr_output_wtime() local
11900 isipv6 = bbr->r_is_v6; in bbr_output_wtime()
[all …]
H A Drack.c7656 bool isipv6; in rack_timeout_rxt() local
7801 isipv6 = (inp->inp_vflag & INP_IPV6) ? true : false; in rack_timeout_rxt()
7803 isipv6 = false; in rack_timeout_rxt()
7806 (V_tcp_pmtud_blackhole_detect == 2 && !isipv6) || in rack_timeout_rxt()
7807 (V_tcp_pmtud_blackhole_detect == 3 && isipv6)) && in rack_timeout_rxt()
7838 if (isipv6 && in rack_timeout_rxt()
7843 } else if (isipv6) { in rack_timeout_rxt()
19727 int32_t isipv6; in rack_output() local
19775 isipv6 = rack->r_is_v6; in rack_output()
19777 isipv6 = (rack->rc_inp->inp_vflag & INP_IPV6) != 0; in rack_output()
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c1594 act_open_cpl_len16(struct adapter *sc, int isipv6) in act_open_cpl_len16() argument
1615 return (sz_table[idx][!!isipv6]); in act_open_cpl_len16()