Defines

DNSConnection.cc File Reference

A brief file description. More...

#include "P_DNS.h"
#include "P_DNSConnection.h"
#include "P_DNSProcessor.h"
Include dependency graph for DNSConnection.cc:

Go to the source code of this file.

Defines

#define SET_TCP_NO_DELAY
#define SET_NO_LINGER
#define FIRST_RANDOM_PORT   (16000)
#define LAST_RANDOM_PORT   (60000)
#define ROUNDUP(x, y)   ((((x)+((y)-1))/(y))*(y))

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file DNSConnection.cc.


Define Documentation

#define FIRST_RANDOM_PORT   (16000)

Definition at line 39 of file DNSConnection.cc.

#define LAST_RANDOM_PORT   (60000)

Definition at line 40 of file DNSConnection.cc.

Referenced by DNSConnection::connect().

#define ROUNDUP (   x,
  y 
)    ((((x)+((y)-1))/(y))*(y))

Definition at line 42 of file DNSConnection.cc.

Referenced by ShowCont::show().

#define SET_NO_LINGER

Definition at line 35 of file DNSConnection.cc.

#define SET_TCP_NO_DELAY

Definition at line 34 of file DNSConnection.cc.