Is possible to have some Unix (either just in Linux) 'engine' mounting the pts'es (terminals) names according to their IP (socket) source ?
In the past we could map each physical ports to its tty name like /dev/tty0 to serial port 0, and so on, we could recognize its physical origin just with the name, now with 'virtual terminals', how we could do something similar but directly to the tty name ?
In my mind, would be very useful a name like /dev/ptssocket/192.168.1.1:2345 for terminals from a tcp/ip connection and another like /dev/pts/0 to terminals not associated to a remote tcp/ip connection.
Of course, this is more useful in a network where the IPs have some meaning.
EDIT - Sample of use: We may have a lot of use cases for that, but consider a legacy system where the ports are used in an access control, where some origins can and others cannot do something.
whoreports (based on utmp information) (orwho --ips)? Note that ptys can be used for all sorts of things, not only network terminal sessions.