/freebsd-11.0-release/sys/dev/firewire/ |
H A D | if_fwe.c | 484 #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 D | if_txvar.h | 51 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/dev/gxemul/ether/ |
H A D | if_gx.c | 368 if (length > MCLBYTES - ETHER_ALIGN) { 382 m->m_data += ETHER_ALIGN;
|
/freebsd-11.0-release/sys/dev/e1000/ |
H A D | if_lem.h | 189 #define ETHER_ALIGN 2 macro
|
H A D | if_em.h | 202 #define ETHER_ALIGN 2 macro
|
H A D | if_igb.h | 251 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/dev/et/ |
H A D | if_etvar.h | 64 #define ET_JLEN (ET_JUMBO_FRAMELEN + ETHER_ALIGN)
|
/freebsd-11.0-release/sys/dev/usb/net/ |
H A D | if_urndis.c | 888 } 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 D | usb_ethernet.c | 570 m_adj(m_new, ETHER_ALIGN); 601 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN)
|
H A D | if_cdce.c | 1519 (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 D | if_axge.c | 988 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 D | if_ipheth.c | 515 m_adj(m, ETHER_ALIGN);
|
/freebsd-11.0-release/sys/dev/ixgb/ |
H A D | if_ixgb.h | 202 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/dev/wb/ |
H A D | if_wbreg.h | 274 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/net/ |
H A D | ethernet.h | 25 * 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 D | if_nf10bmac.c | 363 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 D | if_ti.c | 1395 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 D | if_ffec.c | 742 * 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 D | if_pcnreg.h | 491 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/dev/sis/ |
H A D | if_sisreg.h | 495 #define ETHER_ALIGN 2 macro
|
/freebsd-11.0-release/sys/dev/vx/ |
H A D | if_vx.c | 86 #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 D | if_lgereg.h | 485 #define LGE_JRAWLEN (LGE_JUMBO_FRAMELEN + ETHER_ALIGN)
|
/freebsd-11.0-release/sys/dev/cas/ |
H A D | if_cas.c | 1110 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 D | if_vtbe.c | 415 if ((m = m_uiotombuf(&uio, M_NOWAIT, 0, ETHER_ALIGN,
|
/freebsd-11.0-release/sys/dev/xl/ |
H A D | if_xlreg.h | 454 #define ETHER_ALIGN 2 macro
|