INET Framework for OMNeT++/OMNEST
|
#include <UDP.h>
Public Member Functions | |
SockDesc (int sockId, int appGateIndex) | |
~SockDesc () | |
MulticastMembershipTable::iterator | findFirstMulticastMembership (const L3Address &multicastAddress) |
MulticastMembership * | findMulticastMembership (const L3Address &multicastAddress, int interfaceId) |
void | addMulticastMembership (MulticastMembership *membership) |
void | deleteMulticastMembership (MulticastMembership *membership) |
Public Attributes | |
int | sockId = -1 |
int | appGateIndex = -1 |
bool | isBound = false |
bool | onlyLocalPortIsSet = false |
bool | reuseAddr = false |
L3Address | localAddr |
L3Address | remoteAddr |
int | localPort = -1 |
int | remotePort = -1 |
bool | isBroadcast = false |
int | multicastOutputInterfaceId = -1 |
bool | multicastLoop = DEFAULT_MULTICAST_LOOP |
int | ttl = -1 |
unsigned char | typeOfService = 0 |
MulticastMembershipTable | multicastMembershipTable |
inet::UDP::SockDesc::SockDesc | ( | int | sockId, |
int | appGateIndex | ||
) |
inet::UDP::SockDesc::~SockDesc | ( | ) |
void inet::UDP::SockDesc::addMulticastMembership | ( | MulticastMembership * | membership | ) |
Referenced by inet::UDP::joinMulticastGroups(), inet::UDP::joinMulticastSources(), and inet::UDP::setMulticastSourceFilter().
void inet::UDP::SockDesc::deleteMulticastMembership | ( | MulticastMembership * | membership | ) |
Referenced by inet::UDP::leaveMulticastSources().
UDP::MulticastMembershipTable::iterator inet::UDP::SockDesc::findFirstMulticastMembership | ( | const L3Address & | multicastAddress | ) |
Referenced by inet::UDP::findSocketsForMcastBcastPacket(), and inet::UDP::leaveMulticastGroups().
UDP::MulticastMembership * inet::UDP::SockDesc::findMulticastMembership | ( | const L3Address & | multicastAddress, |
int | interfaceId | ||
) |
Referenced by inet::UDP::blockMulticastSources(), inet::UDP::joinMulticastGroups(), inet::UDP::joinMulticastSources(), inet::UDP::leaveMulticastSources(), inet::UDP::setMulticastSourceFilter(), and inet::UDP::unblockMulticastSources().
int inet::UDP::SockDesc::appGateIndex = -1 |
bool inet::UDP::SockDesc::isBound = false |
Referenced by inet::UDP::bind(), and inet::UDP::createSocket().
bool inet::UDP::SockDesc::isBroadcast = false |
Referenced by inet::UDP::findSocketsForMcastBcastPacket(), and inet::UDP::setBroadcast().
L3Address inet::UDP::SockDesc::localAddr |
int inet::UDP::SockDesc::localPort = -1 |
bool inet::UDP::SockDesc::multicastLoop = DEFAULT_MULTICAST_LOOP |
Referenced by inet::UDP::MulticastMembership::isSourceAllowed(), and inet::UDP::setMulticastLoop().
MulticastMembershipTable inet::UDP::SockDesc::multicastMembershipTable |
Referenced by inet::UDP::findSocketsForMcastBcastPacket(), and inet::UDP::leaveMulticastGroups().
int inet::UDP::SockDesc::multicastOutputInterfaceId = -1 |
bool inet::UDP::SockDesc::onlyLocalPortIsSet = false |
Referenced by inet::UDP::connect(), inet::UDP::createSocket(), and inet::UDP::findSocketForUnicastPacket().
L3Address inet::UDP::SockDesc::remoteAddr |
int inet::UDP::SockDesc::remotePort = -1 |
bool inet::UDP::SockDesc::reuseAddr = false |
Referenced by inet::UDP::bind(), and inet::UDP::setReuseAddress().
int inet::UDP::SockDesc::sockId = -1 |
int inet::UDP::SockDesc::ttl = -1 |
Referenced by inet::UDP::setTimeToLive().
unsigned char inet::UDP::SockDesc::typeOfService = 0 |
Referenced by inet::UDP::setTypeOfService().