Can I change eth name from en0 to en9 (in QNX 6.3) ?
/dev/io-net/en0 → /dev/io-net/en9
Eth parameters ( cell, endpoint / lan, iface ) are different
after changing eth name ?
Can I change eth name from en0 to en9 (in QNX 6.3) ?
/dev/io-net/en0 → /dev/io-net/en9
Eth parameters ( cell, endpoint / lan, iface ) are different
after changing eth name ?
Q <no@spam.pl> wrote:
Can I change eth name from en0 to en9 (in QNX 6.3) ?
/dev/io-net/en0 → /dev/io-net/en9Eth parameters ( cell, endpoint / lan, iface ) are different
after changing eth name ?
You can pass in the endpoint you’d like at registration time
with the _REG_ENDPOINT_ARG flag. If it’s set, io-net uses
the value passed in with the endpoint arg as the endpoint you’d
like. If it’s already in use, ion->reg() will fail with
EALREADY.
io_net_registrant_t myreg;
uint16_t endpoint;
…
…
…
myreg.flags |= _REG_ENDPOINT_ARG;
…
…
…
endpoint = 9;
ion->reg( , &myreg, , , &endpoint);
-seanb