[Openswan dev] Purpose of selector structure

SaRaVanAn saravanan.nagarajan87 at gmail.com
Thu Sep 29 07:48:44 EDT 2011


Hi all,
    Can anyone explain the purpose of this structure in xfrm.h?

struct xfrm_selector
{
    xfrm_address_t    daddr;
    xfrm_address_t    saddr;
    uint16_t    dport;
    uint16_t    dport_mask;
    uint16_t    sport;
    uint16_t    sport_mask;
    uint16_t    family;
    uint8_t        prefixlen_d;
    uint8_t        prefixlen_s;
    uint8_t        proto;
    int        ifindex;
    uid_t        user;
};

Regards,
Saravanan N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/dev/attachments/20110929/bd9dee27/attachment.html 


More information about the Dev mailing list