Searched refs:ETHER_ALIGN (Results 1 - 25 of 73) sorted by relevance

123

/freebsd-10.2-release/sys/dev/tx/
H A Dif_txvar.h51 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/firewire/
H A Dif_fwe.c565 #ifndef ETHER_ALIGN
566 #define ETHER_ALIGN 2 macro
609 M_PREPEND(m, ETHER_ALIGN, M_NOWAIT);
668 ETHER_ALIGN + sizeof(struct ether_header)) {
674 m->m_data += HDR_LEN + ETHER_ALIGN;
679 m->m_len = m->m_pkthdr.len = fp->mode.stream.len - ETHER_ALIGN
682 m->m_len = m->m_pkthdr.len = fp->mode.stream.len - ETHER_ALIGN;
/freebsd-10.2-release/sys/dev/gxemul/ether/
H A Dif_gx.c368 if (length > MCLBYTES - ETHER_ALIGN) {
382 m->m_data += ETHER_ALIGN;
/freebsd-10.2-release/sys/dev/e1000/
H A Dif_lem.h189 #define ETHER_ALIGN 2 macro
H A Dif_em.h202 #define ETHER_ALIGN 2 macro
H A Dif_igb.h192 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/et/
H A Dif_etvar.h64 #define ET_JLEN (ET_JUMBO_FRAMELEN + ETHER_ALIGN)
/freebsd-10.2-release/sys/dev/ixgb/
H A Dif_ixgb.h201 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/usb/net/
H A Dusb_ethernet.c569 m_adj(m_new, ETHER_ALIGN);
600 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN)
H A Dif_axge.c986 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN) {
997 m->m_len = m->m_pkthdr.len = len + ETHER_ALIGN;
998 m_adj(m, ETHER_ALIGN);
H A Dif_cdce.c1362 (temp > (MCLBYTES - ETHER_ALIGN))) {
1373 } else if (temp > (int)(MHLEN - ETHER_ALIGN)) {
1384 m_adj(m, ETHER_ALIGN);
H A Dif_ipheth.c510 m_adj(m, ETHER_ALIGN);
H A Dif_urndis.c857 } else if (msg.rm_datalen > (uint32_t)(MHLEN - ETHER_ALIGN)) {
865 m_adj(m, ETHER_ALIGN);
H A Dif_axe.c1110 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN) {
1121 m_adj(m, ETHER_ALIGN);
/freebsd-10.2-release/sys/dev/wb/
H A Dif_wbreg.h274 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/net/
H A Dethernet.h25 * Drivers should do m_adj(m, ETHER_ALIGN) when setting up a
29 #define ETHER_ALIGN 2 /* driver adjust for IP hdr alignment */ macro
/freebsd-10.2-release/sys/dev/netfpga10g/nf10bmac/
H A Dif_nf10bmac.c362 if (len > (MCLBYTES - ETHER_ALIGN)) {
383 if ((len + ETHER_ALIGN) >= MINCLSIZE) {
397 m_adj(m, ETHER_ALIGN);
/freebsd-10.2-release/sys/dev/ti/
H A Dif_ti.c1388 m_adj(m, ETHER_ALIGN);
1443 m_adj(m, ETHER_ALIGN);
1502 m_adj(m, ETHER_ALIGN);
1637 m_new->m_data += ETHER_ALIGN;
1639 m_new->m_len = MHLEN - ETHER_ALIGN;
2247 rcb->ti_max_len = MJUM9BYTES - ETHER_ALIGN;
2266 rcb->ti_max_len = MHLEN - ETHER_ALIGN;
2690 r->ti_len = MCLBYTES - ETHER_ALIGN;
2707 r->ti_len = MHLEN - ETHER_ALIGN;
2725 r->ti_len = MJUM9BYTES - ETHER_ALIGN;
[all...]
/freebsd-10.2-release/sys/dev/ffec/
H A Dif_ffec.c743 * We need to leave at least ETHER_ALIGN bytes free at the beginning of
745 * copying it backwards ETHER_ALIGN bytes in the same buffer). We also
749 m_adj(m, roundup(ETHER_ALIGN, FEC_RXBUF_ALIGN));
827 dst = src - ETHER_ALIGN;
1084 * the buffer by ETHER_ALIGN to make room for post-receive re-alignment,
1094 maxbuf = MCLBYTES - roundup(ETHER_ALIGN, FEC_RXBUF_ALIGN);
/freebsd-10.2-release/sys/dev/pcn/
H A Dif_pcnreg.h491 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/sis/
H A Dif_sisreg.h495 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/vx/
H A Dif_vx.c85 #define ETHER_ALIGN 2 macro
740 m0 = m_devget(mtod(m, char *), m->m_pkthdr.len, ETHER_ALIGN,
/freebsd-10.2-release/sys/dev/xl/
H A Dif_xlreg.h454 #define ETHER_ALIGN 2 macro
/freebsd-10.2-release/sys/dev/lge/
H A Dif_lgereg.h485 #define LGE_JRAWLEN (LGE_JUMBO_FRAMELEN + ETHER_ALIGN)
/freebsd-10.2-release/sys/dev/cas/
H A Dif_cas.c1109 v | (ETHER_ALIGN << CAS_RX_CONF_SOFF_SHFT));
1736 off * 256 + ETHER_ALIGN, len, cas_free,
1740 off * 256 + ETHER_ALIGN, len, cas_free,
1777 off += ETHER_ALIGN;

Completed in 355 milliseconds

123