Home
last modified time | relevance | path

Searched refs:tunnel_overhead (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.41.6/bsd/netinet/
H A Dtcp_subr.c3077 uint32_t tunnel_overhead = 0; in tcp_get_effective_mtu() local
3102 tunnel_overhead = (u_int32_t)(esp_hdrsiz(NULL) + sizeof(struct ip6_hdr)); in tcp_get_effective_mtu()
3103 if (outgoing_mtu > tunnel_overhead) { in tcp_get_effective_mtu()
3104 outgoing_mtu -= tunnel_overhead; in tcp_get_effective_mtu()
/xnu-12377.41.6/bsd/net/
H A Dnecp.c13675 u_int32_t tunnel_overhead = (u_int32_t)(esp_hdrsiz(NULL) + sizeof(struct ip6_hdr)); in necp_socket_get_effective_mtu() local
13676 if (delegate_tunnel_mtu > tunnel_overhead) { in necp_socket_get_effective_mtu()
13677 delegate_tunnel_mtu -= tunnel_overhead; in necp_socket_get_effective_mtu()