Searched refs:skb_ptr (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_l4lb_noinline_dynptr.c | 235 static __noinline int parse_icmpv6(struct bpf_dynptr *skb_ptr, __u64 off, in parse_icmpv6() argument 242 icmp_hdr = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_icmpv6() 249 ip6h = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_icmpv6() 259 static __noinline int parse_icmp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_icmp() argument 267 icmp_hdr = bpf_dynptr_slice(skb_ptr, off, buffer_icmp, sizeof(buffer_icmp)); in parse_icmp() 274 iph = bpf_dynptr_slice(skb_ptr, off, buffer_ip, sizeof(buffer_ip)); in parse_icmp() 284 static __noinline bool parse_udp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_udp() argument 290 udp = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_udp() 304 static __noinline bool parse_tcp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_tcp() argument 310 tcp = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_tcp() [all …]
|
/linux/drivers/net/ethernet/rdc/ |
H A D | r6040.c | 170 struct sk_buff *skb_ptr; /* 18-1B */ member 266 if (lp->tx_insert_ptr->skb_ptr) { in r6040_free_txbufs() 270 dev_kfree_skb(lp->tx_insert_ptr->skb_ptr); in r6040_free_txbufs() 271 lp->tx_insert_ptr->skb_ptr = NULL; in r6040_free_txbufs() 283 if (lp->rx_insert_ptr->skb_ptr) { in r6040_free_rxbufs() 287 dev_kfree_skb(lp->rx_insert_ptr->skb_ptr); in r6040_free_rxbufs() 288 lp->rx_insert_ptr->skb_ptr = NULL; in r6040_free_rxbufs() 339 desc->skb_ptr = skb; in r6040_alloc_rxbufs() 341 desc->skb_ptr->data, in r6040_alloc_rxbufs() 513 struct sk_buff *skb_ptr, *new_skb; in r6040_rx() local [all …]
|