skbuff.h (040b5cfbcefa263ccf2c118c4938308606bb7ed8) | skbuff.h (d04ac224b1688f005a84f764cfe29844f8e9da08) |
---|---|
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 */ --- 3515 unchanged lines hidden (view full) --- 3524bool skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len); 3525struct sk_buff *skb_segment(struct sk_buff *skb, netdev_features_t features); 3526struct sk_buff *skb_vlan_untag(struct sk_buff *skb); 3527int skb_ensure_writable(struct sk_buff *skb, int write_len); 3528int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci); 3529int skb_vlan_pop(struct sk_buff *skb); 3530int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci); 3531int skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, | 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 */ --- 3515 unchanged lines hidden (view full) --- 3524bool skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len); 3525struct sk_buff *skb_segment(struct sk_buff *skb, netdev_features_t features); 3526struct sk_buff *skb_vlan_untag(struct sk_buff *skb); 3527int skb_ensure_writable(struct sk_buff *skb, int write_len); 3528int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci); 3529int skb_vlan_pop(struct sk_buff *skb); 3530int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci); 3531int skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, |
3532 int mac_len); | 3532 int mac_len, bool ethernet); |
3533int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, 3534 bool ethernet); 3535int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse); 3536int skb_mpls_dec_ttl(struct sk_buff *skb); 3537struct sk_buff *pskb_extract(struct sk_buff *skb, int off, int to_copy, 3538 gfp_t gfp); 3539 3540static inline int memcpy_from_msg(void *data, struct msghdr *msg, int len) --- 981 unchanged lines hidden --- | 3533int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, 3534 bool ethernet); 3535int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse); 3536int skb_mpls_dec_ttl(struct sk_buff *skb); 3537struct sk_buff *pskb_extract(struct sk_buff *skb, int off, int to_copy, 3538 gfp_t gfp); 3539 3540static inline int memcpy_from_msg(void *data, struct msghdr *msg, int len) --- 981 unchanged lines hidden --- |