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

123

/freebsd-11.0-release/sys/dev/firewire/
H A Dif_fwe.c484 #ifndef ETHER_ALIGN
485 #define ETHER_ALIGN 2 macro
523 M_PREPEND(m, ETHER_ALIGN, M_NOWAIT);
579 ETHER_ALIGN + sizeof(struct ether_header)) {
585 m->m_data += HDR_LEN + ETHER_ALIGN;
587 m->m_len = m->m_pkthdr.len = fp->mode.stream.len - ETHER_ALIGN;
/freebsd-11.0-release/sys/dev/tx/
H A Dif_txvar.h51 #define ETHER_ALIGN 2 macro
/freebsd-11.0-release/sys/dev/gxemul/ether/
H A Dif_gx.c368 if (length > MCLBYTES - ETHER_ALIGN) {
382 m->m_data += ETHER_ALIGN;
/freebsd-11.0-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.h251 #define ETHER_ALIGN 2 macro
/freebsd-11.0-release/sys/dev/et/
H A Dif_etvar.h64 #define ET_JLEN (ET_JUMBO_FRAMELEN + ETHER_ALIGN)
/freebsd-11.0-release/sys/dev/usb/net/
H A Dif_urndis.c888 } else if (msg.rm_datalen > (uint32_t)(MCLBYTES - ETHER_ALIGN)) {
894 } else if (msg.rm_datalen > (uint32_t)(MHLEN - ETHER_ALIGN)) {
902 m->m_len = m->m_pkthdr.len = msg.rm_datalen + ETHER_ALIGN;
903 m_adj(m, ETHER_ALIGN);
H A Dusb_ethernet.c570 m_adj(m_new, ETHER_ALIGN);
601 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN)
H A Dif_cdce.c1519 (temp > (MCLBYTES - ETHER_ALIGN))) {
1530 } else if (temp > (int)(MHLEN - ETHER_ALIGN)) {
1541 m->m_len = m->m_pkthdr.len = temp + ETHER_ALIGN;
1542 m_adj(m, ETHER_ALIGN);
H A Dif_axge.c988 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN) {
999 m->m_len = m->m_pkthdr.len = len + ETHER_ALIGN;
1000 m_adj(m, ETHER_ALIGN);
H A Dif_ipheth.c515 m_adj(m, ETHER_ALIGN);
/freebsd-11.0-release/sys/dev/ixgb/
H A Dif_ixgb.h202 #define ETHER_ALIGN 2 macro
/freebsd-11.0-release/sys/dev/wb/
H A Dif_wbreg.h274 #define ETHER_ALIGN 2 macro
/freebsd-11.0-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-11.0-release/sys/dev/netfpga10g/nf10bmac/
H A Dif_nf10bmac.c363 if (len > (MCLBYTES - ETHER_ALIGN)) {
384 if ((len + ETHER_ALIGN) >= MINCLSIZE) {
398 m_adj(m, ETHER_ALIGN);
/freebsd-11.0-release/sys/dev/ti/
H A Dif_ti.c1395 m_adj(m, ETHER_ALIGN);
1450 m_adj(m, ETHER_ALIGN);
1509 m_adj(m, ETHER_ALIGN);
1643 m_new->m_data += ETHER_ALIGN;
1645 m_new->m_len = MHLEN - ETHER_ALIGN;
2253 rcb->ti_max_len = MJUM9BYTES - ETHER_ALIGN;
2272 rcb->ti_max_len = MHLEN - ETHER_ALIGN;
2697 r->ti_len = MCLBYTES - ETHER_ALIGN;
2714 r->ti_len = MHLEN - ETHER_ALIGN;
2732 r->ti_len = MJUM9BYTES - ETHER_ALIGN;
[all...]
/freebsd-11.0-release/sys/dev/ffec/
H A Dif_ffec.c742 * We need to leave at least ETHER_ALIGN bytes free at the beginning of
744 * copying it backwards ETHER_ALIGN bytes in the same buffer). We also
748 m_adj(m, roundup(ETHER_ALIGN, FEC_RXBUF_ALIGN));
826 dst = src - ETHER_ALIGN;
1083 * the buffer by ETHER_ALIGN to make room for post-receive re-alignment,
1093 maxbuf = MCLBYTES - roundup(ETHER_ALIGN, FEC_RXBUF_ALIGN);
/freebsd-11.0-release/sys/dev/pcn/
H A Dif_pcnreg.h491 #define ETHER_ALIGN 2 macro
/freebsd-11.0-release/sys/dev/sis/
H A Dif_sisreg.h495 #define ETHER_ALIGN 2 macro
/freebsd-11.0-release/sys/dev/vx/
H A Dif_vx.c86 #define ETHER_ALIGN 2 macro
741 m0 = m_devget(mtod(m, char *), m->m_pkthdr.len, ETHER_ALIGN,
/freebsd-11.0-release/sys/dev/lge/
H A Dif_lgereg.h485 #define LGE_JRAWLEN (LGE_JUMBO_FRAMELEN + ETHER_ALIGN)
/freebsd-11.0-release/sys/dev/cas/
H A Dif_cas.c1110 v | (ETHER_ALIGN << CAS_RX_CONF_SOFF_SHFT));
1737 off * 256 + ETHER_ALIGN, len, cas_free,
1741 off * 256 + ETHER_ALIGN, len, cas_free,
1778 off += ETHER_ALIGN;
/freebsd-11.0-release/sys/dev/beri/virtio/network/
H A Dif_vtbe.c415 if ((m = m_uiotombuf(&uio, M_NOWAIT, 0, ETHER_ALIGN,
/freebsd-11.0-release/sys/dev/xl/
H A Dif_xlreg.h454 #define ETHER_ALIGN 2 macro

Completed in 253 milliseconds

123