Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ipcpd: Add validity checks for eth-dix | Dimitri Staessens | 2018-03-12 | 1 | -0/+4 |
| | | | | | | | | This will check if the Ethertype value is a valid Ethertype in the irm tool and the eth-dix IPCPd. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]> | ||||
* | ipcpd: Add length field to eth-dix | Dimitri Staessens | 2018-03-10 | 1 | -62/+57 |
| | | | | | | | | | Some NICs added padding to the Ethernet II frames causing bad frame lengths and GPB unpack fails. This adds a 2-byte length field to the DIX frame to circumvent this. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]> | ||||
* | ipcpd: Add IPCP over DIX Ethernet | Dimitri Staessens | 2018-03-10 | 4 | -0/+1811 |
This adds an IPC Process that uses DIX Ethernet with an Ethertype that is configurable at bootstrap. This allows parallel DIX layers over the same Ethernet network with different Ethertypes (and one LLC layer). It allows jumbo frames in the future, and should avoid the problems we have with some routers not handling LLC traffic very well. The destination endpoint ID is sent as a 16 bit integer, so the maximum payload is 1498 bytes in standard Ethernet, and 8998 bytes when Jumbo frames are used. The implementation is very similar to the Ethernet LLC IPCP, so it is implemented using preprocessor macros in the single source instead of duplicating code. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]> |