# Functions
FromUpstreamConfig converts a socket's subnet routes service configuration into terraform resource data for the "subnet_routes_configuration" attribute on the "border0_socket" resource.
ToUpstreamConfig converts a "border0_socket" resource data from "subnet_routes_configuration" attribute into a socket's Subnet Routes service upstream configuration.