/[dynamips]/upstream/dynamips-0.2.6-RC3/dev_c7200.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /upstream/dynamips-0.2.6-RC3/dev_c7200.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/dynamips-0.2.5/dev_c7200.h revision 1 by dpavlin, Sat Oct 6 16:01:44 2007 UTC upstream/dynamips-0.2.6-RC1/dev_c7200.h revision 2 by dpavlin, Sat Oct 6 16:03:58 2007 UTC
# Line 115  typedef int (*c7200_pa_set_nio_fn)(c7200 Line 115  typedef int (*c7200_pa_set_nio_fn)(c7200
115  typedef int (*c7200_pa_unset_nio_fn)(c7200_t *router,u_int pa_bay,  typedef int (*c7200_pa_unset_nio_fn)(c7200_t *router,u_int pa_bay,
116                                       u_int port_id);                                       u_int port_id);
117    
118    /* Prototype of NM NIO show info function */
119    typedef int (*c7200_pa_show_info_fn)(c7200_t *router,u_int pa_bay);
120    
121  /* C7200 Port Adapter Driver */  /* C7200 Port Adapter Driver */
122  struct c7200_pa_driver {  struct c7200_pa_driver {
123     char *dev_type;     char *dev_type;
# Line 123  struct c7200_pa_driver { Line 126  struct c7200_pa_driver {
126     c7200_pa_shutdown_fn pa_shutdown;     c7200_pa_shutdown_fn pa_shutdown;
127     c7200_pa_set_nio_fn pa_set_nio;     c7200_pa_set_nio_fn pa_set_nio;
128     c7200_pa_unset_nio_fn pa_unset_nio;     c7200_pa_unset_nio_fn pa_unset_nio;
129       c7200_pa_show_info_fn pa_show_info;
130  };  };
131    
132  /* C7200 NIO binding to a slot/port */  /* C7200 NIO binding to a slot/port */
# Line 281  int c7200_pa_shutdown(c7200_t *router,u_ Line 285  int c7200_pa_shutdown(c7200_t *router,u_
285  /* Shutdown all PA of a router */  /* Shutdown all PA of a router */
286  int c7200_pa_shutdown_all(c7200_t *router);  int c7200_pa_shutdown_all(c7200_t *router);
287    
288    /* Show info about all NMs */
289    int c7200_pa_show_all_info(c7200_t *router);
290    
291  /* Create a Port Adapter (command line) */  /* Create a Port Adapter (command line) */
292  int c7200_cmd_pa_create(c7200_t *router,char *str);  int c7200_cmd_pa_create(c7200_t *router,char *str);
293    

Legend:
Removed from v.1  
changed lines
  Added in v.2

  ViewVC Help
Powered by ViewVC 1.1.26