/freebsd-10.2-release/sys/dev/tx/ |
H A D | if_txvar.h | 51 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/firewire/ |
H A D | if_fwe.c | 565 #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 D | if_gx.c | 368 if (length > MCLBYTES - ETHER_ALIGN) { 382 m->m_data += ETHER_ALIGN;
|
/freebsd-10.2-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 | 192 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/et/ |
H A D | if_etvar.h | 64 #define ET_JLEN (ET_JUMBO_FRAMELEN + ETHER_ALIGN)
|
/freebsd-10.2-release/sys/dev/ixgb/ |
H A D | if_ixgb.h | 201 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/usb/net/ |
H A D | usb_ethernet.c | 569 m_adj(m_new, ETHER_ALIGN); 600 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN)
|
H A D | if_axge.c | 986 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 D | if_cdce.c | 1362 (temp > (MCLBYTES - ETHER_ALIGN))) { 1373 } else if (temp > (int)(MHLEN - ETHER_ALIGN)) { 1384 m_adj(m, ETHER_ALIGN);
|
H A D | if_ipheth.c | 510 m_adj(m, ETHER_ALIGN);
|
H A D | if_urndis.c | 857 } else if (msg.rm_datalen > (uint32_t)(MHLEN - ETHER_ALIGN)) { 865 m_adj(m, ETHER_ALIGN);
|
H A D | if_axe.c | 1110 if (len < ETHER_HDR_LEN || len > MCLBYTES - ETHER_ALIGN) { 1121 m_adj(m, ETHER_ALIGN);
|
/freebsd-10.2-release/sys/dev/wb/ |
H A D | if_wbreg.h | 274 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-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-10.2-release/sys/dev/netfpga10g/nf10bmac/ |
H A D | if_nf10bmac.c | 362 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 D | if_ti.c | 1388 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 D | if_ffec.c | 743 * 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 D | if_pcnreg.h | 491 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/sis/ |
H A D | if_sisreg.h | 495 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/vx/ |
H A D | if_vx.c | 85 #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 D | if_xlreg.h | 454 #define ETHER_ALIGN 2 macro
|
/freebsd-10.2-release/sys/dev/lge/ |
H A D | if_lgereg.h | 485 #define LGE_JRAWLEN (LGE_JUMBO_FRAMELEN + ETHER_ALIGN)
|
/freebsd-10.2-release/sys/dev/cas/ |
H A D | if_cas.c | 1109 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;
|