Presentation is loading. Please wait.

Presentation is loading. Please wait.

API Extension for MIF- enabled Hosts Dapeng Liu, Zhen Cao, Bo Zhou.

Similar presentations


Presentation on theme: "API Extension for MIF- enabled Hosts Dapeng Liu, Zhen Cao, Bo Zhou."— Presentation transcript:

1 API Extension for MIF- enabled Hosts Dapeng Liu, Zhen Cao, Bo Zhou

2 The Problem The problem –5.9. Applications usually do not have advanced APIs to specify the source IP address or to set preferences on the address selection policies.

3 The Scenario Applications IF 1 IF n …… Server IF 2 Host Applications can specify the source address Applications can set the preference of address selection Applications can failover among different interfaces

4 Requirements R1: Compatible with existing Socket APIs R2: Support for Multiple Connection to multiple domains R3: No Changes to Existing Socket APIs R4: Easy for Implementation

5 Extended Data Structure GenericConnection is to encapsulate a socket and related information, often used as a link list –next: this is an pointer that points to another GenericConnection –index: the index of this node on the link –dev: point to a physical interface structure –priority: the priority of this socket –status: indicate the interface status –sock: point to a socket structure struct GenericConnection { struct GenericConnection *next; int index; struct Netdevice *dev; int priority; char status; struct socket *sock; }

6 Our work: an example Socket #1 Socket #2 IF1 IF2 Pr=0 Pr=1 ConnectionMap() GenericConnection Application *gconn BindToConnection()

7 Thanks Questions and Comments?


Download ppt "API Extension for MIF- enabled Hosts Dapeng Liu, Zhen Cao, Bo Zhou."

Similar presentations


Ads by Google