mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
af_packet: AF_Packet: Remove usages of inline
...not sure why they are marked inline.
This commit is contained in:
parent
d9d7b76c5d
commit
17d60e4ab9
1 changed files with 26 additions and 26 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue