Lines Matching defs:port
799 static int manager_ipv4_send(Manager *m, int fd, int ifindex, const struct in_addr *addr, uint16_t port, DnsPacket *p) {
813 assert(port > 0);
820 sa.in.sin_port = htobe16(port),
848 static int manager_ipv6_send(Manager *m, int fd, int ifindex, const struct in6_addr *addr, uint16_t port, DnsPacket *p) {
862 assert(port > 0);
869 sa.in6.sin6_port = htobe16(port),
898 int manager_send(Manager *m, int fd, int ifindex, int family, const union in_addr_union *addr, uint16_t port, DnsPacket *p) {
902 assert(port > 0);
908 return manager_ipv4_send(m, fd, ifindex, &addr->in, port, p);
910 return manager_ipv6_send(m, fd, ifindex, &addr->in6, port, p);