~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c

  • Committer: Bazaar Package Importer
  • Author(s): Jochen Friedrich
  • Date: 2010-06-10 18:02:54 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100610180254-6ezvupl2clicwdqf
ImportĀ upstreamĀ versionĀ 5.4.3~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Note: this file originally auto-generated by mib2c using
3
3
 *       version : 1.67 $ of : mfd-interface.m2c,v $ 
4
4
 *
5
 
 * $Id: ipCidrRouteTable_interface.c 15781 2007-01-23 22:55:06Z rstory $
 
5
 * $Id: ipCidrRouteTable_interface.c 17684 2009-07-10 07:46:43Z jsafranek $
6
6
 */
7
7
/*
8
8
 * *********************************************************************
860
860
         */
861
861
    case COLUMN_IPCIDRROUTEDEST:
862
862
        var->type = ASN_IPADDRESS;
863
 
        var->val_len = sizeof(u_long);
 
863
        var->val_len = sizeof(in_addr_t);
864
864
        (*var->val.integer) = rowreq_ctx->tbl_idx.ipCidrRouteDest;
865
865
        break;
866
866
 
869
869
         */
870
870
    case COLUMN_IPCIDRROUTEMASK:
871
871
        var->type = ASN_IPADDRESS;
872
 
        var->val_len = sizeof(u_long);
 
872
        var->val_len = sizeof(in_addr_t);
873
873
        (*var->val.integer) = rowreq_ctx->tbl_idx.ipCidrRouteMask;
874
874
        break;
875
875
 
887
887
         */
888
888
    case COLUMN_IPCIDRROUTENEXTHOP:
889
889
        var->type = ASN_IPADDRESS;
890
 
        var->val_len = sizeof(u_long);
 
890
        var->val_len = sizeof(in_addr_t);
891
891
        (*var->val.integer) = rowreq_ctx->tbl_idx.ipCidrRouteNextHop;
892
892
        break;
893
893