• Rémi Denis-Courmont's avatar
    Phonet: resource routing backend · 4e3d16ce
    Rémi Denis-Courmont authored
    When both destination device and object are nul, Phonet routes the
    packet according to the resource field. In fact, this is the most
    common pattern when sending Phonet "request" packets. In this case,
    the packet is delivered to whichever endpoint (socket) has
    registered the resource.
    
    This adds a new table so that Linux processes can register their
    Phonet sockets to Phonet resources, if they have adequate privileges.
    
    (Namespace support is not implemented at the moment.)
    Signed-off-by: default avatarRémi Denis-Courmont <remi.denis-courmont@nokia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4e3d16ce
socket.c 14.4 KB