-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2910/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

changesets:10876:d50bc51b82ab
base,dev: enable client/server socket for ethertap

This patch adds ConnectSocket class to "base/socket". This acts like a client 
socket that connects to a server on a 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 in ethernet switch process. "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
-----

  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
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to