Project

General

Profile

Task #5041

Updated by Teng Liang almost 2 years ago

To achieve creating The EndpointId is designed to identify the sender of a packet received from a multicast face, which is necessary info for unicast Face in self-learning strategy (see motivation in [[4973]]), EndpointId, i.e., a remote ethernet or udp address, has to be passed in. face creation. The current type of EndpointId is int, defined as `uint64_t`.  

 Potentially, the packet sender can be identified by Ethernet address (48-bit), UDP4 address (32+16=48 bits), and this issue intends UDP6 address (128+16=142bits). ~~Mapping UDP6 (142-bit) to redefine it as `variant<monostate, ethernet::Address, ip::udp::endpoint>` as EndpointId (64-bit) is challenging, so is the reverse mapping.~~ 

 As discussed in 2019-11-25 NFD call. call, EndpointId is redefined as `variant<ethernet::Address, ip::udp::endpoint>`.

Back