Searched refs:eh (Results 1 - 5 of 5) sorted by relevance

/netgear-R7800-V1.0.2.28/package/igmpproxy/src/
H A Dbt_igmp.c41 static int build_mac_hdr(struct ethhdr *eh) argument
47 memcpy(eh->h_dest, dst, 6);
48 memcpy(eh->h_source, src, 6);
49 eh->h_proto = htons(0x0800);
57 struct ethhdr *eh = (struct ethhdr *)malloc(sizeof(struct ethhdr)); local
58 memset(eh, 0, sizeof(struct ethhdr));
59 build_mac_hdr(eh);
61 memcpy(p, eh, sizeof(struct ethhdr));
/netgear-R7800-V1.0.2.28/package/qca-mcs/src/
H A Dmc_netfilter.c55 struct ethhdr *eh = eth_hdr(skb); local
71 ip_eth_mc_map(iph->daddr, eh->h_dest);
75 MC_IP4_FMT((u8 *)(&iph->daddr)), MC_MAC_FMT(eh->h_dest));
87 ipv6_eth_mc_map(&iph6->daddr, eh->h_dest);
91 MC_IP6_FMT((__be16 *)(&iph6->daddr)), MC_MAC_FMT(eh->h_dest));
H A Dmc_forward.c242 struct ethhdr *eh; local
256 eh = eth_hdr(skb);
257 etype = ntohs(eh->h_proto);
267 eh->h_dest, MC_ACL_RULE_NON_SNOOPING)))
274 eh->h_dest, MC_ACL_RULE_MANAGEMENT);
286 eh->h_dest, MC_ACL_RULE_NON_SNOOPING)))
293 eh->h_dest, MC_ACL_RULE_MANAGEMENT);
H A Dmc_snooping.c1271 struct ethhdr *eh = eth_hdr(skb); local
1295 eh->h_dest, MC_ACL_RULE_NON_SNOOPING) < 0 ||
1560 struct ethhdr *eh = eth_hdr(skb); local
1590 eh->h_dest, MC_ACL_RULE_NON_SNOOPING) < 0 ||
1997 struct ethhdr *eh = eth_hdr(skb); local
2006 eh->h_dest, MC_ACL_RULE_NON_SNOOPING)) {
2119 struct ethhdr *eh = eth_hdr(skb); local
2128 eh->h_dest, MC_ACL_RULE_NON_SNOOPING)) {
/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/
H A Dtrx2edips.c113 struct edimax_header eh; local
162 eh.sign = STORE32_LE(EDIMAX_PS16);
163 eh.length = STORE32_LE(length);
164 eh.start_addr = STORE32_LE(0x80500000);
167 fwrite(&eh, sizeof(struct edimax_header), 1, fpOut);

Completed in 99 milliseconds