Home
last modified time | relevance | path

Searched refs:if_hw_tsomax (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/net/
H A Dif.c819 if (pmax->tsomaxbytes == 0 || (ifp->if_hw_tsomax != 0 && in if_hw_tsomax_common()
820 ifp->if_hw_tsomax < pmax->tsomaxbytes)) { in if_hw_tsomax_common()
821 pmax->tsomaxbytes = ifp->if_hw_tsomax; in if_hw_tsomax_common()
842 if (ifp->if_hw_tsomax != pmax->tsomaxbytes) { in if_hw_tsomax_update()
843 ifp->if_hw_tsomax = pmax->tsomaxbytes; in if_hw_tsomax_update()
943 if (ifp->if_hw_tsomax == 0 && in if_attach_internal()
952 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) - in if_attach_internal()
960 ifp->if_hw_tsomax, in if_attach_internal()
4455 if_sethwtsomax(if_t ifp, u_int if_hw_tsomax) in if_sethwtsomax() argument
4458 ((struct ifnet *)ifp)->if_hw_tsomax = if_hw_tsomax; in if_sethwtsomax()
[all …]
H A Dif_var.h414 u_int if_hw_tsomax; /* TSO maximum size in bytes */ member
726 int if_sethwtsomax(if_t ifp, u_int if_hw_tsomax);
H A Dif_vxlan.c3126 if (p->if_hw_tsomax > IP_MAXPACKET - ifp->if_hdrlen) in vxlan_set_hwcaps()
3127 ifp->if_hw_tsomax = IP_MAXPACKET - ifp->if_hdrlen; in vxlan_set_hwcaps()
3129 ifp->if_hw_tsomax = p->if_hw_tsomax; in vxlan_set_hwcaps()
/f-stack/freebsd/netinet/
H A Dtcp_output.c901 u_int if_hw_tsomax; in tcp_output() local
906 if_hw_tsomax = tp->t_tsomax; in tcp_output()
922 if (if_hw_tsomax != 0) { in tcp_output()
924 max_len = (if_hw_tsomax - hdrlen - in tcp_output()
H A Dtcp_subr.c2963 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu()
3002 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu6()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack.c13125 uint32_t if_hw_tsomax; in rack_output() local
13130 if_hw_tsomax = tp->t_tsomax; in rack_output()
13140 if (if_hw_tsomax != 0) { in rack_output()
13142 max_len = (if_hw_tsomax - hdrlen - in rack_output()
H A Dbbr.c11968 uint32_t if_hw_tsomax = 0; in bbr_output_wtime() local
13116 if_hw_tsomax = tp->t_tsomax; in bbr_output_wtime()
13126 if (if_hw_tsomax != 0) { in bbr_output_wtime()
13128 max_len = (if_hw_tsomax - hdrlen - in bbr_output_wtime()