TrawlerTCPIPInfo

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):

View Attributes

Attributes

  1. DestinationIPAddressPacked (type: String.t, default: nil)
    - Address of the destination host. Extract with trawler::DestinationIP() or decode with PackedStringToIPAddress().
  2. DestinationPort (type: integer(), default: nil)
    -
  3. 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().
  4. SourcePort (type: integer(), default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TrawlerTCPIPInfo{
DestinationIPAddressPacked: String.t() | nil,
DestinationPort: integer() | nil,
SourceIPAddressPacked: String.t() | nil,
SourcePort: integer() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TrawlerTCPIPInfo