Searched defs:eh (Results 1 - 8 of 8) sorted by relevance

/net/802/
H A Dstp.c36 const struct ethhdr *eh = eth_hdr(skb); local
45 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) {
46 proto = rcu_dereference(garp_protos[eh->h_dest[5] -
49 !ether_addr_equal(eh->h_dest, proto->group_address))
/net/netfilter/
H A Dxt_esp.c41 const struct ip_esp_hdr *eh; local
49 eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp);
50 if (eh == NULL) {
59 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi),
/net/bluetooth/bnep/
H A Dnetdev.c124 struct ethhdr *eh = (void *) skb->data; local
126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter))
136 struct ethhdr *eh = (void *) skb->data; local
137 u16 proto = ntohs(eh->h_proto);
H A Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source))
317 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2));
325 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) {
328 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2));
344 memcpy(__skb_put(nskb, ETH_HLEN), &s->eh, ETH_HLEN);
348 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN);
350 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2));
356 memcpy(__skb_put(nskb, ETH_ALEN + 2), s->eh.h_source,
363 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2));
391 struct ethhdr *eh local
[all...]
H A Dbnep.h160 struct ethhdr eh; member in struct:bnep_session
/net/ipv4/
H A Dip_tunnel_core.c94 struct ethhdr *eh; local
99 eh = (struct ethhdr *)skb->data;
100 if (likely(ntohs(eh->h_proto) >= ETH_P_802_3_MIN))
101 skb->protocol = eh->h_proto;
/net/ipv4/netfilter/
H A Dnf_log_ipv4.c223 const struct ip_esp_hdr *eh; local
232 eh = skb_header_pointer(skb, iphoff+ih->ihl*4,
234 if (eh == NULL) {
241 nf_log_buf_add(m, "SPI=0x%x ", ntohl(eh->spi));
/net/ipv6/netfilter/
H A Dnf_log_ipv6.c163 const struct ip_esp_hdr *eh; local
176 eh = skb_header_pointer(skb, ptr, sizeof(_esph),
178 if (eh == NULL) {
186 ntohl(eh->spi));

Completed in 72 milliseconds