Searched refs:skb6 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | ratelimiter.c | 34 struct sk_buff *skb6, struct ipv6hdr *hdr6, in timings_test() argument 72 if (wg_ratelimiter_allow(skb6, &init_net) != in timings_test() 82 if (!wg_ratelimiter_allow(skb6, &init_net)) in timings_test() 123 struct sk_buff *skb4, *skb6 = NULL; in wg_ratelimiter_selftest() local 157 skb6 = alloc_skb(sizeof(struct ipv6hdr), GFP_KERNEL); in wg_ratelimiter_selftest() 158 if (unlikely(!skb6)) { in wg_ratelimiter_selftest() 162 skb6->protocol = htons(ETH_P_IPV6); in wg_ratelimiter_selftest() 163 hdr6 = (struct ipv6hdr *)skb_put(skb6, sizeof(*hdr6)); in wg_ratelimiter_selftest() 166 skb_reset_network_header(skb6); in wg_ratelimiter_selftest() 173 ret = timings_test(skb4, hdr4, skb6, hdr6, &test_count); in wg_ratelimiter_selftest() [all …]
|