1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       struct   nbft_info_hfi_info_tcp  -  HFI  Transport  Info  Descriptor  -
7       NVMe/TCP
8

SYNOPSIS

10       struct nbft_info_hfi_info_tcp {
11           __u32 pci_sbdf;
12           __u8 mac_addr[6];
13           __u16 vlan;
14           __u8 ip_origin;
15           char ipaddr[40];
16           __u8 subnet_mask_prefix;
17           char gateway_ipaddr[40];
18           __u16 route_metric;
19           char primary_dns_ipaddr[40];
20           char secondary_dns_ipaddr[40];
21           char dhcp_server_ipaddr[40];
22           char *host_name;
23           bool this_hfi_is_default_route;
24           bool dhcp_override;
25        };
26
27

Members

29       pci_sbdf    PCI Express Routing ID for the HFI Transport Function.
30
31       mac_addr    MAC Address: The MAC address of this HFI, in EUI-48TM  for‐
32                   mat.
33
34       vlan        The  VLAN  identifier  if  the VLAN is associated with this
35                   HFI, as defined in IEEE 802.1q-2018 or zeroes if no VLAN is
36                   associated with this HFI.
37
38       ip_origin   The source of Ethernet L3 configuration information used by
39                   the driver or 0 if not used.
40
41       ipaddr      The IPv4 or IPv6 address of this HFI.
42
43       subnet_mask_prefix
44                   The IPv4 or IPv6 subnet mask in CIDR routing  prefix  nota‐
45                   tion.
46
47       gateway_ipaddr
48                   The  IPv4 or IPv6 address of the IP gateway for this HFI or
49                   zeroes if no IP gateway is specified.
50
51       route_metric
52                   The cost value for the route indicated by this HFI.
53
54       primary_dns_ipaddr
55                   The IPv4 or IPv6 address of the Primary DNS server for this
56                   HFI.
57
58       secondary_dns_ipaddr
59                   The  IPv4  or  IPv6 address of the Secondary DNS server for
60                   this HFI.
61
62       dhcp_server_ipaddr
63                   The IPv4 or IPv6 address of the DHCP server used to  assign
64                   this HFI address.
65
66       host_name   The Host Name string.
67
68       this_hfi_is_default_route
69                   If True, then the BIOS utilized this interface described by
70                   HFI to be the  default  route  with  highest  priority.  If
71                   False, then routes are local to their own scope.
72
73       dhcp_override
74                   If  True,  then  HFI information was populated by consuming
75                   the DHCP on this interface. If False, then the HFI informa‐
76                   tion  was set administratively by a configuration interface
77                   to the driver and pre-OS envrionment.
78
79
80
81October 2023             struct nbft_info_hfi_info_tcp              libnvme(9)
Impressum