[vyatta-svn] xorp: Changes to 'icsi-cvsimport'
Tom Grennan
tgrennan at suva.vyatta.com
Fri Jun 8 18:47:34 PDT 2007
fea/click_socket.cc | 1316 ----
fea/click_socket.hh | 636 --
fea/fti_transaction.cc | 73
fea/fti_transaction.hh | 248
fea/fticonfig.cc | 2435 ---------
fea/fticonfig.hh | 829 ---
fea/fticonfig_entry_get.cc | 82
fea/fticonfig_entry_get.hh | 611 --
fea/fticonfig_entry_get_click.cc | 233
fea/fticonfig_entry_get_dummy.cc | 159
fea/fticonfig_entry_get_iphelper.cc | 399 -
fea/fticonfig_entry_get_netlink.cc | 313 -
fea/fticonfig_entry_get_rtmv2.cc | 481 -
fea/fticonfig_entry_get_rtsock.cc | 461 -
fea/fticonfig_entry_observer.cc | 59
fea/fticonfig_entry_observer.hh | 232
fea/fticonfig_entry_observer_dummy.cc | 94
fea/fticonfig_entry_observer_iphelper.cc | 92
fea/fticonfig_entry_observer_netlink.cc | 137
fea/fticonfig_entry_observer_rtmv2.cc | 110
fea/fticonfig_entry_observer_rtsock.cc | 99
fea/fticonfig_entry_parse_nlm.cc | 133
fea/fticonfig_entry_parse_rtm.cc | 116
fea/fticonfig_entry_set.cc | 70
fea/fticonfig_entry_set.hh | 612 --
fea/fticonfig_entry_set_click.cc | 576 --
fea/fticonfig_entry_set_dummy.cc | 159
fea/fticonfig_entry_set_iphelper.cc | 375 -
fea/fticonfig_entry_set_netlink.cc | 488 -
fea/fticonfig_entry_set_rtmv2.cc | 371 -
fea/fticonfig_entry_set_rtsock.cc | 554 --
fea/fticonfig_table_get.cc | 82
fea/fticonfig_table_get.hh | 412 -
fea/fticonfig_table_get_click.cc | 128
fea/fticonfig_table_get_dummy.cc | 102
fea/fticonfig_table_get_iphelper.cc | 223
fea/fticonfig_table_get_netlink.cc | 230
fea/fticonfig_table_get_sysctl.cc | 199
fea/fticonfig_table_observer.cc | 142
fea/fticonfig_table_observer.hh | 312 -
fea/fticonfig_table_observer_dummy.cc | 93
fea/fticonfig_table_observer_iphelper.cc | 90
fea/fticonfig_table_observer_netlink.cc | 162
fea/fticonfig_table_observer_rtmv2.cc | 163
fea/fticonfig_table_observer_rtsock.cc | 131
fea/fticonfig_table_parse_nlm.cc | 142
fea/fticonfig_table_parse_rtm.cc | 138
fea/fticonfig_table_set.cc | 83
fea/fticonfig_table_set.hh | 538 --
fea/fticonfig_table_set_click.cc | 172
fea/fticonfig_table_set_dummy.cc | 128
fea/fticonfig_table_set_iphelper.cc | 178
fea/fticonfig_table_set_netlink.cc | 166
fea/fticonfig_table_set_rtmv2.cc | 166
fea/fticonfig_table_set_rtsock.cc | 166
fea/ifconfig_get.cc | 169
fea/ifconfig_get_click.cc | 112
fea/ifconfig_get_dummy.cc | 86
fea/ifconfig_get_getifaddrs.cc | 115
fea/ifconfig_get_ioctl.cc | 227
fea/ifconfig_get_iphelper.cc | 277 -
fea/ifconfig_get_netlink.cc | 319 -
fea/ifconfig_get_proc_linux.cc | 538 --
fea/ifconfig_get_sysctl.cc | 148
fea/ifconfig_media.cc | 215
fea/ifconfig_media.hh | 24
fea/ifconfig_observer.cc | 56
fea/ifconfig_observer_dummy.cc | 92
fea/ifconfig_observer_iphelper.cc | 97
fea/ifconfig_observer_netlink.cc | 147
fea/ifconfig_observer_rtsock.cc | 108
fea/ifconfig_parse_ifaddrs.cc | 502 -
fea/ifconfig_parse_ifreq.cc | 588 --
fea/ifconfig_parse_nlm.cc | 592 --
fea/ifconfig_parse_rtm.cc | 752 --
fea/ifconfig_set.cc | 789 --
fea/ifconfig_set_click.cc | 1117 ----
fea/ifconfig_set_dummy.cc | 308 -
fea/ifconfig_set_ioctl.cc | 1118 ----
fea/ifconfig_set_iphelper.cc | 811 ---
fea/ifconfig_set_netlink.cc | 1005 ---
fea/ifmanager_transaction.cc | 49
fea/ifmanager_transaction.hh | 802 --
fea/kernel_utils.hh | 144
fea/mfea_proto_comm.cc | 2412 ---------
fea/mfea_proto_comm.hh | 320 -
fea/netlink_socket.cc | 679 --
fea/netlink_socket.hh | 277 -
fea/netlink_socket_utils.cc | 408 -
fea/netlink_socket_utils.hh | 138
fea/rawsock.cc | 2675 ----------
fea/rawsock.hh | 409 -
fea/rawsock4.cc | 274 -
fea/rawsock4.hh | 272 -
fea/rawsock6.cc | 270 -
fea/rawsock6.hh | 281 -
fea/routing_socket.cc | 394 -
fea/routing_socket.hh | 212
fea/routing_socket_utils.cc | 535 --
fea/routing_socket_utils.hh | 68
fea/win_rtm_pipe.cc | 327 -
fea/win_rtm_pipe.hh | 162
fea/win_rtsock.h | 309 -
fea/win_support.cc | 350 -
fea/win_support.hh | 28
fea/xrl_fti.cc | 569 --
fea/xrl_fti.hh | 282 -
fea/xrl_ifmanager.cc | 274 -
fea/xrl_ifmanager.hh | 258
fea/xrl_ifupdate.cc | 249
fea/xrl_ifupdate.hh | 179
fea/xrl_rawsock4.cc | 500 -
fea/xrl_rawsock4.hh | 185
fea/xrl_rawsock6.cc | 518 -
fea/xrl_rawsock6.hh | 192
libproto/proto_register.cc | 217
libproto/proto_register.hh | 145
xrl/interfaces/fea_ifmgr_client.xif | 23
xrl/interfaces/fea_ifmgr_client_xif.cc | 188
xrl/interfaces/fea_ifmgr_client_xif.hh | 115
xrl/targets/demo_fea_ifmgr_client.tgt | 7
xrl/targets/demo_fea_ifmgr_client.xrls | 41
xrl/targets/demo_fea_ifmgr_client_base.cc | 373 -
xrl/targets/demo_fea_ifmgr_client_base.hh | 152
BUILD_NOTES | 19
Jamfile | 2
Makefile.in | 3
MakefileRootCheck.in | 3
TODO | 7
bgp/Jamfile | 2
bgp/Makefile.in | 3
bgp/bgp.cc | 26
bgp/bgp.hh | 7
bgp/bgp_trie.hh | 8
bgp/dump_iterators.cc | 2
bgp/harness/Jamfile | 2
bgp/harness/Makefile.in | 3
bgp/harness/coord.cc | 6
bgp/harness/peer.cc | 4
bgp/harness/test_peering2.sh | 21
bgp/local_data.hh | 30
bgp/peer.hh | 2
bgp/rib_ipc_handler.hh | 4
bgp/route_table_aggregation.hh | 16
bgp/route_table_cache.hh | 4
bgp/route_table_damping.hh | 12
bgp/route_table_decision.hh | 20
bgp/route_table_fanout.hh | 14
bgp/route_table_nhlookup.cc | 2
bgp/route_table_ribin.hh | 2
bgp/subnet_route.cc | 18
bgp/subnet_route.hh | 11
bgp/tools/Jamfile | 2
bgp/tools/Makefile.in | 3
bgp/xrl_target.cc | 12
cli/Jamfile | 4
cli/Makefile.in | 3
cli/cli_command.cc | 2
cli/cli_command_pipe.hh | 5
cli/cli_node.cc | 3
cli/cli_node.hh | 45
cli/libtecla/cplfile.c | 8
cli/libtecla/direader.c | 6
cli/libtecla/expand.c | 11
cli/libtecla/getline.c | 4
cli/libtecla/history.c | 4
cli/libtecla/homedir.c | 6
cli/libtecla/pcache.c | 3
cli/tools/Jamfile | 2
cli/tools/Makefile.in | 3
config.h.in | 21
config/acipv4.m4 | 2
config/aclinux.m4 | 32
config/acxorp.m4 | 12
configure | 1144 +++-
configure.in | 72
contrib/Makefile.in | 3
contrib/win32/installer/README | 2
contrib/win32/xorprtm/print_rtmsg.c | 4
devnotes/coding-style.txt | 4
docs/Makefile.in | 3
docs/bgp/Makefile.in | 3
docs/design_arch/Makefile.in | 3
docs/fea/Makefile.in | 3
docs/libxipc/Makefile.in | 3
docs/libxorp/Makefile.in | 3
docs/mfea/Makefile.in | 3
docs/mld6igmp/Makefile.in | 3
docs/multicast/Makefile.in | 3
docs/pim/Makefile.in | 3
docs/pim_testsuite/Makefile.in | 3
docs/rib/Makefile.in | 3
docs/rtrmgr/Makefile.in | 3
docs/slides/Makefile.in | 3
docs/slides/status_2004_02/Makefile.in | 3
docs/snmp/Makefile.in | 3
docs/test_harness/Makefile.in | 3
docs/user_manual/Makefile.in | 3
docs/xorpdev_101/Makefile.in | 3
etc/Makefile.in | 3
etc/templates/Makefile.in | 3
fea/Jamfile | 109
fea/Makefile.am | 145
fea/Makefile.in | 269 -
fea/MakefileRootCheck.in | 3
fea/README | 2
fea/TODO | 7
fea/data_plane/.cvsignore | 7
fea/data_plane/Jamfile | 10
fea/data_plane/Makefile.am | 19
fea/data_plane/Makefile.in | 512 +
fea/data_plane/control_socket/.cvsignore | 7
fea/data_plane/control_socket/Jamfile | 23
fea/data_plane/control_socket/Makefile.am | 39
fea/data_plane/control_socket/Makefile.in | 491 +
fea/data_plane/control_socket/click_socket.cc | 1316 ++++
fea/data_plane/control_socket/click_socket.hh | 636 ++
fea/data_plane/control_socket/netlink_socket.cc | 679 ++
fea/data_plane/control_socket/netlink_socket.hh | 277 +
fea/data_plane/control_socket/netlink_socket_utilities.cc | 409 +
fea/data_plane/control_socket/netlink_socket_utilities.hh | 138
fea/data_plane/control_socket/routing_socket.cc | 394 +
fea/data_plane/control_socket/routing_socket.hh | 212
fea/data_plane/control_socket/routing_socket_utilities.cc | 536 ++
fea/data_plane/control_socket/routing_socket_utilities.hh | 68
fea/data_plane/control_socket/system_utilities.hh | 141
fea/data_plane/control_socket/windows_routing_socket.h | 309 +
fea/data_plane/control_socket/windows_rras_support.cc | 350 +
fea/data_plane/control_socket/windows_rras_support.hh | 30
fea/data_plane/control_socket/windows_rtm_pipe.cc | 327 +
fea/data_plane/control_socket/windows_rtm_pipe.hh | 162
fea/data_plane/fibconfig/.cvsignore | 7
fea/data_plane/fibconfig/Jamfile | 53
fea/data_plane/fibconfig/Makefile.am | 92
fea/data_plane/fibconfig/Makefile.in | 594 ++
fea/data_plane/fibconfig/fibconfig_entry_get_click.cc | 235
fea/data_plane/fibconfig/fibconfig_entry_get_click.hh | 90
fea/data_plane/fibconfig/fibconfig_entry_get_dummy.cc | 161
fea/data_plane/fibconfig/fibconfig_entry_get_dummy.hh | 87
fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.cc | 399 +
fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.hh | 106
fea/data_plane/fibconfig/fibconfig_entry_get_netlink_socket.cc | 316 +
fea/data_plane/fibconfig/fibconfig_entry_get_netlink_socket.hh | 119
fea/data_plane/fibconfig/fibconfig_entry_get_routing_socket.cc | 468 +
fea/data_plane/fibconfig/fibconfig_entry_get_routing_socket.hh | 128
fea/data_plane/fibconfig/fibconfig_entry_get_rtmv2.cc | 488 +
fea/data_plane/fibconfig/fibconfig_entry_get_rtmv2.hh | 106
fea/data_plane/fibconfig/fibconfig_entry_observer_dummy.cc | 96
fea/data_plane/fibconfig/fibconfig_entry_observer_dummy.hh | 54
fea/data_plane/fibconfig/fibconfig_entry_observer_iphelper.cc | 94
fea/data_plane/fibconfig/fibconfig_entry_observer_iphelper.hh | 52
fea/data_plane/fibconfig/fibconfig_entry_observer_netlink_socket.cc | 139
fea/data_plane/fibconfig/fibconfig_entry_observer_netlink_socket.hh | 59
fea/data_plane/fibconfig/fibconfig_entry_observer_routing_socket.cc | 101
fea/data_plane/fibconfig/fibconfig_entry_observer_routing_socket.hh | 60
fea/data_plane/fibconfig/fibconfig_entry_observer_rtmv2.cc | 112
fea/data_plane/fibconfig/fibconfig_entry_observer_rtmv2.hh | 47
fea/data_plane/fibconfig/fibconfig_entry_parse_netlink_socket.cc | 139
fea/data_plane/fibconfig/fibconfig_entry_parse_routing_socket.cc | 121
fea/data_plane/fibconfig/fibconfig_entry_set_click.cc | 578 ++
fea/data_plane/fibconfig/fibconfig_entry_set_click.hh | 136
fea/data_plane/fibconfig/fibconfig_entry_set_dummy.cc | 162
fea/data_plane/fibconfig/fibconfig_entry_set_dummy.hh | 86
fea/data_plane/fibconfig/fibconfig_entry_set_iphelper.cc | 375 +
fea/data_plane/fibconfig/fibconfig_entry_set_iphelper.hh | 88
fea/data_plane/fibconfig/fibconfig_entry_set_netlink_socket.cc | 490 +
fea/data_plane/fibconfig/fibconfig_entry_set_netlink_socket.hh | 92
fea/data_plane/fibconfig/fibconfig_entry_set_routing_socket.cc | 556 ++
fea/data_plane/fibconfig/fibconfig_entry_set_routing_socket.hh | 89
fea/data_plane/fibconfig/fibconfig_entry_set_rtmv2.cc | 374 +
fea/data_plane/fibconfig/fibconfig_entry_set_rtmv2.hh | 91
fea/data_plane/fibconfig/fibconfig_table_get_click.cc | 130
fea/data_plane/fibconfig/fibconfig_table_get_click.hh | 70
fea/data_plane/fibconfig/fibconfig_table_get_dummy.cc | 104
fea/data_plane/fibconfig/fibconfig_table_get_dummy.hh | 67
fea/data_plane/fibconfig/fibconfig_table_get_iphelper.cc | 226
fea/data_plane/fibconfig/fibconfig_table_get_iphelper.hh | 68
fea/data_plane/fibconfig/fibconfig_table_get_netlink_socket.cc | 233
fea/data_plane/fibconfig/fibconfig_table_get_netlink_socket.hh | 94
fea/data_plane/fibconfig/fibconfig_table_get_sysctl.cc | 202
fea/data_plane/fibconfig/fibconfig_table_get_sysctl.hh | 89
fea/data_plane/fibconfig/fibconfig_table_observer_dummy.cc | 95
fea/data_plane/fibconfig/fibconfig_table_observer_dummy.hh | 54
fea/data_plane/fibconfig/fibconfig_table_observer_iphelper.cc | 92
fea/data_plane/fibconfig/fibconfig_table_observer_iphelper.hh | 54
fea/data_plane/fibconfig/fibconfig_table_observer_netlink_socket.cc | 171
fea/data_plane/fibconfig/fibconfig_table_observer_netlink_socket.hh | 59
fea/data_plane/fibconfig/fibconfig_table_observer_routing_socket.cc | 135
fea/data_plane/fibconfig/fibconfig_table_observer_routing_socket.hh | 59
fea/data_plane/fibconfig/fibconfig_table_observer_rtmv2.cc | 167
fea/data_plane/fibconfig/fibconfig_table_observer_rtmv2.hh | 73
fea/data_plane/fibconfig/fibconfig_table_parse_netlink_socket.cc | 148
fea/data_plane/fibconfig/fibconfig_table_parse_routing_socket.cc | 145
fea/data_plane/fibconfig/fibconfig_table_set_click.cc | 174
fea/data_plane/fibconfig/fibconfig_table_set_click.hh | 86
fea/data_plane/fibconfig/fibconfig_table_set_dummy.cc | 130
fea/data_plane/fibconfig/fibconfig_table_set_dummy.hh | 83
fea/data_plane/fibconfig/fibconfig_table_set_iphelper.cc | 177
fea/data_plane/fibconfig/fibconfig_table_set_iphelper.hh | 81
fea/data_plane/fibconfig/fibconfig_table_set_netlink_socket.cc | 168
fea/data_plane/fibconfig/fibconfig_table_set_netlink_socket.hh | 84
fea/data_plane/fibconfig/fibconfig_table_set_routing_socket.cc | 168
fea/data_plane/fibconfig/fibconfig_table_set_routing_socket.hh | 84
fea/data_plane/fibconfig/fibconfig_table_set_rtmv2.cc | 168
fea/data_plane/fibconfig/fibconfig_table_set_rtmv2.hh | 83
fea/data_plane/ifconfig/.cvsignore | 7
fea/data_plane/ifconfig/Jamfile | 39
fea/data_plane/ifconfig/Makefile.am | 63
fea/data_plane/ifconfig/Makefile.in | 532 +
fea/data_plane/ifconfig/ifconfig_get_click.cc | 113
fea/data_plane/ifconfig/ifconfig_get_click.hh | 60
fea/data_plane/ifconfig/ifconfig_get_dummy.cc | 87
fea/data_plane/ifconfig/ifconfig_get_dummy.hh | 55
fea/data_plane/ifconfig/ifconfig_get_getifaddrs.cc | 116
fea/data_plane/ifconfig/ifconfig_get_getifaddrs.hh | 73
fea/data_plane/ifconfig/ifconfig_get_ioctl.cc | 228
fea/data_plane/ifconfig/ifconfig_get_ioctl.hh | 77
fea/data_plane/ifconfig/ifconfig_get_iphelper.cc | 283 +
fea/data_plane/ifconfig/ifconfig_get_iphelper.hh | 56
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc | 327 +
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.hh | 76
fea/data_plane/ifconfig/ifconfig_get_proc_linux.cc | 543 ++
fea/data_plane/ifconfig/ifconfig_get_proc_linux.hh | 59
fea/data_plane/ifconfig/ifconfig_get_sysctl.cc | 149
fea/data_plane/ifconfig/ifconfig_get_sysctl.hh | 73
fea/data_plane/ifconfig/ifconfig_media.cc | 218
fea/data_plane/ifconfig/ifconfig_media.hh | 24
fea/data_plane/ifconfig/ifconfig_observer_dummy.cc | 93
fea/data_plane/ifconfig/ifconfig_observer_dummy.hh | 54
fea/data_plane/ifconfig/ifconfig_observer_iphelper.cc | 98
fea/data_plane/ifconfig/ifconfig_observer_iphelper.hh | 54
fea/data_plane/ifconfig/ifconfig_observer_netlink_socket.cc | 149
fea/data_plane/ifconfig/ifconfig_observer_netlink_socket.hh | 59
fea/data_plane/ifconfig/ifconfig_observer_routing_socket.cc | 109
fea/data_plane/ifconfig/ifconfig_observer_routing_socket.hh | 59
fea/data_plane/ifconfig/ifconfig_parse_getifaddrs.cc | 519 +
fea/data_plane/ifconfig/ifconfig_parse_ioctl.cc | 605 ++
fea/data_plane/ifconfig/ifconfig_parse_netlink_socket.cc | 602 ++
fea/data_plane/ifconfig/ifconfig_parse_routing_socket.cc | 850 +++
fea/data_plane/ifconfig/ifconfig_set.cc | 762 ++
fea/data_plane/ifconfig/ifconfig_set_click.cc | 1099 ++++
fea/data_plane/ifconfig/ifconfig_set_click.hh | 178
fea/data_plane/ifconfig/ifconfig_set_dummy.cc | 310 +
fea/data_plane/ifconfig/ifconfig_set_dummy.hh | 108
fea/data_plane/ifconfig/ifconfig_set_ioctl.cc | 1120 ++++
fea/data_plane/ifconfig/ifconfig_set_ioctl.hh | 118
fea/data_plane/ifconfig/ifconfig_set_iphelper.cc | 812 +++
fea/data_plane/ifconfig/ifconfig_set_iphelper.hh | 121
fea/data_plane/ifconfig/ifconfig_set_netlink_socket.cc | 1007 +++
fea/data_plane/ifconfig/ifconfig_set_netlink_socket.hh | 101
fea/data_plane/io/.cvsignore | 7
fea/data_plane/io/Jamfile | 17
fea/data_plane/io/Makefile.am | 24
fea/data_plane/io/Makefile.in | 474 +
fea/data_plane/io/io_ip_socket.cc | 2461 +++++++++
fea/data_plane/io/io_ip_socket.hh | 374 +
fea/fea_node.cc | 43
fea/fea_node.hh | 51
fea/fibconfig.cc | 2623 +++++++++
fea/fibconfig.hh | 963 +++
fea/fibconfig_entry_get.hh | 108
fea/fibconfig_entry_observer.hh | 77
fea/fibconfig_entry_set.hh | 174
fea/fibconfig_table_get.hh | 90
fea/fibconfig_table_observer.hh | 77
fea/fibconfig_table_set.hh | 173
fea/fibconfig_transaction.cc | 91
fea/fibconfig_transaction.hh | 237
fea/fte.hh | 17
fea/ifconfig.cc | 564 +-
fea/ifconfig.hh | 205
fea/ifconfig_addr_table.cc | 73
fea/ifconfig_addr_table.hh | 36
fea/ifconfig_get.hh | 366 -
fea/ifconfig_observer.hh | 154
fea/ifconfig_reporter.cc | 93
fea/ifconfig_reporter.hh | 88
fea/ifconfig_set.hh | 565 --
fea/ifconfig_transaction.cc | 40
fea/ifconfig_transaction.hh | 769 ++
fea/iftree.cc | 884 ++-
fea/iftree.hh | 568 +-
fea/io_ip_manager.cc | 938 +++
fea/io_ip_manager.hh | 623 ++
fea/libfeaclient_bridge.cc | 741 --
fea/libfeaclient_bridge.hh | 63
fea/mfea_config.cc | 306 -
fea/mfea_mrouter.cc | 444 -
fea/mfea_mrouter.hh | 51
fea/mfea_node.cc | 1521 ++---
fea/mfea_node.hh | 578 --
fea/mfea_vif.cc | 293 -
fea/mfea_vif.hh | 163
fea/pa_backend_ipfw2.hh | 4
fea/pa_backend_pf.hh | 4
fea/pa_entry.hh | 8
fea/pa_table.hh | 4
fea/pa_transaction.hh | 32
fea/test_xrl_sockets4_tcp.cc | 86
fea/test_xrl_sockets4_udp.cc | 56
fea/tools/Jamfile | 4
fea/tools/Makefile.in | 3
fea/tools/show_interfaces.cc | 18
fea/xorp_fea.cc | 10
fea/xrl_fea_node.cc | 125
fea/xrl_fea_node.hh | 27
fea/xrl_fea_target.cc | 2286 ++++----
fea/xrl_fea_target.hh | 231
fea/xrl_fib_client_manager.cc | 510 +
fea/xrl_fib_client_manager.hh | 239
fea/xrl_io_ip_manager.cc | 129
fea/xrl_io_ip_manager.hh | 66
fea/xrl_mfea_node.cc | 1807 ------
fea/xrl_mfea_node.hh | 418 -
fea/xrl_packet_acl.hh | 6
fea/xrl_shell_funcs.sh | 54
fea/xrl_socket_cmds.cc | 2
fea/xrl_socket_cmds.hh | 46
fea/xrl_socket_server.cc | 286 -
fea/xrl_socket_server.hh | 36
fib2mrib/Jamfile | 2
fib2mrib/Makefile.in | 3
fib2mrib/fib2mrib_node.cc | 14
fib2mrib/xrl_fib2mrib_node.cc | 54
libcomm/Makefile.in | 3
libfeaclient/Jamfile | 2
libfeaclient/Makefile.in | 3
libfeaclient/ifmgr_atoms.cc | 229
libfeaclient/ifmgr_atoms.hh | 326 -
libfeaclient/ifmgr_cmd_queue.cc | 33
libfeaclient/ifmgr_cmd_queue.hh | 18
libfeaclient/ifmgr_cmds.cc | 286 -
libfeaclient/ifmgr_cmds.hh | 422 -
libfeaclient/ifmgr_xrl_mirror.cc | 97
libfeaclient/ifmgr_xrl_mirror.hh | 2
libfeaclient/ifmgr_xrl_replicator.hh | 4
libfeaclient/overview.hh | 24
libfeaclient/test_local_copy.cc | 10
libfeaclient/test_remote_copy.cc | 10
libproto/Jamfile | 2
libproto/Makefile.am | 2
libproto/Makefile.in | 13
libproto/config_node_id.hh | 30
libproto/proto_node.hh | 209
libproto/spt.hh | 4
libproto/test_spt.cc | 4
libxipc/Jamfile | 2
libxipc/Makefile.in | 3
libxipc/finder.cc | 95
libxipc/finder.hh | 4
libxipc/finder_client.cc | 25
libxipc/finder_client.hh | 22
libxipc/finder_messenger.hh | 4
libxipc/finder_msgs.hh | 2
libxipc/finder_server.hh | 2
libxipc/finder_tcp.hh | 6
libxipc/finder_tcp_messenger.hh | 2
libxipc/finder_xrl_queue.hh | 6
libxipc/finder_xrl_target.cc | 9
libxipc/hmac.hh | 4
libxipc/test_finder_events.cc | 12
libxipc/test_finder_tcp.cc | 6
libxipc/test_xrl_receiver.cc | 4
libxipc/test_xrl_sender.cc | 10
libxipc/xrl.hh | 38
libxipc/xrl_args.hh | 106
libxipc/xrl_atom.cc | 3
libxipc/xrl_atom.hh | 75
libxipc/xrl_atom_encoding.cc | 2
libxipc/xrl_cmd_map.hh | 6
libxipc/xrl_dispatcher.cc | 2
libxipc/xrl_error.cc | 4
libxipc/xrl_error.hh | 26
libxipc/xrl_parser_input.hh | 8
libxipc/xrl_pf.hh | 8
libxipc/xrl_pf_inproc.hh | 4
libxipc/xrl_pf_kill.hh | 2
libxipc/xrl_pf_stcp.cc | 13
libxipc/xrl_pf_stcp.hh | 6
libxipc/xrl_pf_sudp.hh | 2
libxipc/xrl_router.cc | 6
libxipc/xrl_router.hh | 8
libxorp/Jamfile | 4
libxorp/Makefile.am | 1
libxorp/Makefile.in | 32
libxorp/asyncio.hh | 12
libxorp/buffered_asyncio.hh | 4
libxorp/callback-gen.py | 4
libxorp/callback_debug.hh | 896 +--
libxorp/callback_nodebug.hh | 896 +--
libxorp/config_param.hh | 10
libxorp/debug.c | 5
libxorp/eventloop.hh | 2
libxorp/inet_ntop.c | 88
libxorp/ipnet.hh | 34
libxorp/ipv4.hh | 62
libxorp/ipv6.hh | 52
libxorp/ipvx.cc | 8
libxorp/ipvx.hh | 24
libxorp/ipvxnet.hh | 39
libxorp/mac.hh | 6
libxorp/nexthop.hh | 2
libxorp/profile.hh | 23
libxorp/random.c | 8
libxorp/ref_ptr.hh | 48
libxorp/ref_trie.hh | 8
libxorp/safe_callback_obj.hh | 6
libxorp/selector.hh | 8
libxorp/service.hh | 6
libxorp/strlcpy.c | 59
libxorp/test_ipnet.cc | 4
libxorp/test_service.cc | 4
libxorp/time_slice.hh | 2
libxorp/timer.hh | 10
libxorp/timeval.hh | 44
libxorp/transaction.hh | 20
libxorp/utility.c | 12
libxorp/utility.h | 5
libxorp/vif.cc | 14
libxorp/vif.hh | 9
libxorp/win_dispatcher.hh | 14
libxorp/xlog.c | 14
libxorp/xlog.h | 9
libxorp/xorp_osdep_mid.h | 6
libxorp/xorpfd.hh | 42
mibs/Jamfile | 2
mibs/configure | 121
mld6igmp/Jamfile | 12
mld6igmp/Makefile.am | 9
mld6igmp/Makefile.in | 30
mld6igmp/igmp_proto.h | 7
mld6igmp/mld6_proto.h | 7
mld6igmp/mld6igmp_config.cc | 3
mld6igmp/mld6igmp_node.cc | 542 +-
mld6igmp/mld6igmp_node.hh | 235
mld6igmp/mld6igmp_vif.cc | 61
mld6igmp/mld6igmp_vif.hh | 11
mld6igmp/xorp_igmp.cc | 2
mld6igmp/xorp_mld.cc | 2
mld6igmp/xrl_mld6igmp_node.cc | 1235 +---
mld6igmp/xrl_mld6igmp_node.hh | 600 --
mld6igmp/xrl_mld6igmp_shell_funcs.sh | 8
mrt/Jamfile | 1
mrt/Makefile.in | 3
ospf/.cvsignore | 1
ospf/Jamfile | 2
ospf/Makefile.in | 3
ospf/area_router.cc | 25
ospf/auth.hh | 16
ospf/debug_io.hh | 20
ospf/lsa.cc | 18
ospf/ospf.cc | 24
ospf/ospf.hh | 7
ospf/packet.cc | 6
ospf/packet.hh | 3
ospf/peer.cc | 3
ospf/peer_manager.cc | 15
ospf/policy_varrw.cc | 4
ospf/routing_table.cc | 2
ospf/test_routing_interactive.cc | 4
ospf/tools/Jamfile | 2
ospf/tools/Makefile.in | 3
ospf/xrl_io.cc | 58
ospf/xrl_io.hh | 9
ospf/xrl_target.cc | 64
ospf/xrl_target.hh | 9
pim/Jamfile | 11
pim/Makefile.am | 8
pim/Makefile.in | 27
pim/pim_config.cc | 3
pim/pim_mrt.hh | 3
pim/pim_mrt_mfc.cc | 3
pim/pim_node.cc | 546 +-
pim/pim_node.hh | 275 -
pim/pim_node_cli.cc | 3
pim/pim_proto.h | 7
pim/pim_vif.cc | 97
pim/pim_vif.hh | 13
pim/xorp_pimsm4.cc | 1
pim/xorp_pimsm6.cc | 1
pim/xrl_pim_node.cc | 1613 ++----
pim/xrl_pim_node.hh | 553 +-
pim/xrl_pim_shell_funcs.sh | 8
policy/Jamfile | 2
policy/Makefile.in | 3
policy/backend/Makefile.in | 3
policy/common/Jamfile | 2
policy/common/Makefile.in | 3
policy/common/dispatcher.hh | 9
policy/common/element.cc | 2
policy/common/varrw.hh | 2
policy/test/Jamfile | 2
policy/test/Makefile.in | 3
rib/Jamfile | 2
rib/Makefile.in | 3
rib/redist_xrl.cc | 12
rib/redist_xrl.hh | 32
rib/rib.cc | 8
rib/rib.hh | 24
rib/route.hh | 42
rib/rt_tab_base.hh | 8
rib/rt_tab_origin.hh | 6
rib/rt_tab_redist.hh | 22
rib/rt_tab_register.hh | 6
rib/tools/Jamfile | 2
rib/tools/Makefile.in | 3
rib/tools/show_distances.cc | 2
rib/tools/show_routes.cc | 2
rib/vifmanager.cc | 20
rib/xrl_target.cc | 40
rip/Jamfile | 8
rip/Makefile.in | 3
rip/auth.hh | 16
rip/constants.hh | 14
rip/output.hh | 16
rip/packet_assembly.hh | 42
rip/packets.hh | 138
rip/peer.hh | 44
rip/port.cc | 12
rip/port.hh | 44
rip/port_io.hh | 22
rip/port_manager.hh | 16
rip/port_vars.hh | 83
rip/route_db.hh | 4
rip/route_entry.hh | 45
rip/system.hh | 14
rip/test_outputs.cc | 12
rip/tools/Jamfile | 2
rip/tools/Makefile.in | 3
rip/tools/common.hh | 6
rip/tools/show_stats.cc | 12
rip/update_queue.hh | 2
rip/xorp_rip_main.cc | 7
rip/xrl_port_io.hh | 4
rip/xrl_port_manager.cc | 18
rip/xrl_port_manager.hh | 6
rip/xrl_redist_manager.cc | 21
rip/xrl_redist_manager.hh | 6
rip/xrl_rib_notifier.hh | 8
rtrmgr/Jamfile | 2
rtrmgr/Makefile.in | 3
rtrmgr/generic_module_manager.hh | 4
rtrmgr/main_rtrmgr.cc | 12
rtrmgr/master_conf_tree.hh | 8
rtrmgr/slave_conf_tree.hh | 16
rtrmgr/slave_conf_tree_node.hh | 4
rtrmgr/template_commands.hh | 4
rtrmgr/xorpsh_main.cc | 4
static_routes/Jamfile | 4
static_routes/Makefile.in | 3
static_routes/static_routes_node.cc | 6
static_routes/xrl_static_routes_node.cc | 34
utils/Makefile.in | 3
utils/flower_malloc/Makefile.in | 3
utils/flower_malloc/flower_malloc.c | 10
utils/flower_malloc/test_flower_malloc.c | 10
xrl/Makefile.in | 3
xrl/interfaces/Jamfile | 2
xrl/interfaces/Makefile.am | 5
xrl/interfaces/Makefile.in | 38
xrl/interfaces/fea_ifmgr.xif | 115
xrl/interfaces/fea_ifmgr_mirror.xif | 17
xrl/interfaces/fea_ifmgr_mirror_xif.cc | 96
xrl/interfaces/fea_ifmgr_mirror_xif.hh | 44
xrl/interfaces/fea_ifmgr_xif.cc | 1034 ---
xrl/interfaces/fea_ifmgr_xif.hh | 408 -
xrl/interfaces/fea_rawpkt4.xif | 2
xrl/interfaces/fea_rawpkt4_client.xif | 4
xrl/interfaces/fea_rawpkt4_client_xif.cc | 2
xrl/interfaces/fea_rawpkt4_client_xif.hh | 5
xrl/interfaces/fea_rawpkt4_xif.cc | 2
xrl/interfaces/fea_rawpkt4_xif.hh | 3
xrl/interfaces/fea_rawpkt6.xif | 2
xrl/interfaces/fea_rawpkt6_client.xif | 4
xrl/interfaces/fea_rawpkt6_client_xif.cc | 2
xrl/interfaces/fea_rawpkt6_client_xif.hh | 5
xrl/interfaces/fea_rawpkt6_xif.cc | 2
xrl/interfaces/fea_rawpkt6_xif.hh | 3
xrl/interfaces/mfea.xif | 137
xrl/interfaces/mfea_client.xif | 109
xrl/interfaces/mfea_client_xif.cc | 440 -
xrl/interfaces/mfea_client_xif.hh | 310 -
xrl/interfaces/mfea_xif.cc | 546 --
xrl/interfaces/mfea_xif.hh | 356 -
xrl/interfaces/ospfv3.xif | 2
xrl/interfaces/ospfv3_xif.hh | 2
xrl/interfaces/socket4_xif.hh | 319 +
xrl/interfaces/socket6_xif.hh | 319 +
xrl/scripts/tgt-gen | 4
xrl/targets/Jamfile | 3
xrl/targets/Makefile.am | 19
xrl/targets/Makefile.in | 57
xrl/targets/bgp4_mib_base.hh | 4
xrl/targets/bgp_base.hh | 4
xrl/targets/cli_base.hh | 4
xrl/targets/coord_base.hh | 4
xrl/targets/fea.xrls | 80
xrl/targets/fea_base.cc | 1109 ----
xrl/targets/fea_base.hh | 266
xrl/targets/fea_ifmgr_mirror.xrls | 16
xrl/targets/fea_ifmgr_mirror_base.cc | 76
xrl/targets/fea_ifmgr_mirror_base.hh | 32
xrl/targets/fib2mrib_base.hh | 4
xrl/targets/finder_base.hh | 4
xrl/targets/finder_client_base.hh | 4
xrl/targets/mfea.tgt | 2
xrl/targets/mfea.xrls | 121
xrl/targets/mfea_base.cc | 533 -
xrl/targets/mfea_base.hh | 271 -
xrl/targets/mld6igmp.tgt | 6
xrl/targets/mld6igmp.xrls | 187
xrl/targets/mld6igmp_base.cc | 532 -
xrl/targets/mld6igmp_base.hh | 361 -
xrl/targets/ospfv2.xrls | 6
xrl/targets/ospfv2_base.cc | 5
xrl/targets/ospfv2_base.hh | 9
xrl/targets/ospfv3.xrls | 14
xrl/targets/ospfv3_base.cc | 10
xrl/targets/ospfv3_base.hh | 16
xrl/targets/packet_acl_base.hh | 4
xrl/targets/pim.tgt | 4
xrl/targets/pim.xrls | 128
xrl/targets/pim_base.cc | 380 -
xrl/targets/pim_base.hh | 235
xrl/targets/policy_base.hh | 4
xrl/targets/profiler_base.hh | 4
xrl/targets/rib_base.hh | 4
xrl/targets/ribclient_base.hh | 4
xrl/targets/rip_base.hh | 4
xrl/targets/ripng_base.hh | 4
xrl/targets/rtrmgr_base.hh | 4
xrl/targets/show_distances.xrls | 2
xrl/targets/show_distances_base.cc | 2
xrl/targets/show_distances_base.hh | 6
xrl/targets/show_routes_base.hh | 4
xrl/targets/socket_server_base.hh | 4
xrl/targets/static_routes_base.hh | 4
xrl/targets/test_base.hh | 4
xrl/targets/test_fea_ifmgr_mirror_base.hh | 4
xrl/targets/test_finder_events_base.hh | 4
xrl/targets/test_peer_base.hh | 4
xrl/targets/test_socket4_base.hh | 4
xrl/targets/test_socket6_base.hh | 4
xrl/targets/test_xrls_base.hh | 4
xrl/targets/xorp_if_mib_base.hh | 4
xrl/targets/xorpsh_base.hh | 4
xrl/tests/Jamfile | 4
xrl/tests/Makefile.in | 3
748 files changed, 55941 insertions(+), 66735 deletions(-)
New commits:
commit bb91b1ee1f488e454066f9753f244484e798d7d9
Author: pavlin <pavlin>
Date: Fri Jun 8 23:45:13 2007 +0000
Fix the check for <linux/netlink.h> and <linux/rtnetlink.h> header
files to conditionally include <sys/types.h> and <sys/socket.h>
instead of <linux/socket.h> .
This fixes ./configure problem on Ubuntu-7.04
Bug found by: Adam Greenhalgh
commit 2e3493c3c5356892d2a384ad560e135c8897f52a
Author: pavlin <pavlin>
Date: Fri Jun 8 05:53:34 2007 +0000
Added missing "#include" for the following file:
fea/data_plane/control_socket/windows_rras_support.hh
commit 7a59d47be0118365e66a10295c4af2a9ee629edc
Author: atanu <atanu>
Date: Fri Jun 8 01:59:37 2007 +0000
Test2 is supposed to bring a peering (peer2) and install all the
routes from the traffic files. Once BGP has all the routes peer1 is
supposed to repeatedly (3 times) form sessions. The peer1 session
should be dropped once all the routes have been received. The problem
was that the peer1 session was being dropped using "reset" rather than
"disconnect". Using "reset" was causing both sessions to be dropped
leaving BGP with no routes. The code has been changed to use
"disconnect".
commit 117d894b19ae642c502b4d46b55123e47e9a6a59
Author: pavlin <pavlin>
Date: Fri Jun 8 01:45:20 2007 +0000
* Move the IoIpSocket::find_interface_vif_by_addr() and
IoIpSocket::find_interface_vif_same_subnet_or_p2p() methods
to the IfTree class, because they are iftree-specific.
* Remove the IoIpSocket::find_interface_vif_by_name() and
IoIpSocket::find_interface_vif_by_pif_index() methods and
use the appropriate IfTree methods instead.
* Minor cleanup (rename the ifindex argument inside the IfTree code
to pif_index, etc).
commit 56d8773c1180b94a0fef7c1b640d319ab65c0e33
Author: pavlin <pavlin>
Date: Thu Jun 7 17:23:48 2007 +0000
Force-commit -f all *.hh files to avoid unnecessary calling of
python to auto-generate them.
This is needed because of recent modification to the
xrl/scripts/tgt-gen file.
commit e95d7c70ff1c199331cc20f6fdfe79c9630ca994
Author: pavlin <pavlin>
Date: Thu Jun 7 01:28:34 2007 +0000
Moved the provider-specific class declaration from
fea/fibconfig_{entry,table}.hh to (new) header files inside
fea/data_plane/fibconfig/ .
Now there is a new header file for each provider's (derived) class
that matches the associated fea/data_plane/fibconfig/fibconfig_*.cc file.
Approved by: Adam Greenhalgh
commit 90ac1dc91a0b6bd11ecf11aa75a69ec4375d9ae1
Author: pavlin <pavlin>
Date: Thu Jun 7 01:23:02 2007 +0000
Minor cleanup.
commit 79f1ae8acc3a1f9f4cb3b97cbeddb6a9703d504c
Author: pavlin <pavlin>
Date: Wed Jun 6 19:55:51 2007 +0000
Misc cleanup:
* Re-order included header files in alphabetical order
* Remove the inclusion of header files that is not necessary
* Fix the name of the #ifndef/#define/#endif header file guard
to match the path to that file.
* Remove unnecessary class declaration.
* Misc other cleanup: spacing, etc.
commit ef81e56290ecec9aa6fe5dd442264b729c8b47ae
Author: pavlin <pavlin>
Date: Wed Jun 6 19:52:54 2007 +0000
Added missing header files to the list of sources.
commit 7f9fbce5447644a4b9bdb87c3ccc25bb6efb06b8
Author: greenhal <greenhal>
Date: Tue Jun 5 13:51:17 2007 +0000
Separating out the ifconfig_observer.hh file into separate data_plane/ifconfig/ifconfig_observer_xxx.hh file to match up with the associated data_plane/ifconfig/ifconfig_observer_xxx.cc file.
Requested by: Pavlin
commit 28c90a4676d1d41781dd9c751857d26520bfc495
Author: greenhal <greenhal>
Date: Tue Jun 5 13:14:31 2007 +0000
Separating out the ifconfig_set.hh file into separate data_plane/ifconfig/ifconfig_set_xxx.hh file to match up with the associated data_plane/ifconfig/ifconfig_set_xxx.cc file.
Requested by:Pavlin
commit 0225a3fb0d108c7212dfa4e776c5270f9f88df04
Author: greenhal <greenhal>
Date: Tue Jun 5 10:30:28 2007 +0000
Separating out the ifconfig_get.hh file into separate data_plane/ifconfig/ifconfig_get_xxx.hh file to match up with the associated data_plane/ifconfig/ifconfig_get_xxx.cc file.
Versions for
sysctl
ioctl
proc linux
click
iphelper
netlink
Requested by: Pavlin
commit 7f508bf716bc7a074702945eb41a04910f190e6d
Author: greenhal <greenhal>
Date: Tue Jun 5 09:48:52 2007 +0000
Separating out the ifconfig_get.hh file into separate data_plane/ifconfig/ifconfig_get_xxx.hh file to match up with the associated data_plane/ifconfig/ifconfig_get_xxx.cc file. getifaddrs version.
Requested by:Pavlin
commit a30cf8ec4e703ce7967791385e576d74b687bac3
Author: greenhal <greenhal>
Date: Tue Jun 5 09:39:35 2007 +0000
Separating out the ifconfig_get.hh file into separate data_plane/ifconfig/ifconfig_get_xxx.hh file to match up with the associated data_plane/ifconfig/ifconfig_get_xxx.cc file. The dummy code is the start of the process.
Requested by: Pavlin
commit 25eceea20ad534991bf1757f499aa10a2e6b5397
Author: pavlin <pavlin>
Date: Mon Jun 4 23:17:30 2007 +0000
Renamed directory fea/forwarding_plane to fea/data_plane, because
the latter is much shorter and more appropriate (i.e., it is more
generic).
Note that CVS doesn't support directory renaming, hence the original
fea/forwarding_plane/ subdirectory was copied to fea/data_plane
inside the CVS repository itself to preserve the files modification
history.
The original files inside fea/forwarding_plane are then removed using
the CVS user interface.
Note that after that the fea/forwarding_plane leftover directory
inside the CVS repository will be moved by hand to the fea/Attic
directory (again, because CVS doesn't support directory removal).
We can do this now because nothing inside that directory has been
tagged.
Also, note that the original fea/forwarding_plane/firewall directory
is not copied to fea/data_plane/ because it is not used/needed (yet).
Approved by: Adam Greenhalgh, Atanu Ghosh
commit 6391acf76a95ff9fb9b2db543ccf000f332c1690
Author: pavlin <pavlin>
Date: Fri Jun 1 18:17:11 2007 +0000
Refactor the mechanism for receiving the multicast forwarding
related upcalls from the system.
Previously the MFEA opened its own IGMP or ICMPv6 socket, and
used it for the sole purpose of THE MRT_INIT multicast forwarding
socket (in UNIX there can be only one multicast forwarding socket
per family).
At the same time there was another IGMP or ICMPv6 socket for the purpose
of sending/receiving control packets by the IGMP/MLD userland protocol.
While this was the right design because the two functionalities are
separated, it created a problem on Linux which doesn't propagate
some of the IGMP control packets on the regular IGMP raw socket.
E.g., IGMP Join messages without the Router Alert option and that
are sent to the joined multicast group (which typically the router
is not member of) are propagated by the Linux kernel only to the
MRT_INIT multicast forwarding socket.
To get around this problem, now the MFEA registers for multicast
forwarding related upcalls with the IoIpManager.
The IoIpManager now understands such upcalls, and it will open
only a single IGMP socket that the MFEA itself will change
to MRT_INIT multicast forwarding socket.
Then, the IoIpManager will demultiplex the upcalls to the MFEA,
and the real IGMP messages to the registered external receivers
(e.g., the IGMP module).
commit b2f86338325b9c7e04d358c74d46a8f77ed38982
Author: pavlin <pavlin>
Date: Thu May 31 20:51:06 2007 +0000
Added a check whether the system has "struct timespec".
This structure is needed for implementing the
clock_gettime(CLOCK_MONOTONIC) solution for obtaining the
system time.
Submitted by: Bruce M. Simpson
commit 268cce155be9afad215c0f1a22afc696227c8fae
Author: pavlin <pavlin>
Date: Thu May 31 19:13:38 2007 +0000
Force-commit of all *.cc and *.xrls files to avoid unnecessary
calling of python to generate them.
This is needed because of recent modification to the
xrl/scripts/tgt-gen file.
commit dd9c5f0744899c3b8ca88fe8985e8760b6c8ce29
Author: pavlin <pavlin>
Date: Thu May 31 19:02:25 2007 +0000
Force-commit of all *.tgt files to avoid unnecessary calling of
python to auto-generate the corresponding *.xrls, *.hh and *.cc files.
This is needed because of recent modification to the xrl/scripts/tgt-gen
file.
commit baa01c3cded821997b1e70ad7657b16760f08d25
Author: pavlin <pavlin>
Date: Thu May 31 18:58:37 2007 +0000
Added a note about a possible issue with invoking Python on Windows,
and a possible work-around.
The work-around solution comes from Bruce M. Simpson.
commit 7fd856ac983c673f6f4eef501521f39d20914ee7
Author: pavlin <pavlin>
Date: Thu May 31 17:51:50 2007 +0000
On Linux, clock_gettime() requires linking with the librt library,
hence conditionally add this library to the list of libraries
to link with.
Note that we must do this before AC_CHECK_FUNCS([clock_gettime]),
otherwise the check for clock_gettime() will fail.
commit a4a28240c1a2880783a497c8ef3c5efdb009e54c
Author: pavlin <pavlin>
Date: Thu May 31 17:07:04 2007 +0000
Added a check for function clock_gettime().
If it is available, then HAVE_CLOCK_GETTIME will be defined.
This check can be used inside SystemClock (libxorp/clock.{hh,cc})
to add clock_gettime(CLOCK_MONOTONIC) implementation that
is not affected by NTP interaction.
Note that we don't add check whether the system supports
CLOCK_MONOTONIC, because "#ifdef CLOCK_MONOTONIC" should be sufficient.
Requested by: Bruce M. Simpson
commit 5cedc1939f986b53ddcca2c0450d0d5b3d40ee7c
Author: pavlin <pavlin>
Date: Sun May 27 21:13:49 2007 +0000
Added missing virtual destructor for class SendToReceiverBase
that has pure virtual method.
commit a964ec5e3c0a7e9b0cd39fefd41cb0fab05e26b9
Author: bms <bms>
Date: Sat May 26 03:23:27 2007 +0000
Another dummy commit to test tailor.py.
commit f684115e9e13d5a7be805dd25c3a01647c3db2be
Author: pavlin <pavlin>
Date: Sat May 26 02:10:26 2007 +0000
Modify IoIpManager::erase_filters_by_name() so now the erased filters
for a receiver are per address family.
commit 9c0721fc726ea97f7d1dcd9c3de45af05025ce31
Author: pavlin <pavlin>
Date: Sat May 26 02:04:44 2007 +0000
Refactor the top-level management for sending and receiving
raw IP packets to eliminate large amount of almost identical code
for handling IPv4 and IPv6.
commit 534b48a7e576465908dedda9fb6e4d2397a9e8dc
Author: pavlin <pavlin>
Date: Sat May 26 01:58:44 2007 +0000
Bug fix: call remove_ioevent_cb() for _cli_socket, only if _cli_socket
is valid.
commit 89bb45f74a40380a34610e55e71e9cb417f00368
Author: pavlin <pavlin>
Date: Sat May 26 00:52:31 2007 +0000
Simplify the implementation of IoIpSocket::start() and
IoIpSocket::stop() so they don't need to know details about
the sockets that are opened or closed.
commit 5e27f5147ab0a920fa7e261c0ad3cca36e4fe036
Author: pavlin <pavlin>
Date: Thu May 24 20:17:22 2007 +0000
Renamed class RawSocket to IoIpSocket to reflect the raw IP I/O
refactoring in the FEA.
commit bdca0462ca39e6f7da21819307e293ce1712353a
Author: pavlin <pavlin>
Date: Thu May 24 20:01:26 2007 +0000
Moved the IP raw socket implementation from the fea/ directory
to the new fea/forwarding_plane/io/ directory:
OLD: fea/rawsock.{hh,cc}
NEW: fea/forwarding_plane/io/io_ip_socket.{hh,cc}
commit aad791aaa822ed3de5e94148f4ad892b72019f9b
Author: pavlin <pavlin>
Date: Wed May 23 12:12:32 2007 +0000
Remove "inline" classifier for in-class method definition,
because it is redundant: methods defined in-class are already "inline"-d.
Also, remove "inline" classifier for method declarations, because
it is needed only with the method definition (e.g., when the definition
is in header file).
commit 4ac9cd654921c69a456012b3ac032a1b5e073bea
Author: pavlin <pavlin>
Date: Wed May 23 04:22:27 2007 +0000
Added test_routing_interactive to the list of files ignored by CVS.
commit 42ed520d3f9fc1dc8f908bf780623b59414ae902
Author: pavlin <pavlin>
Date: Wed May 23 04:21:04 2007 +0000
Include "libxorp/xorp.h" instead of "config.h".
commit 1b5df631a288db07b928f82c9f8499798ddfeecd
Author: pavlin <pavlin>
Date: Wed May 23 04:08:21 2007 +0000
* Introduce new C function bool_c_str(int v) that returns the
"true" or "false" C string.
* Use the above bool_c_str() everywhere the value of a boolean
needs to be printed.
Approved by: Atanu Ghosh
commit 812d3e15d2807258da03a0479a52ab125cac6238
Author: pavlin <pavlin>
Date: Wed May 23 03:39:45 2007 +0000
Forced commit after kdoc change to the corresponding ospfv[2,3].xif.
This is needed to get around unnecessary re-generation on Windows
(because of timestamp mismatch) which fails probably because of
Python issues.
commit 8ba0e9de4e6d614d8ffc190c1deb43e8abf4d239
Author: pavlin <pavlin>
Date: Wed May 23 00:55:57 2007 +0000
Move the XRL-independent filtering code from XrlRawSocket4Manager
and XrlRawSocket6Manager to the new classes RawSocket4Manager
and RawSocket6Manager (inside files rawsock{4,6}.{hh,cc}.
commit 528c1ebe8db1e99155758723f00674f83e45c8d5
Author: pavlin <pavlin>
Date: Tue May 22 22:57:19 2007 +0000
Misc. cleanup.
commit 19c5786aa05ba66b1fc2f6f32d8c0bdc5ba96053
Author: pavlin <pavlin>
Date: Tue May 22 21:04:59 2007 +0000
Modify the XrlRawSocket4Manager and XrlRawSocket6Manager methods
to return XORP_OK/XORP_ERROR instead of XrlCmdError.
The XrlCmdError will be returned inside xrl_fea_target.cc where
the above methods are called from.
commit 0888e29664c99926c58e416cf17775f2c0b3db32
Author: pavlin <pavlin>
Date: Sat May 19 08:11:22 2007 +0000
Make some of the methods ppublic (instead of being private).
This fixes a compilation error for gcc-2.9x.
commit fcb999c1e98a19ed0b49fac2ba1cefc4168a709e
Author: pavlin <pavlin>
Date: Sat May 19 01:52:39 2007 +0000
FEA/MFEA refactoring: get rid of the raw sockets I/O inside the MFEA,
and use the FEA instead.
Modify accordingly the MLD/IGMP and PIM-SM modules to use the FEA
instead for raw I/O.
Note that after the modification only PIM-SM needs to register
with the MFEA (per interface) for the purpose of multicast routing.
Also, unlike before there could be only one module/target that
can register (as an owner) per interface with the MFEA.
This is also a step toward implementing a module with the
interoperability rules for multicast routing protocols
(as per RFC 2715).
Note that the refactored code doesn't contain anymore the hack
for sharing the IGMP raw socket and the (MRT_INIT) multicast routing
socket. That hack was needed because Linux seems to use
the MRT_INIT multicast routing socket (only) to pass IGMP messages
to userland (if the IGMP messages don't contain the Router Alert option
and the host hasn't joined the multicast group for the IGMP destination
address).
This issue needs further investigation and eventually will be fixed
independently.
commit b5c5a1d262dceaaf66590606fc4636fdb0d182b4
Author: pavlin <pavlin>
Date: Sat May 19 01:33:41 2007 +0000
Editorial nit: "finder" -> "Finder"
commit c61d19df964cdfad1fcc26b5dd78efd3929b0ad3
Author: pavlin <pavlin>
Date: Sat May 19 00:57:19 2007 +0000
Changed the type of the ip_protocol argument from uint32_t to uint8_t,
because this is the actual size inside the IP header.
commit 969986a91caf33241e7406b4cb1c5f767142e79d
Author: pavlin <pavlin>
Date: Fri May 18 02:52:29 2007 +0000
Forced commit after kdoc change to the corresponding ospfv[2,3].xif
that don't have any impact on ospfv[2,3]_base.cc
This is needed to get around unnecessary re-generation on Windows
(because of timestamp mismatch) which fails probably because of
Python issues.
commit 9bf6ade94dff84b919647ae5a6e1b0cf656e6906
Author: pavlin <pavlin>
Date: Fri May 18 02:50:44 2007 +0000
Forced commit after kdoc change to the corresponding
fea_rawokt[4,6]_client.xif files that don't have any impact on
fea_rawpkt[4,6]_client_xif.cc
This is needed to get around unnecessary re-generation on Windows
(because of timestamp mismatch) which fails probably because of
Python issues.
commit 71a25041cfc82b70842099f021f118dd3bbbdc7a
Author: pavlin <pavlin>
Date: Wed May 16 00:14:32 2007 +0000
Forced commit after kdoc change to the corresponding ospfv3.xif
that don't have any impact on ospfv3_xif.cc
This is needed to get around unnecessary re-generation on Windows
(because of timestamp mismatch) which fails probably because of
Python issues.
commit aa208268fcb9016fb725294e0d31fb7615b65008
Author: zec <zec>
Date: Sat May 12 23:26:23 2007 +0000
An attempt to unbreak test17 of test_peering2.sh suite, which fails
occassionaly on some test machines, by inserting a two second delay
at a suspicious place. I have absolutely no clue whether this will
work, since on my machine this particular test always passes OK with
or without this modification.
commit efb5078f4af4fa8e12ab10fd657971868c8babe8
Author: zec <zec>
Date: Sat May 12 23:01:33 2007 +0000
Wait for two seconds between attempting to establish a test peering
and checking whether this succedded in test2 of test_peering2.sh.
This seems to increase the chances for this test to succeed when
XORP is built with massive debugging options.
commit 1841cacb167567d579ed0f87160e9ec0e7123f7f
Author: pavlin <pavlin>
Date: Fri May 11 00:25:46 2007 +0000
Conditionally define IPPROTO_PIM
commit 9d1d49b81402678e231abcd544b70ffa869933eb
Author: pavlin <pavlin>
Date: Fri May 11 00:25:19 2007 +0000
Conditionally define IPPROTO_ICMPV6
commit f4c3fb3980705d9aa4042acbae2523d15eab1af6
Author: pavlin <pavlin>
Date: Fri May 11 00:24:58 2007 +0000
Conditionally define IPPROTO_IGMP
commit 737b87cd2c0e7e406883f3f1a7a326ba54d27fb6
Author: pavlin <pavlin>
Date: Thu May 10 22:56:58 2007 +0000
Fix a kdoc comment.
commit 98f326f44e2495dca4535c10febce1244839fe12
Author: pavlin <pavlin>
Date: Thu May 10 22:32:14 2007 +0000
Synchronize with Makefile.am changes:
Removed the MFEA specific mechanism for propagating the network
interface information to its clients (IGMP/MLD and PIM-SM)
and use libfeaclient instead.
commit 0a5d83bb6b2f98228fd4385c335f367f30c731a2
Author: pavlin <pavlin>
Date: Thu May 10 00:08:16 2007 +0000
Removed the MFEA specific mechanism for propagating the network
interface information to its clients (IGMP/MLD and PIM-SM)
and use libfeaclient instead.
commit 7ad8b75ebd9735c231e2aa71affeeef75302738a
Author: pavlin <pavlin>
Date: Wed May 9 23:57:58 2007 +0000
OpenBSD-4.1 is now supported.
commit 36e00f712136cd1ecf4c049369198362acd6fc41
Author: pavlin <pavlin>
Date: Wed May 9 00:27:45 2007 +0000
Added support for fea_ifmgr_replicator.xif XRL interface to MFEA,
so now MFEA client can register to obtain interface information
using the libfeaclient mechanism.
commit 29710810f03350c02d0ccc198b8074cd5cd998da
Author: pavlin <pavlin>
Date: Wed May 9 00:25:47 2007 +0000
Return an error message if there is an error when one of the following
methods are processed:
XrlFeaTarget::ifmgr_replicator_0_1_register_ifmgr_mirror()
XrlFeaTarget::ifmgr_replicator_0_1_unregister_ifmgr_mirror()
commit 11cc44baa77ec7c742a2130d7cc5accd779feb7f
Author: pavlin <pavlin>
Date: Tue May 8 22:16:03 2007 +0000
Add vif_index to the IfTreeVif class and propagate it via libfeaclient.
commit 37d6c397ba3baae4e91402069e4bd2b3d640218e
Author: pavlin <pavlin>
Date: Tue May 8 21:47:23 2007 +0000
* Add a mechanism to libfeaclient to carry a vif_index per vif.
Typically, the vif index will be set/decided by the originator
itself.
* Renamed the "index" argument of interface_set_pif_index and
vif_set_pif_index XRLs to "pif_index".
commit d1c6761dc6453182a7002c8eb1aaf7f25dafabcb
Author: pavlin <pavlin>
Date: Tue May 8 19:23:13 2007 +0000
Added a new boolean flag "ip_internet_control" when sending/receiving
IP raw packets.
When transmitting IP raw packets, if the flag is true, then this
is IP control traffic and the IPv4 header's ip_tos will be set to
IPTOS_PREC_INTERNETCONTROL.
When receiving IP raw packets, if the IPv4 ip_tos is set to
IPTOS_PREC_INTERNETCONTROL, then the ip_internet_control flag is
set to true.
For now, the flag is ignored for IPv6.
Previously, the is_router_alert (or ip_router_alert) flag was
overloaded to set the ip_tos to IPTOS_PREC_INTERNETCONTROL.
However, this was an issue for some protocols that don't use the
IP Router Alert flag, because they still need to set ip_tos
to IPTOS_PREC_INTERNETCONTROL.
Note that at the bottom of the FEA the ip_tos IP header field
is set according to ip_internet_control ONLY if the ip_tos
XRL argument is not used (i.e., when it has negative value).
Bug found by: Hasso Tepper <hasso AT estpak.ee>
commit 9ca03cb0b4ed61a7844a20c6a52518e9334e6692
Author: pavlin <pavlin>
Date: Tue May 8 18:13:58 2007 +0000
Add missing kdoc comment-description of parameter "area".
commit fef29ba924779ad190677804145e6fa143af5b3c
Author: pavlin <pavlin>
Date: Tue May 8 01:15:49 2007 +0000
Renamed method IfMgrIfTree:ifs() to interfaces()
(for consistency with the rest of the FEA code).
commit a645a2dbf6770e022158d648e3dc61bc00356af3
Author: pavlin <pavlin>
Date: Tue May 8 00:49:01 2007 +0000
Rename some of the IfTree methods to avoid the ambiguous "if"
abbreviation for "interface":
* add_if() -> add_interface()
* update_if() -> update_interface()
* ifs() -> interfaces()
* if_flags() -> interface_flags()
* set_if_flags() -> set_interface_flags()
commit c65b813d1100fdbe161de8c787460510f5fe0127
Author: pavlin <pavlin>
Date: Tue May 8 00:16:00 2007 +0000
Propagate the pim_register flag inside LibFeaClientBridge::vif_update().
commit a7e690a910a017d1ff90ac5c6551495afa0a4311
Author: pavlin <pavlin>
Date: Tue May 8 00:07:57 2007 +0000
* Added a pim_register flag to the IfTreeVif items in the IfTree.
Note that this flag is printed conditionally, because it is used
only by the MFEA.
* Set as appropriate the pim_register flag for the Register vif
inside the MFEA's IfTree copy.
commit d1736c6984a7d80ebeebfd1c4231da62e2519aca
Author: pavlin <pavlin>
Date: Mon May 7 23:48:24 2007 +0000
Initial modifications to the MFEA to start using the libfeaclient
mechanism to propaget the interface information to its clients:
* Add a mechanism to create a local IfTree copy of the FEA iftree
inside MfeaNode, but add a PIM Register interface/vif as well.
* Add IfConfigUpdateReplicator to MfeaNode that will be used to
propagate the above MfeaNode iftree to MFEA clients (using
the libfeaclient mechanism).
commit 55166ebd8dbb27c1c6d57b93064c3828cfe52525
Author: pavlin <pavlin>
Date: Mon May 7 23:41:28 2007 +0000
Minor tweaks to some of the XLOG messages.
commit 27e52cd0b4fa0e926cbf2cdd29ddcd9c0b519df2
Author: pavlin <pavlin>
Date: Sat May 5 01:08:53 2007 +0000
Pre-compute the IPvX version of IPv4 and IPv6 address and use it
instead of computing it on the fly.
This fixes an odd compilation problem on OpenBSD-4.1
with 3.3.5 (propolice) which doesn't like a statement like:
"IPvXNet subnet_addr(IPvX(addr), ap->prefix_len());"
because of the internal IPvX() casting.
commit eedb5f6ac9fe36439faa54bb84ea9f29c866fa4b
Author: pavlin <pavlin>
Date: Fri May 4 22:21:48 2007 +0000
Set the PATH (optional) when creating cross-compilation environment.
commit 8cb84d38c37c647aa3bd99953f47a56706e3e323
Author: pavlin <pavlin>
Date: Fri May 4 19:57:34 2007 +0000
Added a const-ified version of Vif::find_address()
commit 34d71426f0c7a7b713cfb2d0665455267433b235
Author: pavlin <pavlin>
Date: Fri May 4 07:21:36 2007 +0000
Call remove_from_replicator() within the MfeaNode destructor.
Thus MfeaNode will passively monitor all interface-related changes
during its lifetime without losing track.
commit 24a4265add6da3e2c69d15d0241b66a1089cf65a
Author: pavlin <pavlin>
Date: Fri May 4 01:43:21 2007 +0000
Refactor the IfConfigUpdateReplicator internal mechanism for
propagating the interface information from IfConfig to other
FEA components:
* Moved the IfConfigUpdateReplicator, IfConfigErrorReporter
and IfConfigAddressTable instances from FeaNode to IfConfig,
because this is where they belong (by functionality).
* The (new) IfConfig methods to access the new instances above
are ifconfig_update_replicator(), ifconfig_error_reporter()
and ifconfig_address_table().
* Refactor the implementation of IfConfigUpdateReporterBase()
so now it contains internally a reference to the replicator
and the iftree that is monitored.
* Added new methods IfConfigUpdateReporterBase::add_to_replicator()
and remove_from_replicator() which add/remove the
IfConfigUpdateReporterBase instance to/from the corresponding
replicator.
* Modify the IfConfigUpdateReplicator::add_reporter() so
it propagates all current interface information to new
IfConfigUpdateReporterBase reporters.
* Modify the MfeaNode registering/de-registering for receiving
the FEA interface information: the registration happens
when MfeaNode is started, while the de-registration happens
when MfeaNode is stopped. This avoids unnecessary handling
of interface information and elimininates confusing MFEA-related
XLOG_INFO() messages if MfeaNode is not configured.
* Refactor the MfeaNode::interface_update(), vif_update, address_update()
internal logic, so it is more liberal with handling the CREATED cases:
previously the code printed an error if CREATED was received, but
the MfeaNode had already created that interface internally.
The new logic is more liberal so CREATED will perform the CHANGED
operations (if the interfce was already created internally).
commit 706643b0ceb13c4887b065c84edaa0f56ebce32a
Author: pavlin <pavlin>
Date: Fri May 4 01:42:59 2007 +0000
Removed "struct ifaddrs;" statement, because it is not necessary.
commit 3f7a4838c066f28ef01ab6dbead8e68dc68ba126
Author: pavlin <pavlin>
Date: Thu May 3 18:46:27 2007 +0000
Removed the propagation of "is_system_interfaces_reportee" flag
from the bottom of the FEA to the IfTree reportees, because this
flag is not needed.
For now the flag is propagated from the bottom of the FEA (by the
IfConfigObserver instances) only up to IfConfig::report_updates().
For the time being any updates from the IfConfigObserver instances
are ignored by IfConfig::report_updates().
In the future we need to consider them for interfaces that
have been configured with the default-system-config configuration
statement.
commit 2d1c5d9844dac2a14e95cddf2c57654af52d8c47
Author: pavlin <pavlin>
Date: Thu May 3 09:32:35 2007 +0000
Refactor the mechanism for propagating the network interface
information from the FEA to the MFEA: previously we were using the
libfeaclient mechanism but now we are using the
IfConfigUpdateReporterBase mechanism.
The new mechanism is not only faster, but simpler and more robust.
commit 2cce6e9240f4a3b9623e1f48d169521868d34670
Author: pavlin <pavlin>
Date: Thu May 3 09:28:26 2007 +0000
Added new method ProtoNode<V>::configured_vif_find_by_name().
commit 51368b709f0021c980a14180ddf7b7a87cf5d760
Author: pavlin <pavlin>
Date: Wed May 2 01:23:24 2007 +0000
* Removed methods libfeaclient_iftree() and fea_iftree(),
because they are not used.
* Minor cleanup.
commit c357b78c598f1bfe8750d7ea593d69be753a9fc5
Author: pavlin <pavlin>
Date: Wed May 2 00:38:55 2007 +0000
Re-generate auto-generated files to include kdoc information
and updated copyright year.
commit c6593ac0fee05eb2d09387ae100d76966c586823
Author: pavlin <pavlin>
Date: Tue May 1 21:27:40 2007 +0000
* Re-classify the IfConfigSet::is_discard_emulated() pure virtual method
from "public" to "protected", because there is no need for it to be
public.
* Re-classify all particular implementations of "is_discard_emulated()"
in the derived classes to be "private".
commit 3e2a1a2b20e55e2d09a0f41e83818f22c1b150ba
Author: bms <bms>
Date: Tue May 1 16:56:51 2007 +0000
Catch up with recent fea changes.
commit bfd94b340991b307f788f09b0ec74b97f549fa95
Author: bms <bms>
Date: Tue May 1 16:55:21 2007 +0000
Add jamfiles for new fea subtree.
commit 21083f841b6514e3f85960319352b24de3be989b
Author: pavlin <pavlin>
Date: Tue May 1 09:15:07 2007 +0000
Link against the xorp_ifconfig, xorp_fibconfig and xorp_control_socket
libraries instead of directly referring to all files inside the
forwarding_plane directory tree.
commit 2602771f16d6cd06b08942a92acdd13186f0ba3b
Author: pavlin <pavlin>
Date: Tue May 1 08:21:54 2007 +0000
FEA refactoring:
Moved the Windows specific files from fea/ to
fea/forwarding_plane/control_socket/ and in the process rename some
of them:
win_rtm_pipe.cc -> forwarding_plane/control_socket/windows_rtm_pipe.cc
win_rtm_pipe.hh -> forwarding_plane/control_socket/windows_rtm_pipe.hh
win_rtsock.h -> forwarding_plane/control_socket/windows_routing_socket.h
win_support.cc -> forwarding_plane/control_socket/windows_rras_support.cc
win_support.hh -> forwarding_plane/control_socket/windows_rras_support.h
commit 339dd439f9d700a325e35315cf20fb0c0c473bc4
Author: pavlin <pavlin>
Date: Tue May 1 06:36:44 2007 +0000
FEA refactoring:
Moved the ifconfig_media.{hh,cc} files from the "fea/" directory to
"fea/forwarding_plane/ifconfig/" :
ifconfig_media.cc -> forwarding_plane/ifconfig/ifconfig_media.cc
ifconfig_media.hh -> forwarding_plane/ifconfig/ifconfig_media.hh
Note that currently all implemented medhods for testing the media
link status are implemented inside a single global function
with a number of #ifdef guards. In the future we need to separate
those methods and incorporate them into the rest of the xorp_ifconfig
library using the appropriate design (e.g., as part of the IfConfigGet
class for example).
commit e6a2b64d32922c6773b8b386ddd295d0f8e148ec
Author: pavlin <pavlin>
Date: Tue May 1 02:43:05 2007 +0000
Include all header files from the top-level "fea/" directory
by adding the "fea/" prefix to the name of the file.
commit 671b6087f883b85eb3282f37e451d2a4ac6f43d5
Author: pavlin <pavlin>
Date: Tue May 1 02:40:42 2007 +0000
Replace #include "fea_module.h" with #include "fea/fea_module.h"
commit e201888626750651e75dec4034edc83f6a6bd748
Author: pavlin <pavlin>
Date: Tue May 1 02:33:30 2007 +0000
Added Makefile.am (and the corresonding auto-generated Makefile.in)
to the fea/forwarding_plane directory and subdirectories.
Right now they are not used (yet).
Those Makefile.am files will be used used to generate the following
libraries:
- libxorp_control_socket
- libxorp_fibconfig
- libxorp_ifconfig
For now the libraries are static.
commit 5f96f45bf428615139c67975306f8c9b18905c23
Author: pavlin <pavlin>
Date: Tue May 1 02:20:36 2007 +0000
FEA refactoring:
Removed the following (empty) files, because they are not needed
anymore (at least for now):
- fibconfig_entry_get.cc
- fibconfig_entry_observer.cc
- fibconfig_entry_set.cc
- fibconfig_table_get.cc
- fibconfig_table_observer.cc
- fibconfig_table_set.cc
- ifconfig_get.cc
- ifconfig_observer.cc
commit 529245373a61b1c546ea1ac4a3be53c25e196bdc
Author: pavlin <pavlin>
Date: Tue May 1 02:14:05 2007 +0000
FEA refactoring:
Moved the mechanism that implements IfConfigSet::push_config() from
the top-level "fea/" directory to "fea/forwarding_plane/ifconfig/" :
fea/ifconfig_set.cc -> fea/forwarding_plane/ifconfig/ifconfig_set.cc
This is (almost) platform independent mechanism that can be
overwritten by each system-specific implementation by
(re)implementing the IfConfigSet::push_config() virtual method
in the class that inherits from IfConfigSet.
commit 7405c83248d77dfcfd9c188202052c0f1d03e4ad
Author: pavlin <pavlin>
Date: Tue May 1 01:50:42 2007 +0000
Renamed all kernel_adjust_*() functions implemented inside file
fea/forwarding_plane/control_socket/system_utilites.hh
to system_adjust_*()
commit b02f9fb86cc2f724ea6455e34e408eb0c62f7d75
Author: pavlin <pavlin>
Date: Tue May 1 01:48:33 2007 +0000
FEA refactoring:
Removed leftover fea/kernel_utils.hh, because it has been renamed:
kernel_utils.hh -> forwarding_plane/control_socket/system_utilities.hh
commit 850f573beb19fa23ec21287ad627513ebe0bd392
Author: pavlin <pavlin>
Date: Tue May 1 01:42:36 2007 +0000
FEA refactoring:
Moved the control socket specific files from fea/ to
fea/forwarding_plane/control_socket/ and in the process rename
some of them:
click_socket.cc -> forwarding_plane/control_socket/click_socket.cc
click_socket.hh -> forwarding_plane/control_socket/click_socket.hh
kernel_utils.hh -> forwarding_plane/control_socket/system_utilities.hh
netlink_socket.cc -> forwarding_plane/control_socket/netlink_socket.cc
netlink_socket.hh -> forwarding_plane/control_socket/netlink_socket.hh
netlink_socket_utils.cc
-> forwarding_plane/control_socket/netlink_socket_utilities.cc
netlink_socket_utils.hh
-> forwarding_plane/control_socket/netlink_socket_utilities.hh
routing_socket.cc -> forwarding_plane/control_socket/routing_socket.cc
routing_socket.hh -> forwarding_plane/control_socket/routing_socket.hh
routing_socket_utils.cc
-> forwarding_plane/control_socket/routing_socket_utilities.cc
routing_socket_utils.hh
-> forwarding_plane/control_socket/routing_socket_utilities.hh
commit 8cf692953fbf88dcc9a9399d20f4955f2696ead0
Author: pavlin <pavlin>
Date: Tue May 1 00:52:02 2007 +0000
Removed (conditional) #define of XORP_CMSG_NXTHDR, because it is not
needed/used.
commit 00f2760072148940e59f9433d6313e08a74ccdba
Author: pavlin <pavlin>
Date: Tue May 1 00:14:07 2007 +0000
Moved the handling of FIB table observers from the
FibConfigTableObserver class to the FibConfig class.
commit 43368ffe146c9c213bf7ec2c173177d718e44cf5
Author: pavlin <pavlin>
Date: Mon Apr 30 23:40:27 2007 +0000
* Removed the following wrapper methods:
- FibConfigEntryGet::register_fibconfig_primary()
- FibConfigEntryGet::register_fibconfig_secondary()
- FibConfigEntryObserver::register_fibconfig_primary()
- FibConfigEntryObserver::register_fibconfig_secondary()
- FibConfigEntrySet::register_fibconfig_primary()
- FibConfigEntrySet::register_fibconfig_secondary()
- FibConfigTableGet::register_fibconfig_primary()
- FibConfigTableGet::register_fibconfig_secondary()
- FibConfigTableObserver::register_fibconfig_primary()
- FibConfigTableObserver::register_fibconfig_secondary()
- FibConfigTableSet::register_fibconfig_primary()
- FibConfigTableSet::register_fibconfig_secondary()
- IfConfigGet::register_ifconfig_primary()
- IfConfigGet::register_ifconfig_secondary()
- IfConfigObserver::register_ifconfig_primary()
- IfConfigObserver::register_ifconfig_secondary()
- IfConfigSet::register_ifconfig_primary()
- IfConfigSet::register_ifconfig_secondary()
Instead, use directly the corresponding FibConfig and IfConfig methods:
- FibConfig::register_fibconfig_entry_get_primary()
- FibConfig::register_fibconfig_entry_get_secondary()
- FibConfig::register_fibconfig_entry_observer_primary()
- FibConfig::register_fibconfig_entry_observer_secondary()
- FibConfig::register_fibconfig_entry_set_primary()
- FibConfig::register_fibconfig_entry_set_secondary()
- FibConfig::register_fibconfig_table_get_primary()
- FibConfig::register_fibconfig_table_get_secondary()
- FibConfig::register_fibconfig_table_observer_primary()
- FibConfig::register_fibconfig_table_observer_secondary()
- FibConfig::register_fibconfig_table_set_primary()
- FibConfig::register_fibconfig_table_set_secondary()
- IfConfig::register_ifconfig_get_primary()
- IfConfig::register_ifconfig_get_secondary()
- IfConfig::register_ifconfig_observer_primary()
- IfConfig::register_ifconfig_observer_secondary()
- IfConfig::register_ifconfig_set_primary()
- IfConfig::register_ifconfig_set_secondary()
Where necessary, move the "secondary"-specific processing to the FibConfig
and IfConfig methods.
* Moved the implementation of the constructor and destructor of the
FibConfig{Entry,Table}{Get,Observer,Set} and IfCOnfig{Get,Observer,Set}
classes from the *.cc to the header *.hh files.
commit 7ce51225055310ace1dc89c13f6df2c8d0ffd7bb
Author: pavlin <pavlin>
Date: Mon Apr 30 23:26:54 2007 +0000
Add missing UNUSED() statement.
commit e1714dc57168225d1ee8c9212be61666987de329
Author: pavlin <pavlin>
Date: Mon Apr 30 21:13:14 2007 +0000
* Removed the IfConfigGet::sock() method and associated state, because
it is not needed anymore.
Moved the IfConfigGet:_s4 and _s6 fields to class IfConfigGetIoctl,
because it is the only class that might need them (though currently
it doesn't).
* Moved the implementation of the IfConfigGet constructor and destructor
to the header file itself.
commit edec4973e594d1858ed28f24c559effb1d6b64db
Author: pavlin <pavlin>
Date: Mon Apr 30 20:54:43 2007 +0000
Moved the implementation of method IfConfigGet::iff_flags()
to class IfConfigGetSysctl().
Note that currently this method is unused. If it remains unused it
might be removed in the future.
commit 7dfce5c31fb1c2f651e9791f26737d5ce26d1aff
Author: pavlin <pavlin>
Date: Mon Apr 30 20:44:07 2007 +0000
FEA refactoring:
* Moved method IfConfigGet::parse_buffer_ifaddrs() to class
IfConfigGetGetifaddrs and rename it to parse_buffer_getifaddrs().
Also, add IfConfig as one of the arguments and make it a static method.
* Moved method IfConfigGet::parse_buffer_rtm() to class
IfConfigGetSysctl and rename it to parse_buffer_routing_socket().
Also, add IfConfig as one of the arguments and make it a static method.
* Moved method IfConfigGet::parse_buffer_ifreq() to class
IfConfigGetIoctl and rename it to parse_buffer_ioctl().
Also, add IfConfig as one of the arguments and make it a static method.
* Moved method IfConfigGet::parse_buffer_nlm() to class
IfConfigGetNetlink and rename it to parse_buffer_netlink_socket().
Also, add IfConfig as one of the arguments and make it a static method.
commit 67f2968dfe992b029f0ae52c6ba4c1b8c7da8186
Author: pavlin <pavlin>
Date: Mon Apr 30 05:59:33 2007 +0000
* Moved method FibConfigEntryGet::parse_buffer_rtm() to
class FibConfigEntryGetRtsock and rename it to
parse_buffer_routing_socket().
Also, add IfTree as one of the arguments and make it a static method.
* Moved method FibConfigEntryGet::parse_buffer_nlm() to
class FibConfigEntryGetNetlink and rename it to
parse_buffer_netlink_socket().
Also, add IfTree as one of the arguments and make it a static method.
* Moved method FibConfigTableGet::parse_buffer_rtm() to
class FibConfigTableGetSysctl and rename it to
parse_buffer_routing_socket().
Also, add IfTree as one of the arguments and make it a static method.
* Moved method FibConfigTableGet::parse_buffer_nlm() to
class FibConfigTableGetNetlink and rename it to
parse_buffer_netlink_socket().
Also, add IfTree as one of the arguments and make it a static method.
* Reorder the first two arguments of RtmUtils::rtm_get_to_fte_cfg()
(for consistency with the above "parse_buffer_routing_socket()" methods.
* Reorder the first two arguments of NlmUtils::nlm_get_to_fte_cfg()
(for consistency with the above "parse_buffer_netlink_socket()" methods.
commit 30868a0f9d0e7cc5a57bc90969b3c24b638aec96
Author: pavlin <pavlin>
Date: Sun Apr 29 23:42:58 2007 +0000
Removed the FibConfigEntryGet::sock() and FibConfigTableGet::sock()
methods because they are not used/needed.
commit 304f2bb355ea0ddde8ffed93dec41ad398040870
Author: pavlin <pavlin>
Date: Sat Apr 28 01:54:13 2007 +0000
Include all header files from the "fea" directory by specifying
the "fea/" prefix:
OLD:
#include "foo.hh"
NEW:
#include "fea/foo.hh"
commit 7ec809f1e89289bf8369f77b55e42388dbdc2f46
Author: pavlin <pavlin>
Date: Sat Apr 28 00:51:40 2007 +0000
Fixed the name of the header #ifdef include guard to correspond to the
new file name:
__FEA_XRL_FTI_HH__ -> __FEA_XRL_FIB_CLIENT_MANAGER_HH__
commit c17ff1356092b24593e2a6130332b9b079f6c0ba
Author: pavlin <pavlin>
Date: Sat Apr 28 00:49:12 2007 +0000
* Renamed class XrlFtiTransactionManager to XrlFibClientManager
and changed the type of the second argument of its constructor.
* Moved the XrlFibClientManager instance from XrlFeaTarget to XrlFeaNode.
commit 4d178d79112123e78c7d3fd9dfcd0365330cbfb9
Author: pavlin <pavlin>
Date: Sat Apr 28 00:19:54 2007 +0000
FEA refactoring:
Renamed the following files:
xrl_fti.cc -> xrl_fib_client_manager.cc
xrl_fti.hh -> xrl_fib_client_manager.hh
commit c6689f3df611d8553bbf29de0b7dcf9bcc3fd3b9
Author: pavlin <pavlin>
Date: Sat Apr 28 00:04:22 2007 +0000
Cleanup some of the internals of XrlFtiTransactionManager
commit 4a4249206250af32b7c33e4377c1aa418c0f5960
Author: pavlin <pavlin>
Date: Fri Apr 27 23:48:56 2007 +0000
FEA refactoring:
* Moved the FibConfigTransactionManager to class FibConfig
* Renamed the "Fti*" transaction operations to "Fib*"
* Cleanup some of the FibConfigTransactionManager internals
* Cleanup some of the IfConfigTransactionManager internals
* Fix some of the tabbing space inside xrl_fea_target.cc
commit 1aea788add3e412ae2483e5d42589ddec009d530
Author: pavlin <pavlin>
Date: Fri Apr 27 21:47:26 2007 +0000
* Renamed FtiTransactionManager to FibConfigTransactionManager
* Renamed FtiTransactionOperation to FibConfigTransactionOperation
* Renamed IfConfigManagerOperation to IfConfigTransactionOperation
(for consistency with the FibConfigTransaction* naming scheme)
commit 10ffc1a90674cbd7d63aa14ea45a8bdc33489c99
Author: pavlin <pavlin>
Date: Fri Apr 27 21:24:38 2007 +0000
* Renamed InterfaceTransactionManager to IfConfigTransactionManager
* Renamed InterfaceManagerOperation to IfConfigManagerOperation
commit f41b71640b485ed4f0a28897ea506f03f01760cf
Author: pavlin <pavlin>
Date: Fri Apr 27 21:11:28 2007 +0000
FEA refactoring:
Renamed the following files:
fti_transaction.cc -> fibconfig_transaction.cc
fti_transaction.hh -> fibconfig_transaction.hh
ifmanager_transaction.cc -> ifconfig_transaction.cc
ifmanager_transaction.hh -> ifconfig_transaction.hh
commit 187ae885d4f307be0469d1176d65d4dc759d8ae2
Author: pavlin <pavlin>
Date: Fri Apr 27 20:33:31 2007 +0000
Renamed FtiFibMsgSet and FtiFibMsg to FibMsgSet and FibMsg respectively,
and refactor the implementation of the FibMsg flags.
commit 0e11117c312547a5e0de7f53e762db4c4297bb2e
Author: pavlin <pavlin>
Date: Fri Apr 27 08:14:07 2007 +0000
Fix the order of the *_routing_socket.cc and *_rtmv2.cc files:
now they re in alphabetical order.
commit abedb2fadf81fbb5e640365e5dd6cc6dd77a2f58
Author: pavlin <pavlin>
Date: Fri Apr 27 01:45:33 2007 +0000
Fix a typo that results in compilation error on Windows.
commit 5e567cd208cb39cb67a4765e29682ab5f529e92b
Author: pavlin <pavlin>
Date: Fri Apr 27 01:10:27 2007 +0000
Renamed most variable and method names "fti*" and "Fti*" to
"fibconfig*" and FibConfig*.
commit 4c9e048bc1082a24a78997a3db08619d11c24e01
Author: pavlin <pavlin>
Date: Thu Apr 26 22:29:49 2007 +0000
FEA refactoring:
Renamed the system-independent "fticonfig*" files to "fibconfig*" :
fticonfig.cc -> fibconfig.cc
fticonfig.hh -> fibconfig.hh
fticonfig_entry_get.cc -> fibconfig_entry_get.cc
fticonfig_entry_get.hh -> fibconfig_entry_get.hh
fticonfig_entry_observer.cc -> fibconfig_entry_observer.cc
fticonfig_entry_observer.hh -> fibconfig_entry_observer.hh
fticonfig_entry_set.cc -> fibconfig_entry_set.cc
fticonfig_entry_set.hh -> fibconfig_entry_set.hh
fticonfig_table_get.cc -> fibconfig_table_get.cc
fticonfig_table_get.hh -> fibconfig_table_get.hh
fticonfig_table_observer.cc -> fibconfig_table_observer.cc
fticonfig_table_observer.hh -> fibconfig_table_observer.hh
fticonfig_table_set.cc -> fibconfig_table_set.cc
fticonfig_table_set.hh -> fibconfig_table_set.hh
Approved by: Adam Greenhalgh
commit f41f59397dea7e41c555e8a6376001615c479424
Author: pavlin <pavlin>
Date: Thu Apr 26 09:59:07 2007 +0000
FEA refactoring:
Moved the system-specific fticonfig_*_parse_* files from xorp/fea/
to their new location under xorp/fea/forwarding_plane/fibconfig/ .
Moved the system-specific ifconfig_parse_* files from xorp/fea/
to their new location under xorp/fea/forwarding_plane/fibconfig/ .
Note that after the moving the following rules have been applied:
* The "fticonfig_" prefix has been renamed to "fibconfig_"
* Files with suffix "_ifaddrs.cc" now have suffix "_getifaddrs.cc"
* Files with suffix "_ifreq.cc" now have suffix "_ioctl.cc"
* Files with suffix "_nlm.cc" now have suffix "_netlink_socket.cc"
* Files with suffix "_rtm.cc" now have suffix "_routing_socket.cc"
fticonfig_entry_parse_nlm.cc ->
forwarding_plane/fibconfig/fibconfig_entry_parse_netlink_socket.cc
fticonfig_entry_parse_rtm.cc ->
forwarding_plane/fibconfig/fibconfig_entry_parse_routing_socket.cc
fticonfig_table_parse_nlm.cc ->
forwarding_plane/fibconfig/fibconfig_table_parse_netlink_socket.cc
fticonfig_table_parse_rtm.cc ->
forwarding_plane/fibconfig/fibconfig_table_parse_routing_socket.cc
ifconfig_parse_ifaddrs.cc ->
forwarding_plane/ifconfig/ifconfig_parse_getifaddrs.cc
ifconfig_parse_ifreq.cc ->
forwarding_plane/ifconfig/ifconfig_parse_ioctl.cc
ifconfig_parse_nlm.cc ->
forwarding_plane/ifconfig/ifconfig_parse_netlink_socket.cc
ifconfig_parse_rtm.cc ->
forwarding_plane/ifconfig/ifconfig_parse_routing_socket.cc
Approved by: Adam Greenhalgh
commit 4e49d394daaf83589783b7dc29efb8bee581a1e1
Author: pavlin <pavlin>
Date: Thu Apr 26 06:29:44 2007 +0000
Rename variables and methods names like ifc_foo to ifconfig_foo.
commit 6547bb32bd26e810350700689209921b18120163
Author: pavlin <pavlin>
Date: Thu Apr 26 01:23:39 2007 +0000
FEA refactoring:
Moved some of the system-specific fticonfig_* files from xorp/fea/
to their new location under xorp/fea/forwarding_plane/fibconfig/ .
Note that after the moving the following rules have been applied:
* The "fticonfig_" prefix has been renamed to "fibconfig_"
* Files with suffix "_netlink.cc" now have suffix "_netlink_socket.cc"
* Files with suffix "_rtsock.cc" now have suffix "_routing_socket.cc"
fticonfig_entry_get_click.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_click.cc
fticonfig_entry_get_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_dummy.cc
fticonfig_entry_get_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_iphelper.cc
fticonfig_entry_get_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_netlink_socket.cc
fticonfig_entry_get_rtmv2.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_rtmv2.cc
fticonfig_entry_get_rtsock.cc ->
forwarding_plane/fibconfig/fibconfig_entry_get_routing_socket.cc
fticonfig_entry_observer_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_entry_observer_dummy.cc
fticonfig_entry_observer_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_entry_observer_iphelper.cc
fticonfig_entry_observer_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_entry_observer_netlink_socket.cc
fticonfig_entry_observer_rtmv2.cc ->
forwarding_plane/fibconfig/fibconfig_entry_observer_rtmv2.cc
fticonfig_entry_observer_rtsock.cc ->
forwarding_plane/fibconfig/fibconfig_entry_observer_routing_socket.cc
fticonfig_entry_set_click.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_click.cc
fticonfig_entry_set_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_dummy.cc
fticonfig_entry_set_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_iphelper.cc
fticonfig_entry_set_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_netlink_socket.cc
fticonfig_entry_set_rtmv2.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_rtmv2.cc
fticonfig_entry_set_rtsock.cc ->
forwarding_plane/fibconfig/fibconfig_entry_set_routing_socket.cc
fticonfig_table_get_click.cc ->
forwarding_plane/fibconfig/fibconfig_table_get_click.cc
fticonfig_table_get_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_table_get_dummy.cc
fticonfig_table_get_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_table_get_iphelper.cc
fticonfig_table_get_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_table_get_netlink_socket.cc
fticonfig_table_get_sysctl.cc ->
forwarding_plane/fibconfig/fibconfig_table_get_sysctl.cc
fticonfig_table_observer_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_table_observer_dummy.cc
fticonfig_table_observer_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_table_observer_iphelper.cc
fticonfig_table_observer_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_table_observer_netlink_socket.cc
fticonfig_table_observer_rtmv2.cc ->
forwarding_plane/fibconfig/fibconfig_table_observer_rtmv2.cc
fticonfig_table_observer_rtsock.cc ->
forwarding_plane/fibconfig/fibconfig_table_observer_routing_socket.cc
fticonfig_table_set_click.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_click.cc
fticonfig_table_set_dummy.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_dummy.cc
fticonfig_table_set_iphelper.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_iphelper.cc
fticonfig_table_set_netlink.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_netlink_socket.cc
fticonfig_table_set_rtmv2.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_rtmv2.cc
fticonfig_table_set_rtsock.cc ->
forwarding_plane/fibconfig/fibconfig_table_set_routing_socket.cc
Approved by: Adam Greenhalgh
commit de3004dc534fc7c2a519bee982365a9c3fd74716
Author: pavlin <pavlin>
Date: Wed Apr 25 07:57:48 2007 +0000
Renamed classes (to reflect the new directory structure and filenames):
IfConfigGetNetlink -> IfConfigGetNetlinkSocket
IfConfigObserverNetlink -> IfConfigObserverNetlinkSocket
IfConfigSetNetlink -> IfConfigSetNetlinkSocket
IfConfigObserverRtsock -> IfConfigObserverRoutingSocket
commit 9f8e3f7442a96a55ee2b87dc6b2f73a2179a390a
Author: pavlin <pavlin>
Date: Wed Apr 25 07:55:36 2007 +0000
Removed file forwarding_plane/ifconfig/ifconfig_observer_rtsock.cc
that got committed by accident, and use instead
forwarding_plane/ifconfig/ifconfig_observer_routing_socket.cc
Note that this is same file, just different name.
commit 01086c1d6a96b372562809aa394dbc91e6526d72
Author: pavlin <pavlin>
Date: Wed Apr 25 07:31:52 2007 +0000
Moved some of the system-specific ifconfig_* files to their new location:
ifconfig_get_click.cc -> forwarding_plane/ifconfig/ifconfig_get_click.cc
ifconfig_get_dummy.cc -> forwarding_plane/ifconfig/ifconfig_get_dummy.cc
ifconfig_get_getifaddrs.cc -> forwarding_plane/ifconfig/ifconfig_get_getifaddrs.cc
ifconfig_get_ioctl.cc -> forwarding_plane/ifconfig/ifconfig_get_ioctl.cc
ifconfig_get_iphelper.cc -> forwarding_plane/ifconfig/ifconfig_get_iphelper.cc
ifconfig_get_netlink.cc -> forwarding_plane/ifconfig/ifconfig_get_netlink_socket.cc
ifconfig_get_proc_linux.cc -> forwarding_plane/ifconfig/ifconfig_get_proc_linux.cc
ifconfig_get_sysctl.cc -> forwarding_plane/ifconfig/ifconfig_get_sysctl.cc
ifconfig_observer_dummy.cc -> forwarding_plane/ifconfig/ifconfig_observer_dummy.cc
ifconfig_observer_iphelper.cc -> forwarding_plane/ifconfig/ifconfig_observer_iphelper.cc
ifconfig_observer_netlink.cc -> forwarding_plane/ifconfig/ifconfig_observer_netlink_socket.cc
ifconfig_observer_rtsock.cc -> forwarding_plane/ifconfig/ifconfig_observer_routing_socket.cc
ifconfig_set_click.cc -> forwarding_plane/ifconfig/ifconfig_set_click.cc
ifconfig_set_dummy.cc -> forwarding_plane/ifconfig/ifconfig_set_dummy.cc
ifconfig_set_ioctl.cc -> forwarding_plane/ifconfig/ifconfig_set_ioctl.cc
ifconfig_set_iphelper.cc -> forwarding_plane/ifconfig/ifconfig_set_iphelper.cc
ifconfig_set_netlink.cc -> forwarding_plane/ifconfig/ifconfig_set_netlink_socket.cc
Note that the following files have been renamed after they have been
moved to their new location:
ifconfig_get_netlink.cc -> ifconfig_get_netlink_socket.cc
ifconfig_observer_netlink.cc -> ifconfig_observer_netlink_socket.cc
ifconfig_observer_rtsock.cc -> ifconfig_observer_routing_socket.cc
ifconfig_set_netlink.cc -> ifconfig_set_netlink_socket.cc
Approved by: Adam Greenhalgh
commit af2fe065da43ffc16f678d8372a76ca664db16bd
Author: pavlin <pavlin>
Date: Wed Apr 25 06:15:22 2007 +0000
Added default .cvsignore files.
commit 3242ffd3999929701e1a7fef21410eda7fcc71d7
Author: pavlin <pavlin>
Date: Wed Apr 25 02:04:13 2007 +0000
Fix a typo: compilation fix for Linux.
commit 9da65754402d8b95352d5f1b3fcd602c94bbaaa2
Author: pavlin <pavlin>
Date: Wed Apr 25 01:57:42 2007 +0000
Cleanup of the IfTree search methods:
* Remove the get_if(), get_vif() and get_addr() methods that return
iterators to the internal maps and replace them with methods
find_interface(), find_vif(), find_addr() that return pointers.
* Use iterators to the internal IfTree maps only when we need to
iterate.
Those changes reduce some of the code and make it more readable.
commit 77105dc55d3a0fec42410a895398695fb6f263f3
Author: atanu <atanu>
Date: Wed Apr 25 01:40:52 2007 +0000
In OSPFv3 when checking for a new Link-LSAs when the router is the
designated router, replace the incorrect assert with a test.
commit 9ed25e7e430774e080a52eb7078c140594d0de24
Author: greenhal <greenhal>
Date: Tue Apr 24 18:50:54 2007 +0000
Modify makefile.am to support new directory structure that is going roll in in the next few days
Submitted by: adam
Approved by: pavlin
commit 980efac0016a47e4e44ef2a3fcc2bd70aed44405
Author: pavlin <pavlin>
Date: Tue Apr 24 07:05:28 2007 +0000
Bug fix: fix the logic for checking whether an interface is UP.
commit 4deb5a90f20a9b7302f74fef6ca565af922ade9e
Author: pavlin <pavlin>
Date: Tue Apr 24 05:53:06 2007 +0000
Moved the IfConfig::find_interface(), find_vif() and find_addr()
methods from IfConfig to IfTree, because the methods are tree-specific.
commit f1368b4749e07337e64f43cbc6f3a01f2377facb
Author: pavlin <pavlin>
Date: Tue Apr 24 01:36:02 2007 +0000
Fix a typo introduced with the previous commit.
commit 922884a21ad7df7454f68dbd3c0b429c94ea569a
Author: pavlin <pavlin>
Date: Tue Apr 24 01:28:41 2007 +0000
* Moved the transaction-based mechanism from class XrlInterfaceManager
to IfConfig.
* Removed the XrlInterfaceManager implementation, because it is not
needed anymore.
* Added const version of methods IfConfig::find_interface() find_vif()
and find_addr().
commit e0d01112a934b2d5d6fa01892c01bf1b3b318cee
Author: pavlin <pavlin>
Date: Mon Apr 23 23:23:55 2007 +0000
* Simplify the implementation of the find methods by eliminating
the local find_virtual_interface() find_virtual_interface_addr()
functions.
* Minor cleanup.
commit 1009b2b94f47cb18aee61371c7e935bf579a701d
Author: pavlin <pavlin>
Date: Mon Apr 23 23:05:08 2007 +0000
Renamed method IfMgrIfTree::find_if() to find_interface()
to avoid confusion with the "find_if()" function from <algorithm>
and for consistency with the new FEA cleanup changes.
commit 5d09583f001d1bd87afe8e245271e14f5779e789
Author: pavlin <pavlin>
Date: Mon Apr 23 22:14:10 2007 +0000
XrlInterfaceManager related cleanup:
* Added new methods:
IfConfig::find_interface(), find_vif(), find_addr()
and use them instead of the (removed) IfConfig::get_if() and get_vif()
* Remove methods XrlInterfaceManager::get_if(), get_vif() and get_addr()
and use the above new methods instead.
Also, remove the related methods XrlInterfaceManager::get_if_from_config(),
get_vif_from_config() and get_addr_from_config() because they are not
needed anymore.
* Remove methods XrlInterfaceManager::addr_valid(), pull_config_get_if(),
pull_config_get_vif() and pull_config_get_addr() because they are not
needed anymore.
commit aa3358517c5eaf526f5f249d655b696c2b8d07e8
Author: pavlin <pavlin>
Date: Sun Apr 22 01:57:09 2007 +0000
Added a local implementation of strlcpy(3) (copied from OpenBSD)
that will be used in case the system doesn't have one.
commit cae2d3cdb9abbdc9550f6170c02889ba935e98d4
Author: pavlin <pavlin>
Date: Sun Apr 22 01:31:54 2007 +0000
Add a check whether the system has strlcpy(3).
commit 12675493082eb89528ebba3e15c2e2941a3505cd
Author: pavlin <pavlin>
Date: Sun Apr 22 01:03:53 2007 +0000
Change the last argument type of inet_ntop() from socklen_t to size_t
to match the (new) local implementation from OpenBSD.
commit e43dded742dc4212e9f4fc703a99487d56acf969
Author: pavlin <pavlin>
Date: Fri Apr 20 20:28:57 2007 +0000
Editorial nit:
Replaced "return(FOO)" with "return (FOO)" according to the XORP
coding style document.
commit 8ad0accc684e3a947119f60e54598b4a5c2ade33
Author: pavlin <pavlin>
Date: Fri Apr 20 20:15:26 2007 +0000
Removed a TODO entry about eliminating AC_EGREP_HEADER() usage
because it is done.
commit 80a40538b3a22f930203582547ac0bdad8f737a4
Author: pavlin <pavlin>
Date: Fri Apr 20 20:13:17 2007 +0000
Re-write the check whether the system has getopt() in <unistd.h>
so now it uses AC_TRY_COMPILE() and doesn't unconditionally
define HAVE_GETOPT_H for Windows.
commit 49406d3a5d106c7b870bff32c8db80b51dfd98b8
Author: pavlin <pavlin>
Date: Fri Apr 20 19:25:12 2007 +0000
* Use AC_CHECK_TYPES() to check for sig_t instead of defining
a special macro XR_TYPE_SIG_T for that purpose.
* Remove the XR_TYPE_SIG_T macro (inside config/acxorp.m4), because
it is not needed anymore.
* Re-generate.
commit ed0f4f8bd2fe4dc031463d0637228999fd9aab4a
Author: pavlin <pavlin>
Date: Fri Apr 20 19:06:19 2007 +0000
Replaced sprintf() with snprintf() because the latter is safer.
commit 2a68ae0eea23b084f8ad80d2b6ec094300f3da75
Author: pavlin <pavlin>
Date: Fri Apr 20 18:44:00 2007 +0000
Fix a compilation error because of comparison of signed vs unsigned
integers.
commit 3a99317416a1d578cef576a86ecab13cb48416f6
Author: pavlin <pavlin>
Date: Fri Apr 20 18:43:08 2007 +0000
Updated the local inet_ntop() implementation by using the one
from OpenBSD-4.1 instead of the FreeBSD implementation.
The OpenBSD implementation appears to be safer when it comes
to manipulating the data so it doesn't step over the boundary
of an array.
commit dc0dc913ce5c1ff87fb73289dc9ced8e0ddeef60
Author: pavlin <pavlin>
Date: Fri Apr 20 17:14:13 2007 +0000
Removed the ifmgr/0.1/get_system_* XRLs for obtaining interface-related
information directly from the system, because they are not really used
(so far they have been there only for debugging purpose).
If we need this functionality, then we should design a better scheme
that utilizes the existing get_configure_* XRLs rather than
duplicating each XRL.
commit 6a7755f70903fc7f21fae7172437a38e2f0d0362
Author: pavlin <pavlin>
Date: Fri Apr 20 07:17:40 2007 +0000
Syncronize the libxorp/libcomm ordering inside Jamfile with the
corresponding Makefile.am:
Library libcomm depends on libxorp, hence always compile libxorp
first, and order the list of linked libraries such that libxorp
is after libcomm.
Approved by: Bruce M. Simpson
commit 2f7c0ad066f14b625eab141df835adf9b56ef071
Author: pavlin <pavlin>
Date: Fri Apr 20 06:36:59 2007 +0000
Removed a TODO entry which is done.
commit 4eec775c903921a4ca49e300dc9d2852094db43b
Author: pavlin <pavlin>
Date: Fri Apr 20 06:36:09 2007 +0000
Removed fea_ifmgr_client.xif which is not needed anymore.
commit 9bd911a113201f8e27f5c92ca67479ff88d6add0
Author: pavlin <pavlin>
Date: Fri Apr 20 06:35:10 2007 +0000
Removed reference to libfeaifmgrclientxif which is not needed anymore.
commit fb92d6f2ad3afe58df8f47e47b8b9a0e16deb34d
Author: pavlin <pavlin>
Date: Fri Apr 20 06:23:23 2007 +0000
Removed leftover reference to libdemofeaifmgrclientbase.
commit 891d12369cfa399039e25bfc6719af70ffc4c2c5
Author: pavlin <pavlin>
Date: Fri Apr 20 06:08:14 2007 +0000
Removed demo_fea_ifmgr_client.tgt, because it is not needed anymore.
commit 70bf268dcf19d4ecd95a4088eccd4772d06afa87
Author: pavlin <pavlin>
Date: Fri Apr 20 05:43:43 2007 +0000
Removed class XrlIfConfigUpdateReporter, because it is not needed
anymore.
commit c8aaa0f5b0d37d11d9d84a964bc04482a3e71942
Author: pavlin <pavlin>
Date: Fri Apr 20 05:24:31 2007 +0000
Remove the following XRLs, because they are not needed:
- ifmgr/0.1/register_client
- ifmgr/0.1/unregister_client
- ifmgr/0.1/register_system_interfaces_client
- ifmgr/0.1/unregister_system_interfaces_client
The libfeaclient mechanism should be used for monitoring the
status of network interfaces.
Note that currently the libfeaclient mechanism monitors only the
XORP-configured network interfaces, but does not monitor all
network interfaces. If there is the need to monitor all network
interfaces, then the libfeaclient mechanism can easily be extended
to provide that functionality.
commit 74717c0270a978f86a75b0ba7f570acb9680cc70
Author: pavlin <pavlin>
Date: Fri Apr 20 01:35:51 2007 +0000
Removed debugging code which is not used: function equivalent() and
associated code.
commit 68e34b72c40e7e520c53dbac86873fe03ebef28f
Author: pavlin <pavlin>
Date: Fri Apr 20 01:02:29 2007 +0000
* Fix a typo IfMgrReplicationManager -> IfMgrXrlReplicationManager
* Adjust the formatting inside the diagram
commit 38032dd962e1ba85052ab5b6badd5d2ca6c68bbc
Author: pavlin <pavlin>
Date: Fri Apr 20 00:38:11 2007 +0000
Improve the logic for handling handling multicast vifs if PIM
receives notifications about network interface related changes:
* If the vif's primary address or the domain-wide address is deleted
or there are no more addresses then stop the vif.
* If the vif's primary or domain-wide address has changed then
restart the vif.
Note that the above changes might not work well in practice
in case the kernel decides to do something on its own with
the correponding multicast vif state inside the kernel itself.
Another potential issue is if the kernel doesn't let the userland
program to (re)join the same (IPv4) multicast group with the new
IPv4 address as a handler (probably because of a kernel bug
if the kernel still keeps multicast membership information
about the old IP address inside the network interface driver).
commit 909a3f0858c0e589ed4317559838c11d95a5d348
Author: pavlin <pavlin>
Date: Fri Apr 20 00:36:36 2007 +0000
Improve the logic for handling handling multicast vifs if the MLD/IGMP
receives notifications about network interface related changes:
* If the vif's primary address is deleted or there are no more
addresses then stop the vif.
* If the vif's primary address has changed then restart the vif.
Note that the above changes might not work well in practice
in case the kernel decides to do something on its own with
the correponding multicast vif state inside the kernel itself.
Another potential issue is if the kernel doesn't let the userland
program to (re)join the same (IPv4) multicast group with the new
IPv4 address as a handler (probably because of a kernel bug
if the kernel still keeps multicast membership information
about the old IP address inside the network interface driver).
commit 0e85f79ed2fb0a1b91e890f3e23ef641321e43b4
Author: pavlin <pavlin>
Date: Fri Apr 20 00:30:18 2007 +0000
Improve the logic for handling handling multicast vifs if the MFEA
receives notifications about network interface related changes:
* If the vif's primary address is deleted or there are no more
addresses then stop the vif.
* If the vif's primary address has changed then restart the vif.
Note that the above changes might not work well in practice
in case the kernel decides to do something on its own with
the correponding multicast vif state inside the kernel itself.
commit 49a3e9754c50c015e4c6a8f24011a1a44061008f
Author: pavlin <pavlin>
Date: Fri Apr 20 00:14:52 2007 +0000
Removed interface mfea_client/0.1/is_vif_setup_completed XRL, because
it is not needed or used.
commit 609f473267e5f5cd4bc456fbe040c7e3bc165a5b
Author: pavlin <pavlin>
Date: Thu Apr 19 23:53:05 2007 +0000
* Added support to libfeaclient for carrying PIM Register vif flag.
We need this if we are to use libfeaclient between the MFEA and PIM-SM.
* Modified fea/tools/show_interfaces to print the PIM-REGISTER flag
if it is set.
Note that the unicast part of the FEA itself doesn't use that flag.
commit a015e9ba14bee31295d5da398486f23951671b11
Author: pavlin <pavlin>
Date: Thu Apr 19 23:44:58 2007 +0000
Removed random.c because it doesn't exist anymore.
commit ba0e8645b2c9ffa92f412b50ea5895a4e9de33ff
Author: pavlin <pavlin>
Date: Thu Apr 19 22:04:40 2007 +0000
Fix a potential bug in the XrlSocketServer code:
previously method ipv4sockets() was used even for IPv6 sockets
which seems wrong.
commit aaf4963a3bc95dc3b5b30f767284822044824ba6
Author: pavlin <pavlin>
Date: Thu Apr 19 21:36:47 2007 +0000
Cleanup of some of the names used in libfeaclient and related code:
* mtu_bytes -> mtu
* oaddr -> broadcast_addr or endpoint_addr
* en() -> enabled()
* V4Map -> IPv4Map
V6Map -> IPv6Map
* CheckV4Addrs -> CheckIPv4Addrs
CheckV6Addrs -> CheckIPv6Addrs
* v4addrs() -> ipv4addrs()
v6addrs() -> ipv6addrs()
_v4addrs -> _ipv4addrs
_v6addrs -> ipv6addrs
* new_v4s -> new_ipv4addrs
new_v6s -> new_ipv6addrs
* (const IPv4& a) -> (const IPv4& addr)
(const IPv6& a) -> (const IPv6& addr)
* _v4sockets -> _ipv4sockets
_v6sockets -> _ipv6sockets
v4sockets() -> ipv4sockets()
v6sockets() -> ipv6sockets()
* V4Sockets -> IPv4Socket