LJ Archive

Listing 2. The mfcctl used by PIMd.

struct mfcctl
{
    /* Origin of mcast    */
    struct in_addr mfcc_origin;

    /* Group in question    */
    struct in_addr mfcc_mcastgrp;

    /* Where it arrived    */
    vifi_t    mfcc_parent;

    /* Where it is going    */
    unsigned char mfcc_ttls[MAXVIFS];

    /* pkt count for src-grp */
    unsigned int mfcc_pkt_cnt;
    unsigned int mfcc_byte_cnt;
    unsigned int mfcc_wrong_if;
    int         mfcc_expire;
};
LJ Archive