Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Sockets
(edit)
Revision as of 19:44, 27 December 2011
8 bytes added
,
19:44, 27 December 2011
→Unix sockets initial support
Line 2:
Line 2:
Currently it can only work with stream sockets, which have no skbs in queues
Currently it can only work with stream sockets, which have no skbs in queues
−
(listening or established -- both work OK).
+
(listening or established -- both work OK)
. If there are skbs in queue the dumping
+
procedure will fail
.
The cpt part uses the sock_diag engine that was merged to Dave recently to
The cpt part uses the sock_diag engine that was merged to Dave recently to
Line 9:
Line 10:
such tricks with opens through proc) against SOCKFS_TYPE.
such tricks with opens through proc) against SOCKFS_TYPE.
−
The
rst
part is more tricky. Listen sockets are just restored, this is simple.
+
The
restore
part is more tricky. Listen sockets are just restored, this is simple.
Connected sockets are restored like this:
Connected sockets are restored like this:
Line 34:
Line 35:
* Implement support for UDP sockets (quite simple)
* Implement support for UDP sockets (quite simple)
* Implement support for listening TCP sockets (also not very complex)
* Implement support for listening TCP sockets (also not very complex)
−
* Implement support for connected TCP scokets (hard one
, Tejun's patches are not very good for this from my POV
)
+
* Implement support for connected TCP scokets (hard one)
Cyrillos
Bureaucrats
,
Administrators
433
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ