mbgtools-lx
4.2.8
|
Data Structures | |
struct | IP4_SETTINGS |
Settings of an IPv4-only network interface. More... | |
struct | LAN_IF_INFO |
Simple LAN interface information. More... | |
Macros | |
#define | _mbg_swab_ip4_settings(_p) |
#define | _mbg_swab_lan_if_info(_p) |
Enumerations | |
enum | LAN_IF_TYPES { LAN_IF_TYPE_XPORT, LAN_IF_TYPE_PTP, LAN_IF_TYPE_RSC, N_LAN_IF_TYPE } |
Codes used with LAN_IF_INFO::type. More... | |
enum | MBG_IP4_FLAG_BITS { IP4_BIT_DHCP, IP4_BIT_LINK, IP4_BIT_VLAN, N_IP4_BIT } |
Enumeration of flag bits used with IP4_SETTINGS::flags and LAN_IF_INFO::flags. More... | |
enum | MBG_IP4_FLAG_MASKS { IP4_MSK_DHCP = ( 1UL << IP4_BIT_DHCP ), IP4_MSK_LINK = ( 1UL << IP4_BIT_LINK ), IP4_MSK_VLAN = ( 1UL << IP4_BIT_VLAN ) } |
Bit masks used with IP4_SETTINGS::flags and LAN_IF_INFO::flags. More... | |
This is only supported if the flag GPS_HAS_LAN_IP4 is set in RECEIVER_INFO::features.
#define _mbg_swab_ip4_settings | ( | _p | ) |
Definition at line 11250 of file gpsdefs.h.
Referenced by mbg_get_ip4_settings(), mbg_get_ip4_state(), mbg_set_ip4_settings(), mbgextio_get_ip4_settings(), mbgextio_get_ip4_state(), and mbgextio_set_ip4_settings().
#define _mbg_swab_lan_if_info | ( | _p | ) |
Definition at line 11287 of file gpsdefs.h.
Referenced by mbg_get_lan_if_info(), and mbgextio_get_lan_if_info().
enum LAN_IF_TYPES |
Codes used with LAN_IF_INFO::type.
enum MBG_IP4_FLAG_BITS |
Enumeration of flag bits used with IP4_SETTINGS::flags and LAN_IF_INFO::flags.
Enumerator | |
---|---|
IP4_BIT_DHCP | In LAN_IF_INFO::flags this reports if DHCP is supported by the device. If supported then it can also be used with IP4_SETTINGS::flags to enable or disable DHCP for the network interface. |
IP4_BIT_LINK | Only used with IP4_SETTINGS::flags. Set if port link has been established. |
IP4_BIT_VLAN | In LAN_IF_INFO::flags this reports if VLAN is supported by the device. If supported then it can also be used with IP4_SETTINGS::flags to enable or disable VLAN for the network interface. |
N_IP4_BIT | number of defined flag bits |
enum MBG_IP4_FLAG_MASKS |
Bit masks used with IP4_SETTINGS::flags and LAN_IF_INFO::flags.
Enumerator | |
---|---|
IP4_MSK_DHCP | see IP4_BIT_DHCP |
IP4_MSK_LINK | see IP4_BIT_LINK |
IP4_MSK_VLAN | see IP4_BIT_VLAN |