Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_ETHER_TYPE = "IPv4"
)
TODO: この辺りLABELとrenameした方が分かりやすそう
Variables ¶
View Source
var ( DEFAULT_NW_INTERFACE = "" // TODO: 良くない直す DEFAULT_MAC_DESTINATION = "" DEFAULT_MAC_SOURCE = "" DEFAULT_ARP_HARDWARE_TYPE = "0x0001" DEFAULT_ARP_PROTOCOL_TYPE = "0x0800" DEFAULT_ARP_HARDWARE_SIZE = "0x06" DEFAULT_ARP_PROTOCOL_SIZE = "0x04" DEFAULT_ARP_OPERATION = "0x0001" DEFAULT_ARP_SENDER_MAC = "" DEFAULT_ARP_SENDER_IP = "" DEFAULT_ARP_TARGET_MAC = "0x000000000000" DEFAULT_ARP_TARGET_IP = "" DEFAULT_IP_PROTOCOL = "ICMP" DEFAULT_IP_SOURCE = "" DEFAULT_IP_DESTINATION = "" DEFAULT_ICMP_TYPE = "0x08" DEFAULT_ICMP_CODE = "0x00" DEFAULT_ICMP_IDENTIFIER = "0x34a1" DEFAULT_ICMP_SEQUENCE = "0x0001" DEFAULT_UDP_PORT_SOURCE = "12345" DEFAULT_UDP_PORT_DESTINATION = "53" DEFAULT_UDP_LENGTH = "0x0030" DEFAULT_DNS_TRANSACTION = "0x1234" DEFAULT_DNS_FLAGS = "0x0100" DEFAULT_DNS_QUESTIONS = "0x0001" DEFAULT_DNS_ANSWERS_RRs = "0x0000" DEFAULT_DNS_AUTHORITYR_Rs = "0x0000" DEFAULT_DNS_ADDITIONAL_RRs = "0x0000" DEFAULT_DNS_QUERIES_DOMAIN = "go.dev" DEFAULT_DNS_QUERIES_TYPE = "0x0001" DEFAULT_DNS_QUERIES_CLASS = "0x0001" DEFAULT_TCP_PORT_SOURCE = "12345" DEFAULT_TCP_PORT_DESTINATION = "80" DEFAULT_TCP_SEQUENCE = "0x1f6e9499" DEFAULT_TCP_FLAGS = "0x002" DEFAULT_HTTP_METHOD = "GET" DEFAULT_HTTP_URI = "/" DEFAULT_HTTP_VERSION = "HTTP/1.1" DEFAULT_HTTP_HOST = "github.com" DEFAULT_HTTP_USER_AGENT = "packemon" DEFAULT_HTTP_ACCEPT = "*/*" )
Functions ¶
func NewPacketsHistoryTable ¶
Types ¶
type EthernetFrame ¶
type EthernetFrame struct {
*packemon.EthernetFrame
}
type HTTPResponse ¶
type HTTPResponse struct {
*packemon.HTTPResponse
}
type HistoryRow ¶
type HistoryRow struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.