Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMinimalTTL ¶
GetMinimalTTL returns the minimal ttl of this msg.
func ReadMsgFromTCP ¶
Note: ReadMsgFromTCP read c twice (header length and then body). Buffered reader is recommended.
func SubtractTTL ¶
SubtractTTL subtract delta from every m's RR. If RR's TTL is smaller than delta, the ttl will be set to 1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.