Jump to content

RNDIS

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 31.223.130.80 (talk) at 07:44, 11 March 2022 (More accurate). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Remote Network Driver Interface Specification (RNDIS) is a Microsoft proprietary protocol used mostly on top of USB.[1] It provides a virtual Ethernet link to most versions of the Windows, Linux, and FreeBSD operating systems. Multiple revisions of a partial RNDIS specification are available from Microsoft, but Windows implementations have been observed to issue requests not included in that specification, and to have undocumented constraints.[2]

The protocol is tightly coupled to Microsoft's programming interfaces and models, most notably the Network Driver Interface Specification (NDIS), which are alien to operating systems other than Windows. This complicates implementing RNDIS on non-Microsoft operating systems,[citation needed] but Linux,[3] FreeBSD,[4] NetBSD[5] and OpenBSD[6] implement RNDIS natively.

The USB Implementers Forum (USB-IF) defines at least three non-proprietary USB communications device class (USB CDC) protocols with comparable "virtual Ethernet" functionality; one of them (CDC-ECM) predates RNDIS and is widely used for interoperability with non-Microsoft operating systems, but does not work with Windows.

Most versions of Android include RNDIS USB functionality. For example, Samsung smartphones have the capability and use RNDIS over USB to operate as an virtual Ethernet card that will connect the host PC to the mobile or Wi-Fi network in use by the phone, effectively working as a mobile broadband modem or a wireless card, for mobile hotspot tethering.[7]

See also

References

  1. ^ "MS-RNDIS Remote Network Driver Interface Specification (RNDIS) Protocol, revision 5.0" (PDF). Microsoft Corporation. May 1, 2014. Retrieved March 11, 2022.
  2. ^ See, for example, comments in the host-side Linux implementation
  3. ^ "kernel/git/torvalds/linux.git - Linux kernel source tree". git.kernel.org.
  4. ^ "[base] Revision 261541". svnweb.freebsd.org.
  5. ^ "'CVS commit: src/sys/dev/usb' - MARC". marc.info.
  6. ^ "'CVS: cvs.openbsd.org: src' - MARC". marc.info.
  7. ^ "Galaxy S9 Tactical Edition support RNDIS protocol" (PDF).