Lines Matching defs:port
129 { "localport", "Local port", OFFSET(local_port), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, D|E },
130 { "local_port", "Local port", OFFSET(local_port), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
341 const char *hostname, int port)
346 res0 = ff_ip_resolve_host(h, hostname, port, SOCK_DGRAM, AF_UNSPEC, 0);
413 * get the local port first, then you must call this function to set
416 * url syntax: udp://host:port[?option=val...]
418 * 'localport=n' : set the local port
431 int port;
434 av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
437 s->dest_addr_len = udp_set_url(h, &s->dest_addr, hostname, port);
462 * Return the local port used by the UDP connection
464 * @return the local port number
648 int port, udp_fd = -1, tmp, bind_ret = -1, dscp = -1;
763 av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
778 s->local_port = port;
833 * port. This fails on windows. This makes sending to the same address
840 /* the bind is needed to give a port to the socket now */