Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/netinet/
H A Dtcp_subr.c2842 uint32_t tunnel_overhead = 0; in tcp_get_effective_mtu() local
2867 tunnel_overhead = (u_int32_t)(esp_hdrsiz(NULL) + sizeof(struct ip6_hdr)); in tcp_get_effective_mtu()
2868 if (outgoing_mtu > tunnel_overhead) { in tcp_get_effective_mtu()
2869 outgoing_mtu -= tunnel_overhead; in tcp_get_effective_mtu()
/xnu-11417.140.69/bsd/net/
H A Dnecp.c13542 u_int32_t tunnel_overhead = (u_int32_t)(esp_hdrsiz(NULL) + sizeof(struct ip6_hdr)); in necp_socket_get_effective_mtu() local
13543 if (delegate_tunnel_mtu > tunnel_overhead) { in necp_socket_get_effective_mtu()
13544 delegate_tunnel_mtu -= tunnel_overhead; in necp_socket_get_effective_mtu()