Lines Matching defs:skb
23 eui64_mt6(const struct sk_buff *skb, struct xt_action_param *par)
27 if (!(skb_mac_header(skb) >= skb->head &&
28 skb_mac_header(skb) + ETH_HLEN <= skb->data) &&
36 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
37 if (ipv6_hdr(skb)->version == 0x6) {
38 memcpy(eui64, eth_hdr(skb)->h_source, 3);
39 memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3);
44 if (!memcmp(ipv6_hdr(skb)->saddr.s6_addr + 8, eui64,