diff options
Diffstat (limited to 'kernel-headers/linux/rmnet_data.h')
-rw-r--r-- | kernel-headers/linux/rmnet_data.h | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/kernel-headers/linux/rmnet_data.h b/kernel-headers/linux/rmnet_data.h index 01ca6d6..f10a705 100644 --- a/kernel-headers/linux/rmnet_data.h +++ b/kernel-headers/linux/rmnet_data.h @@ -24,108 +24,112 @@ #define RMNET_EGRESS_FORMAT_MAP (1 << 1) #define RMNET_EGRESS_FORMAT_AGGREGATION (1 << 2) #define RMNET_EGRESS_FORMAT_MUXING (1 << 3) -#define RMNET_INGRESS_FIX_ETHERNET (1 << 0) +#define RMNET_EGRESS_FORMAT_MAP_CKSUMV3 (1 << 4) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define RMNET_EGRESS_FORMAT_MAP_CKSUMV4 (1 << 5) +#define RMNET_INGRESS_FIX_ETHERNET (1 << 0) #define RMNET_INGRESS_FORMAT_MAP (1 << 1) #define RMNET_INGRESS_FORMAT_DEAGGREGATION (1 << 2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define RMNET_INGRESS_FORMAT_DEMUXING (1 << 3) #define RMNET_INGRESS_FORMAT_MAP_COMMANDS (1 << 4) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define RMNET_INGRESS_FORMAT_MAP_CKSUMV3 (1 << 5) +#define RMNET_INGRESS_FORMAT_MAP_CKSUMV4 (1 << 6) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define RMNET_NETLINK_PROTO 31 #define RMNET_MAX_STR_LEN 16 #define RMNET_NL_DATA_MAX_LEN 64 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define RMNET_NETLINK_MSG_COMMAND 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define RMNET_NETLINK_MSG_RETURNCODE 1 #define RMNET_NETLINK_MSG_RETURNDATA 2 struct rmnet_nl_msg_s { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint16_t reserved; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint16_t message_type; uint16_t reserved2 : 14; uint16_t crd : 2; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ union { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint16_t arg_length; uint16_t return_code; }; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ union { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint8_t data[RMNET_NL_DATA_MAX_LEN]; struct { uint8_t dev[RMNET_MAX_STR_LEN]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint32_t flags; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint16_t agg_size; uint16_t agg_count; uint8_t tail_spacing; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } data_format; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { uint8_t dev[RMNET_MAX_STR_LEN]; int32_t ep_id; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint8_t operating_mode; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint8_t next_dev[RMNET_MAX_STR_LEN]; } local_ep_config; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint32_t id; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint8_t vnd_name[RMNET_MAX_STR_LEN]; } vnd; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint32_t id; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ uint32_t map_flow_id; uint32_t tc_flow_id; } flow_control; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; enum rmnet_netlink_message_types_e { RMNET_NETLINK_ASSOCIATE_NETWORK_DEVICE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_UNASSOCIATE_NETWORK_DEVICE, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_GET_NETWORK_DEVICE_ASSOCIATED, RMNET_NETLINK_SET_LINK_EGRESS_DATA_FORMAT, RMNET_NETLINK_GET_LINK_EGRESS_DATA_FORMAT, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_SET_LINK_INGRESS_DATA_FORMAT, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_GET_LINK_INGRESS_DATA_FORMAT, RMNET_NETLINK_SET_LOGICAL_EP_CONFIG, RMNET_NETLINK_UNSET_LOGICAL_EP_CONFIG, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_GET_LOGICAL_EP_CONFIG, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_NEW_VND, RMNET_NETLINK_NEW_VND_WITH_PREFIX, RMNET_NETLINK_GET_VND_NAME, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_FREE_VND, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_NETLINK_ADD_VND_TC_FLOW, RMNET_NETLINK_DEL_VND_TC_FLOW }; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum rmnet_config_endpoint_modes_e { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_EPMODE_NONE, RMNET_EPMODE_VND, RMNET_EPMODE_BRIDGE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_EPMODE_LENGTH +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; enum rmnet_config_return_codes_e { RMNET_CONFIG_OK, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_CONFIG_UNKNOWN_MESSAGE, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_CONFIG_UNKNOWN_ERROR, RMNET_CONFIG_NOMEM, RMNET_CONFIG_DEVICE_IN_USE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_CONFIG_INVALID_REQUEST, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_CONFIG_NO_SUCH_DEVICE, RMNET_CONFIG_BAD_ARGUMENTS, RMNET_CONFIG_BAD_EGRESS_DEVICE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ RMNET_CONFIG_TC_HANDLE_FULL +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #endif |