mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 02:43:38 +00:00
104 lines
5.9 KiB
Diff
104 lines
5.9 KiB
Diff
Index: opensync-2.0.5.0/interfaces/opensync_stats.proto
|
|
===================================================================
|
|
--- opensync-2.0.5.0.orig/interfaces/opensync_stats.proto
|
|
+++ opensync-2.0.5.0/interfaces/opensync_stats.proto
|
|
@@ -796,8 +796,98 @@ message EventReport {
|
|
repeated ClientConnectEvent client_connect_event = 10;
|
|
}
|
|
|
|
+ /* DHCP Ack Event */
|
|
+ message DhcpAckEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ optional bytes subnet_mask = 7;
|
|
+ optional bytes primary_dns = 8;
|
|
+ optional bytes secondary_dns = 9;
|
|
+ optional uint32 lease_time = 10;
|
|
+ optional uint32 renewal_time = 11;
|
|
+ optional uint32 rebinding_time = 12;
|
|
+ optional uint32 time_offset = 13;
|
|
+ optional bytes gateway_ip = 14;
|
|
+ }
|
|
+
|
|
+ /* DHCP Nak Event */
|
|
+ message DhcpNakEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ optional bool from_internal = 7;
|
|
+ }
|
|
+
|
|
+ /* DHCP Offer Event */
|
|
+ message DhcpOfferEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ optional bool from_internal = 7;
|
|
+ }
|
|
+
|
|
+ /* DHCP Inform Event */
|
|
+ message DhcpInformEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ }
|
|
+
|
|
+ /* DHCP Decline Event */
|
|
+ message DhcpDeclineEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ }
|
|
+
|
|
+ /* DHCP Request Event */
|
|
+ message DhcpRequestEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ optional string hostname = 7;
|
|
+ }
|
|
+
|
|
+ /* DHCP Discover Event */
|
|
+ message DhcpDiscoverEvent {
|
|
+ optional uint32 x_id = 1;
|
|
+ optional uint32 vlan_id = 2;
|
|
+ optional bytes dhcp_server_ip = 3;
|
|
+ optional bytes client_ip = 4;
|
|
+ optional bytes relay_ip = 5;
|
|
+ optional string device_mac_address = 6;
|
|
+ optional string hostname = 7;
|
|
+ }
|
|
+
|
|
/* Multiple Client Sessions */
|
|
repeated ClientSession client_session = 1;
|
|
+ /* DHCP events */
|
|
+ repeated DhcpAckEvent dhcp_ack_event = 2;
|
|
+ repeated DhcpNakEvent dhcp_nak_event = 3;
|
|
+ repeated DhcpOfferEvent dhcp_offer_event = 4;
|
|
+ repeated DhcpInformEvent dhcp_inform_event = 5;
|
|
+ repeated DhcpDeclineEvent dhcp_decline_event = 6;
|
|
+ repeated DhcpRequestEvent dhcp_request_event = 7;
|
|
+ repeated DhcpDiscoverEvent dhcp_discover_event = 8;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|