Sponsored Content
Top Forums Programming Ethernet programming (not MAC, LLC, but Preamble, SFD and FCS) Post 302751191 by expl on Thursday 3rd of January 2013 11:06:41 AM
Old 01-03-2013
Preamble, SFD and FCS of ethernet frame are only meaningful to the hardware/driver and thats where they are handled. You can not generate them from userworld APIs like raw sockets (and alike). If you still want to mess with them for some reason you should write your own ethernet driver or modify existing one.
 

7 More Discussions You Might Find Interesting

1. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

2. UNIX for Dummies Questions & Answers

How to change the MAC adress in ethernet adapter for SUN

I have installed in the server a quad ethernet adapter, I'm using two interfaces with two different IP networks, both interfaces are connected to a switch, the switch report that is receiving the same MAC address in both ports so must of the times I have connectivity problems. Any idea to change... (1 Reply)
Discussion started by: mono673
1 Replies

3. IP Networking

Interpreting [|llc] frames in enterprise traffic trace

The LBNL/ICSI Enterprise Tracing Project at LBNL/ICSI Enterprise Tracing Project - Project Overview provides a trace of an enterprise's network from 2005. Upon reading these files with tcpdump, along with regular packets that appear like- 12:04:51.696971 IP 128.3.189.248.netbios-ssn >... (0 Replies)
Discussion started by: sstatla
0 Replies

4. IP Networking

How to handle unplugging ethernet cable in socket programming

Hi, I am trying to implement a server-client socket communication. My server and clients are in different PCs. During communications if the ethernet cable is removed from the server side it shows broken pipe due to unable to write on the socket. I want to know how to check whether the ethernet... (0 Replies)
Discussion started by: JagadishB
0 Replies

5. OS X (Apple)

ethernet mac spoofing

I tried to use the command sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx to do mac spoofing for internet connection in my office. It works only for 5 minutes. Every time after about 5mins, the Internet will be disconnected. :wall: Any one knows how to solve this problem? Thanks. (6 Replies)
Discussion started by: andrewust
6 Replies

6. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

7. AIX

VIO and LPAR disk/fcs communications

:wall::wall::wall: 1. I have created an LPAR in the HMC. 2. I have allocated the storage from an Hitachi AMS2500 and assigned it to the host group. 3. I have zoned the LPAR and Storage on a Brocade 5100. (The zone sees the AMS) Next I activated the LPAR in the HMC, SMS mode for the mksysb... (3 Replies)
Discussion started by: Dallasguy7
3 Replies
rtls(7D)							      Devices								  rtls(7D)

NAME
rtls - Realtek Fast Ethernet 8139-based network interface controllers SYNOPSIS
/dev/rtls DESCRIPTION
The rtls Ethernet driver is a multi-threaded, loadable, clonable, STREAMS hardware driver supporting the connectionless Data Link Provider Interface, dlpi(7P), over Realtek 8139 controllers. The rtls driver provides basic support for the Realtek 8139 hardware. Functions include chip initialization, frame transmit and receive, multicast support, and error recovery and reporting. APPLICATION PROGRAMMING INTERFACE
The cloning, character-special device /dev/rtls is used to access all 8139 devices installed within the system. rtls and DLPI The rtls driver is dependent on /kernel/misc/gld, a loadable kernel module that provides the rtls driver with the DLPI and STREAMS func- tionality required of a LAN driver. See gld(7D) for more details on the primitives supported by the driver. The values returned by the driver in the DL_INFO_ACK primitive in response to the DL_INFO_REQ from the user are as follows: o Maximum SDU is 1500 (ETHERMTU). o Minimum SDU is 0. The driver pads to the mandatory 60-octet minimum packet size. o The dlsap address length is 8. o MAC type is DL_ETHER. o The sap length value is -2, meaning the physical address component is followed immediately by a 2-byte sap component within the DLSAP address. o Broadcast address value is Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF). KNOWN PROBLEMS AND LIMITATIONS
The rtls driver only supports Realtek 8139 on x86 platforms. The rtls driver does not support the NDD interface and MII statistics. Realtek 8139 works under 100FDX/100HDX and 10FDX/10HDX modes, which you can set using the rtls.conf file. CONFIGURATION
To configure the rtls driver: o Use prtconf -v | grep pci10ec,8139 to obtain the instance number of the driver. (pci1186,1301 or pci1113,1211 indicates a third-party ethernet device with an 8139 chip that can also be controlled by the rtls driver.) The rtls.conf configuration file options include: -ForceSpeedDuplex Default: 5 (Auto-negotiate) Allowed Values: 4 (100 FDX) 3 (100 HDX) 2 (10 FDX) 1 (10 HDX) Specify the speed and duplex mode for each instance. Example: ForceSpeedDuplex=5,4; Sets rtls0 to autonegotiate and rtls1 to 100 FDX. FILES
rtls Device special file. /kernel/drv/rtls.conf rtls configuration file. <sys/stropts.h> stropts network header file. <sys/ethernet.h> Ethernet network header file. <sys/dlpi.h> dlpi network header file. <sys/gld.h> gld network header file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), dlpi(7P), gld(7D) SunOS 5.10 28 May 2004 rtls(7D)
All times are GMT -4. The time now is 09:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy