Searched refs:osaddr (Results 1 – 6 of 6) sorted by relevance
337 const struct openvpn_sockaddr *osaddr, in mroute_extract_openvpn_sockaddr() argument340 switch (osaddr->addr.sa.sa_family) in mroute_extract_openvpn_sockaddr()349 addr->v4.addr = osaddr->addr.in4.sin_addr.s_addr; in mroute_extract_openvpn_sockaddr()350 addr->v4.port = osaddr->addr.in4.sin_port; in mroute_extract_openvpn_sockaddr()357 addr->v4.addr = osaddr->addr.in4.sin_addr.s_addr; in mroute_extract_openvpn_sockaddr()368 addr->v6.addr = osaddr->addr.in6.sin6_addr; in mroute_extract_openvpn_sockaddr()369 addr->v6.port = osaddr->addr.in6.sin6_port; in mroute_extract_openvpn_sockaddr()376 addr->v6.addr = osaddr->addr.in6.sin6_addr; in mroute_extract_openvpn_sockaddr()
142 const struct openvpn_sockaddr *osaddr,