Project

General

Profile

Task #5041

Updated by Teng Liang over 4 years ago

The EndpointId is designed to identify the sender of a packet received from a multicast face, which is necessary info for unicast face creation. The current EndpointId is defined as an integer of 64 bits. Potentially, the packet sender can be identified by Ethernet address (48-bit), UDP4 address (32+16=48 bits), and UDP6 address (128+16=142bits). Mapping UDP6 (142-bit) to EndpointId (64-bit) is challenging, so is the reverse mapping.  

 As discussed in 2019-11-25 NFD call, However, if EndpointId is redefined as `variant<ethernet::Address, ip::udp::endpoint>`. string, then we can define EndpointId with the following format: 

 ~~~ 
 EndpointId = Ethernet addr 
 EndpointId = UDP4 addr + ":" + port 
 EndpointId = UDP6 addr + ":" + port 
 ~~~

Back