Lines Matching defs:endpoint
329 const union vxlan_addr *endpoint;
339 endpoint = &sc->sc_dst;
344 endpoint = etherbridge_resolve_ea(&sc->sc_eb,
346 if (endpoint != NULL) {
347 gateway = *endpoint;
348 endpoint = &gateway;
352 if (endpoint == NULL) {
357 endpoint = &sc->sc_dst;
410 return ((*ip_encap)(sc, m, endpoint, tos));
418 const union vxlan_addr *endpoint, uint8_t tos)
435 ip->ip_dst = endpoint->in4;
443 const union vxlan_addr *endpoint, uint8_t tos)
461 ip6->ip6_dst = endpoint->in6;
1437 /* default to endpoint */
1647 union vxlan_addr endpoint;
1674 memset(&endpoint, 0, sizeof(endpoint));
1688 endpoint.in4 = sin->sin_addr;
1705 error = in6_embedscope(&endpoint.in6, sin6, NULL, NULL);
1715 return (etherbridge_add_addr(&sc->sc_eb, &endpoint,
1756 union vxlan_addr *endpoint;
1758 endpoint = pool_get(&vxlan_endpoint_pool, PR_NOWAIT);
1759 if (endpoint == NULL)
1762 *endpoint = *(union vxlan_addr *)port;
1764 return (endpoint);
1770 union vxlan_addr *endpoint = port;
1772 pool_put(&vxlan_endpoint_pool, endpoint);
1787 union vxlan_addr *endpoint = port;
1795 sin->sin_addr = endpoint->in4;
1804 in6_recoverscope(sin6, &endpoint->in6);