skbuff.h (44bf67f32a6803339ac1ba721b158c3e2272cabe) | skbuff.h (55667441c84fa5e0911a0aac44fb059c15ba6da2) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for the 'struct sk_buff' memory handlers. 4 * 5 * Authors: 6 * Alan Cox, <gw4pts@gw4pts.ampr.org> 7 * Florian La Roche, <rzsfl@rz.uni-sb.de> 8 */ --- 1340 unchanged lines hidden (view full) --- 1349 __u32 hash = __get_hash_from_flowi6(fl6, &keys); 1350 1351 __skb_set_sw_hash(skb, hash, flow_keys_have_l4(&keys)); 1352 } 1353 1354 return skb->hash; 1355} 1356 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for the 'struct sk_buff' memory handlers. 4 * 5 * Authors: 6 * Alan Cox, <gw4pts@gw4pts.ampr.org> 7 * Florian La Roche, <rzsfl@rz.uni-sb.de> 8 */ --- 1340 unchanged lines hidden (view full) --- 1349 __u32 hash = __get_hash_from_flowi6(fl6, &keys); 1350 1351 __skb_set_sw_hash(skb, hash, flow_keys_have_l4(&keys)); 1352 } 1353 1354 return skb->hash; 1355} 1356 |
1357__u32 skb_get_hash_perturb(const struct sk_buff *skb, u32 perturb); | 1357__u32 skb_get_hash_perturb(const struct sk_buff *skb, 1358 const siphash_key_t *perturb); |
1358 1359static inline __u32 skb_get_hash_raw(const struct sk_buff *skb) 1360{ 1361 return skb->hash; 1362} 1363 1364static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff *from) 1365{ --- 3128 unchanged lines hidden --- | 1359 1360static inline __u32 skb_get_hash_raw(const struct sk_buff *skb) 1361{ 1362 return skb->hash; 1363} 1364 1365static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff *from) 1366{ --- 3128 unchanged lines hidden --- |