----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2910/ -----------------------------------------------------------
(Updated June 27, 2015, 2:59 a.m.) Review request for Default. Repository: gem5 Description (updated) ------- changesets:10876:9e7175394c3c base,dev: enable client/server socket for ethertap This patch adds ConnectSocket class to "base/socket". This act like a client socket that connects to a server on the specified "port" and "ip". Also, it adds a new function "listenTap" to ListenSocket class. The usage of this function is in pd-gem5 extenstion where we instantiate several ethertap object for ethernet switch. "listenTap" function is called by the first instant of ethertap. It initializes "fd_static", then other instants of ethertap does not need to create a new socket and just accept incoming connection by calling "acceptTap" function Diffs (updated) ----- src/base/socket.hh e4f63f1d502d src/base/socket.cc e4f63f1d502d src/dev/Ethernet.py e4f63f1d502d src/dev/ethertap.hh e4f63f1d502d src/dev/ethertap.cc e4f63f1d502d Diff: http://reviews.gem5.org/r/2910/diff/ Testing ------- Thanks, Mohammad Alian _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev