OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ether_header
(Results
1 - 25
of
162
) sorted by relevancy
1
2
3
4
5
6
7
/src/sys/arch/mvme68k/stand/sboot/
etherfun.h
53
struct
ether_header
{
struct
108
struct
ether_header
*eh = (struct
ether_header
*)buf;
110
(struct ether_arp *)(buf + sizeof(struct
ether_header
));
111
struct ip *iph = (struct ip *)(buf + sizeof(struct
ether_header
));
112
struct udp *udph = (struct udp *)(buf + sizeof(struct
ether_header
) +
114
u_char *tftp_r = buf + sizeof(struct
ether_header
) + sizeof(struct ip) +
116
struct tftph *tftp_a = (struct tftph *)(buf + sizeof(struct
ether_header
) +
118
struct tftphr *tftp = (struct tftphr *)(buf + sizeof(struct
ether_header
) +
/src/sys/net/agr/
ieee8023ad_marker.h
41
struct
ether_header
mdu_eh;
ieee8023ad_lacp.h
83
struct
ether_header
ldu_eh;
if_agrether_hash.c
74
struct
ether_header
eh_store;
75
const struct
ether_header
*eh;
/src/sys/lib/libsa/
ether.c
64
struct
ether_header
*eh;
71
eh = (struct
ether_header
*)pkt - 1;
96
struct
ether_header
*eh;
103
eh = (struct
ether_header
*)pkt - 1;
/src/usr.sbin/ndbootd/config/
ndbootd-bpf.c
78
BPF_STMT(BPF_LD + BPF_H + BPF_ABS, NDBOOTD_OFFSETOF(struct
ether_header
, ether_type)),
82
BPF_STMT(BPF_LD + BPF_B + BPF_ABS, sizeof(struct
ether_header
) + NDBOOTD_OFFSETOF(struct ip, ip_p)),
86
BPF_STMT(BPF_LD + BPF_H + BPF_ABS, sizeof(struct
ether_header
) + NDBOOTD_OFFSETOF(struct ip, ip_off)),
91
BPF_STMT(BPF_LD + BPF_H + BPF_ABS, sizeof(struct
ether_header
) + NDBOOTD_OFFSETOF(struct ip, ip_len)),
92
BPF_STMT(BPF_LDX + BPF_B + BPF_MSH, sizeof(struct
ether_header
)),
281
if (the_bpf_header.bh_datalen < sizeof(struct
ether_header
)
282
|| !memcmp(((struct
ether_header
*)
/src/sys/net/lagg/
if_lagg_lacp.h
99
struct
ether_header
ldu_eh;
123
struct
ether_header
mdu_eh;
/src/usr.sbin/npf/npftest/libnpftest/
npf_mbuf_subr.c
131
struct
ether_header
*ethdr;
134
ethdr = mtod(m0, struct
ether_header
*);
136
m0->m_pkthdr.len = sizeof(struct
ether_header
);
137
m0->m_len = sizeof(struct
ether_header
);
311
struct
ether_header
*ethdr;
320
ethdr = mtod(m0, struct
ether_header
*);
324
m0->m_pkthdr.len = sizeof(struct
ether_header
);
325
m0->m_len = sizeof(struct
ether_header
);
/src/sys/arch/macppc/stand/ofwboot/
netif_of.c
143
struct
ether_header
*eh;
210
struct
ether_header
*eh = pkt;
/src/sys/arch/newsmips/stand/boot/
netif_news.c
115
struct
ether_header
*eh;
179
struct
ether_header
*eh = pkt;
/src/sys/arch/ofppc/stand/ofwboot/
netif_of.c
139
struct
ether_header
*eh;
202
struct
ether_header
*eh = pkt;
/src/sys/arch/shark/stand/ofwboot/
netif_of.c
139
struct
ether_header
*eh;
202
struct
ether_header
*eh = pkt;
/src/sys/arch/pmax/stand/common/
if_prom.c
251
struct
ether_header
*eh = (struct
ether_header
*)pkt;
282
struct
ether_header
*eh = (struct
ether_header
*)pkt;
/src/sys/netinet/
ip_carp.h
159
struct ifnet *carp_ourether(void *, struct
ether_header
*, u_char, int);
/src/sys/net/
ether_sw_offload.c
80
struct
ether_header
*ep;
100
ep = mtod(m, struct
ether_header
*);
164
struct
ether_header
*eh;
189
eh = mtod(m, struct
ether_header
*);
if_ethersubr.c
168
CTASSERT(sizeof(struct
ether_header
) == 14);
226
struct
ether_header
*eh;
389
((const struct
ether_header
*)dst->sa_data)->ether_shost,
395
((const struct
ether_header
*)dst->sa_data)->ether_dhost,
398
etype = ((const struct
ether_header
*)dst->sa_data)->ether_type;
432
M_PREPEND(m, sizeof(struct
ether_header
), M_DONTWAIT);
436
eh = mtod(m, struct
ether_header
*);
499
* XXX: We may need to do m_pullups here. First to ensure struct
ether_header
505
struct
ether_header
*eh;
514
eh = mtod(m, struct
ether_header
*);
[
all
...]
/src/usr.sbin/ndbootd/
ndbootd.c
314
unsigned char packet_buffer[sizeof(struct
ether_header
) + IP_MAXPACKET];
320
struct
ether_header
*ether_packet;
324
struct
ether_header
ether_packet_buffer;
510
ether_packet = (struct
ether_header
*) packet_buffer;
539
< (sizeof(struct
ether_header
)
546
memcpy(ether_packet, packet_buffer, sizeof(struct
ether_header
));
547
memcpy(ip_packet, packet_buffer + sizeof(struct
ether_header
),
548
(((struct ip *) (packet_buffer + sizeof(struct
ether_header
)))->ip_hl << 2));
561
!= (sizeof(struct
ether_header
)
714
memcpy(nd_packet, packet_buffer + sizeof(struct
ether_header
) + (ip_packet->ip_hl << 2), sizeof(struct ndboot_packet))
[
all
...]
/src/sys/arch/sparc/stand/common/
netif_sun.c
140
struct
ether_header
*eh;
204
struct
ether_header
*eh = pkt;
/src/sys/arch/sparc/stand/ofwboot/
netif_of.c
148
struct
ether_header
*eh;
214
struct
ether_header
*eh = pkt;
/src/sys/dev/ofw/
ofnet.c
158
if (len < sizeof(struct
ether_header
)) {
220
sizeof(struct
ether_header
)) -
221
sizeof(struct
ether_header
);
298
if (len > ETHERMTU + sizeof(struct
ether_header
)) {
/src/sys/dev/pci/
if_tlvar.h
99
#define ETHER_MIN_TX (ETHERMIN + sizeof(struct
ether_header
))
/src/sys/rump/net/lib/libvirtif/
if_virt.c
340
struct
ether_header
*eth;
346
= ALIGN(sizeof(struct
ether_header
)) - sizeof(struct
ether_header
);
370
eth = mtod(m, struct
ether_header
*);
/src/sys/arch/x68k/stand/boot/
if_ne.c
117
struct
ether_header
*eh;
/src/usr.sbin/rarpd/
rarpd.c
104
static void rarp_reply(struct if_info *, struct
ether_header
*, u_int32_t,
310
sizeof(struct
ether_header
)),
368
struct
ether_header
*ep = (struct
ether_header
*) p;
577
struct
ether_header
*ep;
583
ep = (struct
ether_header
*) pkt;
774
rarp_reply(struct if_info *ii, struct
ether_header
*ep, u_int32_t ipaddr,
/src/sys/dev/ic/
lance.c
389
ALIGN(m->m_data + sizeof(struct
ether_header
)) -
390
sizeof(struct
ether_header
);
425
struct
ether_header
*eh;
427
if (len <= sizeof(struct
ether_header
) ||
429
ETHER_VLAN_ENCAP_LEN + ETHERMTU + sizeof(struct
ether_header
) :
430
ETHERMTU + sizeof(struct
ether_header
))) {
446
eh = mtod(m, struct
ether_header
*);
Completed in 25 milliseconds
1
2
3
4
5
6
7
Indexes created Sat Oct 11 16:09:52 GMT 2025