Home
last modified time | relevance | path

Searched refs:ETHER_HEADER_LENGTH (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/private/net/
H A Dethernet.h14 #define ETHER_HEADER_LENGTH 14 macro
/haiku/src/add-ons/kernel/network/devices/ethernet/
H A Dethernet.cpp155 device->mtu = ETHER_MAX_FRAME_SIZE - ETHER_HEADER_LENGTH; in ethernet_init()
157 device->header_length = ETHER_HEADER_LENGTH; in ethernet_init()
277 if (buffer->size > device->frame_size || buffer->size < ETHER_HEADER_LENGTH) in ethernet_send_data()
384 if (mtu > device->frame_size - ETHER_HEADER_LENGTH in ethernet_set_mtu()
385 || mtu <= ETHER_HEADER_LENGTH + 10) in ethernet_set_mtu()
/haiku/src/add-ons/kernel/network/ppp/ppp/
H A Dppp.cpp30 #define PPP_HEADER_LENGTH (8 + ETHER_HEADER_LENGTH)
246 if (mtu > device->frame_size - ETHER_HEADER_LENGTH - 8 in ppp_set_mtu()
247 || mtu <= ETHER_HEADER_LENGTH + 8 + 10) in ppp_set_mtu()
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/
H A Dvirtio_net.cpp689 ETHER_HEADER_LENGTH + offsetof(struct ip, ip_p), in virtio_net_receive()
693 ETHER_HEADER_LENGTH + offsetof(struct ip6_hdr, ip6_nxt), in virtio_net_receive()