af_packet: AF_Packet: Remove usages of inline

...not sure why they are marked inline.
This commit is contained in:
Arne Welzel 2023-03-29 13:09:33 +02:00 committed by Tim Wojtulewicz
parent d9d7b76c5d
commit 17d60e4ab9

View file

@ -105,7 +105,7 @@ void AF_PacketSource::Open()
Opened(props);
}
inline bool AF_PacketSource::BindInterface()
bool AF_PacketSource::BindInterface()
{
struct ifreq ifr;
struct sockaddr_ll saddr_ll;
@ -127,7 +127,7 @@ inline bool AF_PacketSource::BindInterface()
return (ret >= 0);
}
inline bool AF_PacketSource::EnablePromiscMode()
bool AF_PacketSource::EnablePromiscMode()
{
struct ifreq ifr;
struct packet_mreq mreq;
@ -148,7 +148,7 @@ inline bool AF_PacketSource::EnablePromiscMode()
return (ret >= 0);
}
inline bool AF_PacketSource::ConfigureFanoutGroup(bool enabled, bool defrag)
bool AF_PacketSource::ConfigureFanoutGroup(bool enabled, bool defrag)
{
if ( enabled )
{
@ -167,7 +167,7 @@ inline bool AF_PacketSource::ConfigureFanoutGroup(bool enabled, bool defrag)
return true;
}
inline bool AF_PacketSource::ConfigureHWTimestamping(bool enabled)
bool AF_PacketSource::ConfigureHWTimestamping(bool enabled)
{
if ( enabled )
{
@ -195,7 +195,7 @@ inline bool AF_PacketSource::ConfigureHWTimestamping(bool enabled)
return true;
}
inline uint32_t AF_PacketSource::GetFanoutMode(bool defrag)
uint32_t AF_PacketSource::GetFanoutMode(bool defrag)
{
uint32_t fanout_mode;