xorp

fea_ifmgr_xif.hh

00001 /*
00002  * obj/i386-pc-mingw32/xrl/interfaces/fea_ifmgr_xif.hh
00003  * vim:set sts=4 ts=8 ft=cpp:
00004  *
00005  * Copyright (c) 2001-2010 XORP, Inc and Others
00006  * See the XORP LICENSE.lgpl file for licensing, conditions, and warranties
00007  * on use.
00008  *
00009  * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED
00010  *
00011  * Generated by 'clnt-gen'.
00012  */
00013 
00014 #ifndef __XRL_INTERFACES_FEA_IFMGR_XIF_HH__
00015 #define __XRL_INTERFACES_FEA_IFMGR_XIF_HH__
00016 
00017 #undef XORP_LIBRARY_NAME
00018 #define XORP_LIBRARY_NAME "XifFeaIfmgr"
00019 
00020 #include "libxorp/xlog.h"
00021 #include "libxorp/callback.hh"
00022 
00023 #include "libxipc/xrl.hh"
00024 #include "libxipc/xrl_error.hh"
00025 #include "libxipc/xrl_sender.hh"
00026 
00027 //#include <memory>
00028 
00029 class XrlIfmgrV0p1Client {
00030 public:
00031     XrlIfmgrV0p1Client(XrlSender* s) : _sender(s) {}
00032     virtual ~XrlIfmgrV0p1Client() {}
00033 
00034     typedef XorpCallback1<void, const XrlError&>::RefPtr SetRestoreOriginalConfigOnShutdownCB;
00035 
00036     bool send_set_restore_original_config_on_shutdown(
00037     const char* dst_xrl_target_name,
00038     const bool& enable,
00039     const SetRestoreOriginalConfigOnShutdownCB& cb
00040     );
00041 
00042     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetConfiguredInterfaceNamesCB;
00043 
00044     bool send_get_configured_interface_names(
00045     const char* dst_xrl_target_name,
00046     const GetConfiguredInterfaceNamesCB&    cb
00047     );
00048 
00049     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetConfiguredVifNamesCB;
00050 
00051     bool send_get_configured_vif_names(
00052     const char* dst_xrl_target_name,
00053     const string&   ifname,
00054     const GetConfiguredVifNamesCB&  cb
00055     );
00056 
00057     typedef XorpCallback6<void, const XrlError&, const bool*, const bool*, const bool*, const bool*, const bool*>::RefPtr GetConfiguredVifFlagsCB;
00058 
00059     bool send_get_configured_vif_flags(
00060     const char* dst_xrl_target_name,
00061     const string&   ifname,
00062     const string&   vif,
00063     const GetConfiguredVifFlagsCB&  cb
00064     );
00065 
00066     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetConfiguredVifPifIndexCB;
00067 
00068     bool send_get_configured_vif_pif_index(
00069     const char* dst_xrl_target_name,
00070     const string&   ifname,
00071     const string&   vif,
00072     const GetConfiguredVifPifIndexCB&   cb
00073     );
00074 
00075     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetConfiguredVifAddresses4CB;
00076 
00077     bool send_get_configured_vif_addresses4(
00078     const char* dst_xrl_target_name,
00079     const string&   ifname,
00080     const string&   vif,
00081     const GetConfiguredVifAddresses4CB& cb
00082     );
00083 
00084     typedef XorpCallback6<void, const XrlError&, const bool*, const bool*, const bool*, const bool*, const bool*>::RefPtr GetConfiguredAddressFlags4CB;
00085 
00086     bool send_get_configured_address_flags4(
00087     const char* dst_xrl_target_name,
00088     const string&   ifname,
00089     const string&   vif,
00090     const IPv4& address,
00091     const GetConfiguredAddressFlags4CB& cb
00092     );
00093 
00094     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredInterfaceEnabledCB;
00095 
00096     bool send_get_configured_interface_enabled(
00097     const char* dst_xrl_target_name,
00098     const string&   ifname,
00099     const GetConfiguredInterfaceEnabledCB&  cb
00100     );
00101 
00102     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredInterfaceDiscardCB;
00103 
00104     bool send_get_configured_interface_discard(
00105     const char* dst_xrl_target_name,
00106     const string&   ifname,
00107     const GetConfiguredInterfaceDiscardCB&  cb
00108     );
00109 
00110     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredInterfaceUnreachableCB;
00111 
00112     bool send_get_configured_interface_unreachable(
00113     const char* dst_xrl_target_name,
00114     const string&   ifname,
00115     const GetConfiguredInterfaceUnreachableCB&  cb
00116     );
00117 
00118     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredInterfaceManagementCB;
00119 
00120     bool send_get_configured_interface_management(
00121     const char* dst_xrl_target_name,
00122     const string&   ifname,
00123     const GetConfiguredInterfaceManagementCB&   cb
00124     );
00125 
00126     typedef XorpCallback2<void, const XrlError&, const Mac*>::RefPtr GetConfiguredMacCB;
00127 
00128     bool send_get_configured_mac(
00129     const char* dst_xrl_target_name,
00130     const string&   ifname,
00131     const GetConfiguredMacCB&   cb
00132     );
00133 
00134     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetConfiguredMtuCB;
00135 
00136     bool send_get_configured_mtu(
00137     const char* dst_xrl_target_name,
00138     const string&   ifname,
00139     const GetConfiguredMtuCB&   cb
00140     );
00141 
00142     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredNoCarrierCB;
00143 
00144     bool send_get_configured_no_carrier(
00145     const char* dst_xrl_target_name,
00146     const string&   ifname,
00147     const GetConfiguredNoCarrierCB& cb
00148     );
00149 
00150     typedef XorpCallback2<void, const XrlError&, const uint64_t*>::RefPtr GetConfiguredBaudrateCB;
00151 
00152     bool send_get_configured_baudrate(
00153     const char* dst_xrl_target_name,
00154     const string&   ifname,
00155     const GetConfiguredBaudrateCB&  cb
00156     );
00157 
00158     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredVifEnabledCB;
00159 
00160     bool send_get_configured_vif_enabled(
00161     const char* dst_xrl_target_name,
00162     const string&   ifname,
00163     const string&   vif,
00164     const GetConfiguredVifEnabledCB&    cb
00165     );
00166 
00167     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetConfiguredPrefix4CB;
00168 
00169     bool send_get_configured_prefix4(
00170     const char* dst_xrl_target_name,
00171     const string&   ifname,
00172     const string&   vif,
00173     const IPv4& address,
00174     const GetConfiguredPrefix4CB&   cb
00175     );
00176 
00177     typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetConfiguredBroadcast4CB;
00178 
00179     bool send_get_configured_broadcast4(
00180     const char* dst_xrl_target_name,
00181     const string&   ifname,
00182     const string&   vif,
00183     const IPv4& address,
00184     const GetConfiguredBroadcast4CB&    cb
00185     );
00186 
00187     typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetConfiguredEndpoint4CB;
00188 
00189     bool send_get_configured_endpoint4(
00190     const char* dst_xrl_target_name,
00191     const string&   ifname,
00192     const string&   vif,
00193     const IPv4& address,
00194     const GetConfiguredEndpoint4CB& cb
00195     );
00196 
00197     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr StartTransactionCB;
00198 
00199     bool send_start_transaction(
00200     const char* dst_xrl_target_name,
00201     const StartTransactionCB&   cb
00202     );
00203 
00204     typedef XorpCallback1<void, const XrlError&>::RefPtr CommitTransactionCB;
00205 
00206     bool send_commit_transaction(
00207     const char* dst_xrl_target_name,
00208     const uint32_t& tid,
00209     const CommitTransactionCB&  cb
00210     );
00211 
00212     typedef XorpCallback1<void, const XrlError&>::RefPtr AbortTransactionCB;
00213 
00214     bool send_abort_transaction(
00215     const char* dst_xrl_target_name,
00216     const uint32_t& tid,
00217     const AbortTransactionCB&   cb
00218     );
00219 
00220     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateInterfaceCB;
00221 
00222     bool send_create_interface(
00223     const char* dst_xrl_target_name,
00224     const uint32_t& tid,
00225     const string&   ifname,
00226     const CreateInterfaceCB&    cb
00227     );
00228 
00229     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteInterfaceCB;
00230 
00231     bool send_delete_interface(
00232     const char* dst_xrl_target_name,
00233     const uint32_t& tid,
00234     const string&   ifname,
00235     const DeleteInterfaceCB&    cb
00236     );
00237 
00238     typedef XorpCallback1<void, const XrlError&>::RefPtr ConfigureAllInterfacesFromSystemCB;
00252     bool send_configure_all_interfaces_from_system(
00253     const char* dst_xrl_target_name,
00254     const uint32_t& tid,
00255     const bool& enable,
00256     const ConfigureAllInterfacesFromSystemCB&   cb
00257     );
00258 
00259     typedef XorpCallback1<void, const XrlError&>::RefPtr ConfigureInterfaceFromSystemCB;
00275     bool send_configure_interface_from_system(
00276     const char* dst_xrl_target_name,
00277     const uint32_t& tid,
00278     const string&   ifname,
00279     const bool& enable,
00280     const ConfigureInterfaceFromSystemCB&   cb
00281     );
00282 
00283     typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceEnabledCB;
00284 
00285     bool send_set_interface_enabled(
00286     const char* dst_xrl_target_name,
00287     const uint32_t& tid,
00288     const string&   ifname,
00289     const bool& enabled,
00290     const SetInterfaceEnabledCB&    cb
00291     );
00292 
00293     typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceDiscardCB;
00294 
00295     bool send_set_interface_discard(
00296     const char* dst_xrl_target_name,
00297     const uint32_t& tid,
00298     const string&   ifname,
00299     const bool& discard,
00300     const SetInterfaceDiscardCB&    cb
00301     );
00302 
00303     typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceUnreachableCB;
00304 
00305     bool send_set_interface_unreachable(
00306     const char* dst_xrl_target_name,
00307     const uint32_t& tid,
00308     const string&   ifname,
00309     const bool& unreachable,
00310     const SetInterfaceUnreachableCB&    cb
00311     );
00312 
00313     typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceManagementCB;
00314 
00315     bool send_set_interface_management(
00316     const char* dst_xrl_target_name,
00317     const uint32_t& tid,
00318     const string&   ifname,
00319     const bool& management,
00320     const SetInterfaceManagementCB& cb
00321     );
00322 
00323     typedef XorpCallback1<void, const XrlError&>::RefPtr SetMacCB;
00324 
00325     bool send_set_mac(
00326     const char* dst_xrl_target_name,
00327     const uint32_t& tid,
00328     const string&   ifname,
00329     const Mac&  mac,
00330     const SetMacCB& cb
00331     );
00332 
00333     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateMacCB;
00334 
00335     bool send_create_mac(
00336     const char* dst_xrl_target_name,
00337     const string&   ifname,
00338     const Mac&  mac,
00339     const CreateMacCB&  cb
00340     );
00341 
00342     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMacCB;
00343 
00344     bool send_delete_mac(
00345     const char* dst_xrl_target_name,
00346     const string&   ifname,
00347     const Mac&  mac,
00348     const DeleteMacCB&  cb
00349     );
00350 
00351     typedef XorpCallback1<void, const XrlError&>::RefPtr RestoreOriginalMacCB;
00352 
00353     bool send_restore_original_mac(
00354     const char* dst_xrl_target_name,
00355     const uint32_t& tid,
00356     const string&   ifname,
00357     const RestoreOriginalMacCB& cb
00358     );
00359 
00360     typedef XorpCallback1<void, const XrlError&>::RefPtr SetMtuCB;
00361 
00362     bool send_set_mtu(
00363     const char* dst_xrl_target_name,
00364     const uint32_t& tid,
00365     const string&   ifname,
00366     const uint32_t& mtu,
00367     const SetMtuCB& cb
00368     );
00369 
00370     typedef XorpCallback1<void, const XrlError&>::RefPtr RestoreOriginalMtuCB;
00371 
00372     bool send_restore_original_mtu(
00373     const char* dst_xrl_target_name,
00374     const uint32_t& tid,
00375     const string&   ifname,
00376     const RestoreOriginalMtuCB& cb
00377     );
00378 
00379     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateVifCB;
00393     bool send_create_vif(
00394     const char* dst_xrl_target_name,
00395     const uint32_t& tid,
00396     const string&   ifname,
00397     const string&   vif,
00398     const CreateVifCB&  cb
00399     );
00400 
00401     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifCB;
00402 
00403     bool send_delete_vif(
00404     const char* dst_xrl_target_name,
00405     const uint32_t& tid,
00406     const string&   ifname,
00407     const string&   vif,
00408     const DeleteVifCB&  cb
00409     );
00410 
00411     typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifEnabledCB;
00412 
00413     bool send_set_vif_enabled(
00414     const char* dst_xrl_target_name,
00415     const uint32_t& tid,
00416     const string&   ifname,
00417     const string&   vif,
00418     const bool& enabled,
00419     const SetVifEnabledCB&  cb
00420     );
00421 
00422     typedef XorpCallback1<void, const XrlError&>::RefPtr SetParentIfnameCB;
00423 
00424     bool send_set_parent_ifname(
00425     const char* dst_xrl_target_name,
00426     const uint32_t& tid,
00427     const string&   ifname,
00428     const string&   parent_ifname,
00429     const SetParentIfnameCB&    cb
00430     );
00431 
00432     typedef XorpCallback1<void, const XrlError&>::RefPtr SetIfaceTypeCB;
00433 
00434     bool send_set_iface_type(
00435     const char* dst_xrl_target_name,
00436     const uint32_t& tid,
00437     const string&   ifname,
00438     const string&   iface_type,
00439     const SetIfaceTypeCB&   cb
00440     );
00441 
00442     typedef XorpCallback1<void, const XrlError&>::RefPtr SetVidCB;
00443 
00444     bool send_set_vid(
00445     const char* dst_xrl_target_name,
00446     const uint32_t& tid,
00447     const string&   ifname,
00448     const string&   vid,
00449     const SetVidCB& cb
00450     );
00451 
00452     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateAddress4CB;
00453 
00454     bool send_create_address4(
00455     const char* dst_xrl_target_name,
00456     const uint32_t& tid,
00457     const string&   ifname,
00458     const string&   vif,
00459     const IPv4& address,
00460     const CreateAddress4CB& cb
00461     );
00462 
00463     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAddress4CB;
00464 
00465     bool send_delete_address4(
00466     const char* dst_xrl_target_name,
00467     const uint32_t& tid,
00468     const string&   ifname,
00469     const string&   vif,
00470     const IPv4& address,
00471     const DeleteAddress4CB& cb
00472     );
00473 
00474     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateAddressAtomicCB;
00475 
00476     bool send_create_address_atomic(
00477     const char* dst_xrl_target_name,
00478     const string&   ifname,
00479     const string&   vif,
00480     const IPv4& address,
00481     const uint32_t& prefix_length,
00482     const CreateAddressAtomicCB&    cb
00483     );
00484 
00485     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAddressAtomicCB;
00486 
00487     bool send_delete_address_atomic(
00488     const char* dst_xrl_target_name,
00489     const string&   ifname,
00490     const string&   vif,
00491     const IPv4& address,
00492     const DeleteAddressAtomicCB&    cb
00493     );
00494 
00495     typedef XorpCallback1<void, const XrlError&>::RefPtr SetAddressEnabled4CB;
00496 
00497     bool send_set_address_enabled4(
00498     const char* dst_xrl_target_name,
00499     const uint32_t& tid,
00500     const string&   ifname,
00501     const string&   vif,
00502     const IPv4& address,
00503     const bool& enabled,
00504     const SetAddressEnabled4CB& cb
00505     );
00506 
00507     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredAddressEnabled4CB;
00508 
00509     bool send_get_configured_address_enabled4(
00510     const char* dst_xrl_target_name,
00511     const string&   ifname,
00512     const string&   vif,
00513     const IPv4& address,
00514     const GetConfiguredAddressEnabled4CB&   cb
00515     );
00516 
00517     typedef XorpCallback1<void, const XrlError&>::RefPtr SetPrefix4CB;
00518 
00519     bool send_set_prefix4(
00520     const char* dst_xrl_target_name,
00521     const uint32_t& tid,
00522     const string&   ifname,
00523     const string&   vif,
00524     const IPv4& address,
00525     const uint32_t& prefix_len,
00526     const SetPrefix4CB& cb
00527     );
00528 
00529     typedef XorpCallback1<void, const XrlError&>::RefPtr SetBroadcast4CB;
00530 
00531     bool send_set_broadcast4(
00532     const char* dst_xrl_target_name,
00533     const uint32_t& tid,
00534     const string&   ifname,
00535     const string&   vif,
00536     const IPv4& address,
00537     const IPv4& broadcast,
00538     const SetBroadcast4CB&  cb
00539     );
00540 
00541     typedef XorpCallback1<void, const XrlError&>::RefPtr SetEndpoint4CB;
00542 
00543     bool send_set_endpoint4(
00544     const char* dst_xrl_target_name,
00545     const uint32_t& tid,
00546     const string&   ifname,
00547     const string&   vif,
00548     const IPv4& address,
00549     const IPv4& endpoint,
00550     const SetEndpoint4CB&   cb
00551     );
00552 
00553     typedef XorpCallback1<void, const XrlError&>::RefPtr StartupIfmgrCB;
00554 
00555     bool send_startup_ifmgr(
00556     const char* dst_xrl_target_name,
00557     const StartupIfmgrCB&   cb
00558     );
00559 
00560     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetConfiguredVifAddresses6CB;
00561 
00562     bool send_get_configured_vif_addresses6(
00563     const char* dst_xrl_target_name,
00564     const string&   ifname,
00565     const string&   vif,
00566     const GetConfiguredVifAddresses6CB& cb
00567     );
00568 
00569     typedef XorpCallback5<void, const XrlError&, const bool*, const bool*, const bool*, const bool*>::RefPtr GetConfiguredAddressFlags6CB;
00570 
00571     bool send_get_configured_address_flags6(
00572     const char* dst_xrl_target_name,
00573     const string&   ifname,
00574     const string&   vif,
00575     const IPv6& address,
00576     const GetConfiguredAddressFlags6CB& cb
00577     );
00578 
00579     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetConfiguredPrefix6CB;
00580 
00581     bool send_get_configured_prefix6(
00582     const char* dst_xrl_target_name,
00583     const string&   ifname,
00584     const string&   vif,
00585     const IPv6& address,
00586     const GetConfiguredPrefix6CB&   cb
00587     );
00588 
00589     typedef XorpCallback2<void, const XrlError&, const IPv6*>::RefPtr GetConfiguredEndpoint6CB;
00590 
00591     bool send_get_configured_endpoint6(
00592     const char* dst_xrl_target_name,
00593     const string&   ifname,
00594     const string&   vif,
00595     const IPv6& address,
00596     const GetConfiguredEndpoint6CB& cb
00597     );
00598 
00599     typedef XorpCallback1<void, const XrlError&>::RefPtr CreateAddress6CB;
00600 
00601     bool send_create_address6(
00602     const char* dst_xrl_target_name,
00603     const uint32_t& tid,
00604     const string&   ifname,
00605     const string&   vif,
00606     const IPv6& address,
00607     const CreateAddress6CB& cb
00608     );
00609 
00610     typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAddress6CB;
00611 
00612     bool send_delete_address6(
00613     const char* dst_xrl_target_name,
00614     const uint32_t& tid,
00615     const string&   ifname,
00616     const string&   vif,
00617     const IPv6& address,
00618     const DeleteAddress6CB& cb
00619     );
00620 
00621     typedef XorpCallback1<void, const XrlError&>::RefPtr SetAddressEnabled6CB;
00622 
00623     bool send_set_address_enabled6(
00624     const char* dst_xrl_target_name,
00625     const uint32_t& tid,
00626     const string&   ifname,
00627     const string&   vif,
00628     const IPv6& address,
00629     const bool& enabled,
00630     const SetAddressEnabled6CB& cb
00631     );
00632 
00633     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetConfiguredAddressEnabled6CB;
00634 
00635     bool send_get_configured_address_enabled6(
00636     const char* dst_xrl_target_name,
00637     const string&   ifname,
00638     const string&   vif,
00639     const IPv6& address,
00640     const GetConfiguredAddressEnabled6CB&   cb
00641     );
00642 
00643     typedef XorpCallback1<void, const XrlError&>::RefPtr SetPrefix6CB;
00644 
00645     bool send_set_prefix6(
00646     const char* dst_xrl_target_name,
00647     const uint32_t& tid,
00648     const string&   ifname,
00649     const string&   vif,
00650     const IPv6& address,
00651     const uint32_t& prefix_len,
00652     const SetPrefix6CB& cb
00653     );
00654 
00655     typedef XorpCallback1<void, const XrlError&>::RefPtr SetEndpoint6CB;
00656 
00657     bool send_set_endpoint6(
00658     const char* dst_xrl_target_name,
00659     const uint32_t& tid,
00660     const string&   ifname,
00661     const string&   vif,
00662     const IPv6& address,
00663     const IPv6& endpoint,
00664     const SetEndpoint6CB&   cb
00665     );
00666 
00667 protected:
00668     XrlSender* _sender;
00669 
00670 private:
00671     static void unmarshall_set_restore_original_config_on_shutdown(
00672     const XrlError& e,
00673     XrlArgs*    a,
00674     SetRestoreOriginalConfigOnShutdownCB        cb
00675     );
00676 
00677     static void unmarshall_get_configured_interface_names(
00678     const XrlError& e,
00679     XrlArgs*    a,
00680     GetConfiguredInterfaceNamesCB       cb
00681     );
00682 
00683     static void unmarshall_get_configured_vif_names(
00684     const XrlError& e,
00685     XrlArgs*    a,
00686     GetConfiguredVifNamesCB     cb
00687     );
00688 
00689     static void unmarshall_get_configured_vif_flags(
00690     const XrlError& e,
00691     XrlArgs*    a,
00692     GetConfiguredVifFlagsCB     cb
00693     );
00694 
00695     static void unmarshall_get_configured_vif_pif_index(
00696     const XrlError& e,
00697     XrlArgs*    a,
00698     GetConfiguredVifPifIndexCB      cb
00699     );
00700 
00701     static void unmarshall_get_configured_vif_addresses4(
00702     const XrlError& e,
00703     XrlArgs*    a,
00704     GetConfiguredVifAddresses4CB        cb
00705     );
00706 
00707     static void unmarshall_get_configured_address_flags4(
00708     const XrlError& e,
00709     XrlArgs*    a,
00710     GetConfiguredAddressFlags4CB        cb
00711     );
00712 
00713     static void unmarshall_get_configured_interface_enabled(
00714     const XrlError& e,
00715     XrlArgs*    a,
00716     GetConfiguredInterfaceEnabledCB     cb
00717     );
00718 
00719     static void unmarshall_get_configured_interface_discard(
00720     const XrlError& e,
00721     XrlArgs*    a,
00722     GetConfiguredInterfaceDiscardCB     cb
00723     );
00724 
00725     static void unmarshall_get_configured_interface_unreachable(
00726     const XrlError& e,
00727     XrlArgs*    a,
00728     GetConfiguredInterfaceUnreachableCB     cb
00729     );
00730 
00731     static void unmarshall_get_configured_interface_management(
00732     const XrlError& e,
00733     XrlArgs*    a,
00734     GetConfiguredInterfaceManagementCB      cb
00735     );
00736 
00737     static void unmarshall_get_configured_mac(
00738     const XrlError& e,
00739     XrlArgs*    a,
00740     GetConfiguredMacCB      cb
00741     );
00742 
00743     static void unmarshall_get_configured_mtu(
00744     const XrlError& e,
00745     XrlArgs*    a,
00746     GetConfiguredMtuCB      cb
00747     );
00748 
00749     static void unmarshall_get_configured_no_carrier(
00750     const XrlError& e,
00751     XrlArgs*    a,
00752     GetConfiguredNoCarrierCB        cb
00753     );
00754 
00755     static void unmarshall_get_configured_baudrate(
00756     const XrlError& e,
00757     XrlArgs*    a,
00758     GetConfiguredBaudrateCB     cb
00759     );
00760 
00761     static void unmarshall_get_configured_vif_enabled(
00762     const XrlError& e,
00763     XrlArgs*    a,
00764     GetConfiguredVifEnabledCB       cb
00765     );
00766 
00767     static void unmarshall_get_configured_prefix4(
00768     const XrlError& e,
00769     XrlArgs*    a,
00770     GetConfiguredPrefix4CB      cb
00771     );
00772 
00773     static void unmarshall_get_configured_broadcast4(
00774     const XrlError& e,
00775     XrlArgs*    a,
00776     GetConfiguredBroadcast4CB       cb
00777     );
00778 
00779     static void unmarshall_get_configured_endpoint4(
00780     const XrlError& e,
00781     XrlArgs*    a,
00782     GetConfiguredEndpoint4CB        cb
00783     );
00784 
00785     static void unmarshall_start_transaction(
00786     const XrlError& e,
00787     XrlArgs*    a,
00788     StartTransactionCB      cb
00789     );
00790 
00791     static void unmarshall_commit_transaction(
00792     const XrlError& e,
00793     XrlArgs*    a,
00794     CommitTransactionCB     cb
00795     );
00796 
00797     static void unmarshall_abort_transaction(
00798     const XrlError& e,
00799     XrlArgs*    a,
00800     AbortTransactionCB      cb
00801     );
00802 
00803     static void unmarshall_create_interface(
00804     const XrlError& e,
00805     XrlArgs*    a,
00806     CreateInterfaceCB       cb
00807     );
00808 
00809     static void unmarshall_delete_interface(
00810     const XrlError& e,
00811     XrlArgs*    a,
00812     DeleteInterfaceCB       cb
00813     );
00814 
00815     static void unmarshall_configure_all_interfaces_from_system(
00816     const XrlError& e,
00817     XrlArgs*    a,
00818     ConfigureAllInterfacesFromSystemCB      cb
00819     );
00820 
00821     static void unmarshall_configure_interface_from_system(
00822     const XrlError& e,
00823     XrlArgs*    a,
00824     ConfigureInterfaceFromSystemCB      cb
00825     );
00826 
00827     static void unmarshall_set_interface_enabled(
00828     const XrlError& e,
00829     XrlArgs*    a,
00830     SetInterfaceEnabledCB       cb
00831     );
00832 
00833     static void unmarshall_set_interface_discard(
00834     const XrlError& e,
00835     XrlArgs*    a,
00836     SetInterfaceDiscardCB       cb
00837     );
00838 
00839     static void unmarshall_set_interface_unreachable(
00840     const XrlError& e,
00841     XrlArgs*    a,
00842     SetInterfaceUnreachableCB       cb
00843     );
00844 
00845     static void unmarshall_set_interface_management(
00846     const XrlError& e,
00847     XrlArgs*    a,
00848     SetInterfaceManagementCB        cb
00849     );
00850 
00851     static void unmarshall_set_mac(
00852     const XrlError& e,
00853     XrlArgs*    a,
00854     SetMacCB        cb
00855     );
00856 
00857     static void unmarshall_create_mac(
00858     const XrlError& e,
00859     XrlArgs*    a,
00860     CreateMacCB     cb
00861     );
00862 
00863     static void unmarshall_delete_mac(
00864     const XrlError& e,
00865     XrlArgs*    a,
00866     DeleteMacCB     cb
00867     );
00868 
00869     static void unmarshall_restore_original_mac(
00870     const XrlError& e,
00871     XrlArgs*    a,
00872     RestoreOriginalMacCB        cb
00873     );
00874 
00875     static void unmarshall_set_mtu(
00876     const XrlError& e,
00877     XrlArgs*    a,
00878     SetMtuCB        cb
00879     );
00880 
00881     static void unmarshall_restore_original_mtu(
00882     const XrlError& e,
00883     XrlArgs*    a,
00884     RestoreOriginalMtuCB        cb
00885     );
00886 
00887     static void unmarshall_create_vif(
00888     const XrlError& e,
00889     XrlArgs*    a,
00890     CreateVifCB     cb
00891     );
00892 
00893     static void unmarshall_delete_vif(
00894     const XrlError& e,
00895     XrlArgs*    a,
00896     DeleteVifCB     cb
00897     );
00898 
00899     static void unmarshall_set_vif_enabled(
00900     const XrlError& e,
00901     XrlArgs*    a,
00902     SetVifEnabledCB     cb
00903     );
00904 
00905     static void unmarshall_set_parent_ifname(
00906     const XrlError& e,
00907     XrlArgs*    a,
00908     SetParentIfnameCB       cb
00909     );
00910 
00911     static void unmarshall_set_iface_type(
00912     const XrlError& e,
00913     XrlArgs*    a,
00914     SetIfaceTypeCB      cb
00915     );
00916 
00917     static void unmarshall_set_vid(
00918     const XrlError& e,
00919     XrlArgs*    a,
00920     SetVidCB        cb
00921     );
00922 
00923     static void unmarshall_create_address4(
00924     const XrlError& e,
00925     XrlArgs*    a,
00926     CreateAddress4CB        cb
00927     );
00928 
00929     static void unmarshall_delete_address4(
00930     const XrlError& e,
00931     XrlArgs*    a,
00932     DeleteAddress4CB        cb
00933     );
00934 
00935     static void unmarshall_create_address_atomic(
00936     const XrlError& e,
00937     XrlArgs*    a,
00938     CreateAddressAtomicCB       cb
00939     );
00940 
00941     static void unmarshall_delete_address_atomic(
00942     const XrlError& e,
00943     XrlArgs*    a,
00944     DeleteAddressAtomicCB       cb
00945     );
00946 
00947     static void unmarshall_set_address_enabled4(
00948     const XrlError& e,
00949     XrlArgs*    a,
00950     SetAddressEnabled4CB        cb
00951     );
00952 
00953     static void unmarshall_get_configured_address_enabled4(
00954     const XrlError& e,
00955     XrlArgs*    a,
00956     GetConfiguredAddressEnabled4CB      cb
00957     );
00958 
00959     static void unmarshall_set_prefix4(
00960     const XrlError& e,
00961     XrlArgs*    a,
00962     SetPrefix4CB        cb
00963     );
00964 
00965     static void unmarshall_set_broadcast4(
00966     const XrlError& e,
00967     XrlArgs*    a,
00968     SetBroadcast4CB     cb
00969     );
00970 
00971     static void unmarshall_set_endpoint4(
00972     const XrlError& e,
00973     XrlArgs*    a,
00974     SetEndpoint4CB      cb
00975     );
00976 
00977     static void unmarshall_startup_ifmgr(
00978     const XrlError& e,
00979     XrlArgs*    a,
00980     StartupIfmgrCB      cb
00981     );
00982 
00983     static void unmarshall_get_configured_vif_addresses6(
00984     const XrlError& e,
00985     XrlArgs*    a,
00986     GetConfiguredVifAddresses6CB        cb
00987     );
00988 
00989     static void unmarshall_get_configured_address_flags6(
00990     const XrlError& e,
00991     XrlArgs*    a,
00992     GetConfiguredAddressFlags6CB        cb
00993     );
00994 
00995     static void unmarshall_get_configured_prefix6(
00996     const XrlError& e,
00997     XrlArgs*    a,
00998     GetConfiguredPrefix6CB      cb
00999     );
01000 
01001     static void unmarshall_get_configured_endpoint6(
01002     const XrlError& e,
01003     XrlArgs*    a,
01004     GetConfiguredEndpoint6CB        cb
01005     );
01006 
01007     static void unmarshall_create_address6(
01008     const XrlError& e,
01009     XrlArgs*    a,
01010     CreateAddress6CB        cb
01011     );
01012 
01013     static void unmarshall_delete_address6(
01014     const XrlError& e,
01015     XrlArgs*    a,
01016     DeleteAddress6CB        cb
01017     );
01018 
01019     static void unmarshall_set_address_enabled6(
01020     const XrlError& e,
01021     XrlArgs*    a,
01022     SetAddressEnabled6CB        cb
01023     );
01024 
01025     static void unmarshall_get_configured_address_enabled6(
01026     const XrlError& e,
01027     XrlArgs*    a,
01028     GetConfiguredAddressEnabled6CB      cb
01029     );
01030 
01031     static void unmarshall_set_prefix6(
01032     const XrlError& e,
01033     XrlArgs*    a,
01034     SetPrefix6CB        cb
01035     );
01036 
01037     static void unmarshall_set_endpoint6(
01038     const XrlError& e,
01039     XrlArgs*    a,
01040     SetEndpoint6CB      cb
01041     );
01042 
01043 private:
01044     /* Declare cached Xrl pointers */
01045     auto_ptr<Xrl> ap_xrl_set_restore_original_config_on_shutdown;
01046     auto_ptr<Xrl> ap_xrl_get_configured_interface_names;
01047     auto_ptr<Xrl> ap_xrl_get_configured_vif_names;
01048     auto_ptr<Xrl> ap_xrl_get_configured_vif_flags;
01049     auto_ptr<Xrl> ap_xrl_get_configured_vif_pif_index;
01050     auto_ptr<Xrl> ap_xrl_get_configured_vif_addresses4;
01051     auto_ptr<Xrl> ap_xrl_get_configured_address_flags4;
01052     auto_ptr<Xrl> ap_xrl_get_configured_interface_enabled;
01053     auto_ptr<Xrl> ap_xrl_get_configured_interface_discard;
01054     auto_ptr<Xrl> ap_xrl_get_configured_interface_unreachable;
01055     auto_ptr<Xrl> ap_xrl_get_configured_interface_management;
01056     auto_ptr<Xrl> ap_xrl_get_configured_mac;
01057     auto_ptr<Xrl> ap_xrl_get_configured_mtu;
01058     auto_ptr<Xrl> ap_xrl_get_configured_no_carrier;
01059     auto_ptr<Xrl> ap_xrl_get_configured_baudrate;
01060     auto_ptr<Xrl> ap_xrl_get_configured_vif_enabled;
01061     auto_ptr<Xrl> ap_xrl_get_configured_prefix4;
01062     auto_ptr<Xrl> ap_xrl_get_configured_broadcast4;
01063     auto_ptr<Xrl> ap_xrl_get_configured_endpoint4;
01064     auto_ptr<Xrl> ap_xrl_start_transaction;
01065     auto_ptr<Xrl> ap_xrl_commit_transaction;
01066     auto_ptr<Xrl> ap_xrl_abort_transaction;
01067     auto_ptr<Xrl> ap_xrl_create_interface;
01068     auto_ptr<Xrl> ap_xrl_delete_interface;
01069     auto_ptr<Xrl> ap_xrl_configure_all_interfaces_from_system;
01070     auto_ptr<Xrl> ap_xrl_configure_interface_from_system;
01071     auto_ptr<Xrl> ap_xrl_set_interface_enabled;
01072     auto_ptr<Xrl> ap_xrl_set_interface_discard;
01073     auto_ptr<Xrl> ap_xrl_set_interface_unreachable;
01074     auto_ptr<Xrl> ap_xrl_set_interface_management;
01075     auto_ptr<Xrl> ap_xrl_set_mac;
01076     auto_ptr<Xrl> ap_xrl_create_mac;
01077     auto_ptr<Xrl> ap_xrl_delete_mac;
01078     auto_ptr<Xrl> ap_xrl_restore_original_mac;
01079     auto_ptr<Xrl> ap_xrl_set_mtu;
01080     auto_ptr<Xrl> ap_xrl_restore_original_mtu;
01081     auto_ptr<Xrl> ap_xrl_create_vif;
01082     auto_ptr<Xrl> ap_xrl_delete_vif;
01083     auto_ptr<Xrl> ap_xrl_set_vif_enabled;
01084     auto_ptr<Xrl> ap_xrl_set_parent_ifname;
01085     auto_ptr<Xrl> ap_xrl_set_iface_type;
01086     auto_ptr<Xrl> ap_xrl_set_vid;
01087     auto_ptr<Xrl> ap_xrl_create_address4;
01088     auto_ptr<Xrl> ap_xrl_delete_address4;
01089     auto_ptr<Xrl> ap_xrl_create_address_atomic;
01090     auto_ptr<Xrl> ap_xrl_delete_address_atomic;
01091     auto_ptr<Xrl> ap_xrl_set_address_enabled4;
01092     auto_ptr<Xrl> ap_xrl_get_configured_address_enabled4;
01093     auto_ptr<Xrl> ap_xrl_set_prefix4;
01094     auto_ptr<Xrl> ap_xrl_set_broadcast4;
01095     auto_ptr<Xrl> ap_xrl_set_endpoint4;
01096     auto_ptr<Xrl> ap_xrl_startup_ifmgr;
01097     auto_ptr<Xrl> ap_xrl_get_configured_vif_addresses6;
01098     auto_ptr<Xrl> ap_xrl_get_configured_address_flags6;
01099     auto_ptr<Xrl> ap_xrl_get_configured_prefix6;
01100     auto_ptr<Xrl> ap_xrl_get_configured_endpoint6;
01101     auto_ptr<Xrl> ap_xrl_create_address6;
01102     auto_ptr<Xrl> ap_xrl_delete_address6;
01103     auto_ptr<Xrl> ap_xrl_set_address_enabled6;
01104     auto_ptr<Xrl> ap_xrl_get_configured_address_enabled6;
01105     auto_ptr<Xrl> ap_xrl_set_prefix6;
01106     auto_ptr<Xrl> ap_xrl_set_endpoint6;
01107 };
01108 
01109 #endif /* __XRL_INTERFACES_FEA_IFMGR_XIF_HH__ */
 All Classes Namespaces Functions Variables Typedefs Enumerations