Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
transport: remove unused code
Browse files Browse the repository at this point in the history
https://jira.prplfoundation.org/browse/PPM-18

Remove dead code after adding the InterfaceStateManager class.

Signed-off-by: Mario Maz <[email protected]>
  • Loading branch information
mariomaz committed Aug 13, 2020
1 parent 79c5857 commit fd7b0a1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 134 deletions.
1 change: 0 additions & 1 deletion framework/transport/ieee1905_transport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ add_library(ieee1905_transport_lib
ieee1905_transport.cpp
ieee1905_transport_broker.cpp
ieee1905_transport_network.cpp
ieee1905_transport_netlink.cpp
ieee1905_transport_local_bus.cpp
ieee1905_transport_packet_processing.cpp)

Expand Down
11 changes: 0 additions & 11 deletions framework/transport/ieee1905_transport/ieee1905_transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include <arpa/inet.h>
#include <chrono>
#include <linux/netlink.h>
#include <map>
#include <net/if.h>

Expand Down Expand Up @@ -127,9 +126,6 @@ class Ieee1905Transport {
// interface name (ifname) is used as Key to the table
std::map<std::string, NetworkInterface> network_interfaces_;

// netlink socket file descriptor (used to track network interface status)
int netlink_fd_ = -1;

uint16_t message_id_ = 0;
uint8_t al_mac_addr_[ETH_ALEN] = {0};

Expand Down Expand Up @@ -315,13 +311,6 @@ class Ieee1905Transport {
bool send_packet_to_network_interface(unsigned int if_index, Packet &packet);
void set_al_mac_addr(const uint8_t *addr);

//
// NETLINK STUFF
//
bool open_netlink_socket();
int handle_netlink_message(struct nlmsghdr *msg);
void handle_netlink_pollin_event();

//
// BROKER STUFF
//
Expand Down
122 changes: 0 additions & 122 deletions framework/transport/ieee1905_transport/ieee1905_transport_netlink.cpp

This file was deleted.

0 comments on commit fd7b0a1

Please sign in to comment.