reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::AddressMask Struct Reference

An IP address paired with a CIDR prefix length (number of mask bits), for use in address-based access control lists. More...

#include <Tuple.hxx>

Public Attributes

Tuple mAddress
 
short mMaskBits = 0
 

Detailed Description

An IP address paired with a CIDR prefix length (number of mask bits), for use in address-based access control lists.

The address is held in a Tuple (only its family and binary address are significant for matching; port and transport are ignored). mMaskBits is the number of leading bits that must match: 1..32 for IPv4, 1..128 for IPv6. Matching is performed with Tuple::isEqualWithMask.

Definition at line 313 of file Tuple.hxx.

Member Data Documentation

◆ mAddress

Tuple resip::AddressMask::mAddress

Definition at line 315 of file Tuple.hxx.

◆ mMaskBits

short resip::AddressMask::mMaskBits = 0

Definition at line 316 of file Tuple.hxx.


The documentation for this struct was generated from the following file: