Searched refs:kskb (Results 1 – 2 of 2) sorted by relevance
34 struct sk_buff *kskb; in decap_sanity() local54 kskb = bpf_cast_to_kern_ctx(skb); in decap_sanity()55 init_csum_partial = (kskb->ip_summed == CHECKSUM_PARTIAL); in decap_sanity()60 final_csum_none = (kskb->ip_summed == CHECKSUM_NONE); in decap_sanity()61 if (kskb->ip_summed == CHECKSUM_PARTIAL && in decap_sanity()62 (unsigned int)skb_checksum_start_offset(kskb) >= skb_headlen(kskb)) in decap_sanity()
42 struct sk_buff *kskb = bpf_cast_to_kern_ctx(skb); in md_skb() local46 kskb_len = kskb->len; in md_skb()51 shared_info = bpf_rdonly_cast(kskb->head + kskb->end, in md_skb()57 kskb2 = bpf_rdonly_cast(kskb, bpf_core_type_id_kernel(struct sk_buff)); in md_skb()