Linux Netzwerk Programmierung: Versionsgeschichte

Zur Navigation springen Zur Suche springen

Auswahl des Versionsunterschieds: Markiere die Radiobuttons der zu vergleichenden Versionen und drücke die Eingabetaste oder die Schaltfläche am unteren Rand.
Legende: (Aktuell) = Unterschied zur aktuellen Version, (Vorherige) = Unterschied zur vorherigen Version, K = Kleine Änderung

8. Januar 2025

  • AktuellVorherige 18:1318:13, 8. Jan. 2025 Rbritt Diskussion Beiträge 1'270 Bytes +1'270 Die Seite wurde neu angelegt: «== Access to the raw Ethernet Device == How do I get access to the raw ethernet device in linux, without going through TCP/IP and friends? int s=socket(AF_INET,SOCK_PACKET,htons(ETH_P_ALL)); This gives you a socket receiving every protocol type. Do recvfrom() calls to it and it will fill the sockaddr with device type in sa_family and the device name in the sa_data array. I don't know who originally invented SOCK_PACKET for Linux (its been in for ages) bu…»