GoogleApi.ContentWarehouse.V1.Model.TrawlerTCPIPInfo
Table of Contents ▼
Jump to a specific part of the page:
Description
To keep track of fetch connection endpoints. Note: You can use trawler::SourceIP(info) or trawler::DestinationIP(info) (as well as HasSourceIP/HasDestinationIP) in basictypes.h instead of accessing the packed strings directly. This will return a proper IPAddress. Never use the fixed32 based Source/Destination-IP in new code as they will go away (only IPv4).
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
DestinationIPAddressPacked
(type:String.t
, default:nil
)
- Address of the destination host. Extract with trawler::DestinationIP() or decode with PackedStringToIPAddress(). -
DestinationPort
(type:integer()
, default:nil
)
- -
SourceIPAddressPacked
(type:String.t
, default:nil
)
- Source address of the crawl machine we originated the fetch from. Extract with trawler::SourceIP() or decode with PackedStringToIPAddress(). -
SourcePort
(type:integer()
, default:nil
)
-
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TrawlerTCPIPInfo