/Linux-v4.19/include/linux/ |
D | skbuff.h | 486 int skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb, 705 void (*destructor)(struct sk_buff *skb); 871 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc() argument 873 return unlikely(skb->pfmemalloc); in skb_pfmemalloc() 890 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst() argument 895 WARN_ON((skb->_skb_refdst & SKB_DST_NOREF) && in skb_dst() 898 return (struct dst_entry *)(skb->_skb_refdst & SKB_DST_PTRMASK); in skb_dst() 909 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set() argument 911 skb->_skb_refdst = (unsigned long)dst; in skb_dst_set() 924 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref() argument [all …]
|
/Linux-v4.19/net/bridge/ |
D | br_netfilter_hooks.c | 73 #define IS_IP(skb) \ argument 74 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) 76 #define IS_IPV6(skb) \ argument 77 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6)) 79 #define IS_ARP(skb) \ argument 80 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP)) 82 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() argument 84 if (skb_vlan_tag_present(skb)) in vlan_proto() 85 return skb->protocol; in vlan_proto() 86 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto() [all …]
|
D | br_forward.c | 26 const struct sk_buff *skb) in should_deliver() argument 31 return ((p->flags & BR_HAIRPIN_MODE) || skb->dev != p->dev) && in should_deliver() 32 br_allowed_egress(vg, skb) && p->state == BR_STATE_FORWARDING && in should_deliver() 33 nbp_switchdev_allowed_egress(p, skb) && in should_deliver() 34 !br_skb_isolated(p, skb); in should_deliver() 37 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in br_dev_queue_push_xmit() argument 39 if (!is_skb_forwardable(skb->dev, skb)) in br_dev_queue_push_xmit() 42 skb_push(skb, ETH_HLEN); in br_dev_queue_push_xmit() 43 br_drop_fake_rtable(skb); in br_dev_queue_push_xmit() 45 if (skb->ip_summed == CHECKSUM_PARTIAL && in br_dev_queue_push_xmit() [all …]
|
D | br_input.c | 31 br_netif_receive_skb(struct net *net, struct sock *sk, struct sk_buff *skb) in br_netif_receive_skb() argument 33 br_drop_fake_rtable(skb); in br_netif_receive_skb() 34 return netif_receive_skb(skb); in br_netif_receive_skb() 37 static int br_pass_frame_up(struct sk_buff *skb) in br_pass_frame_up() argument 39 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; in br_pass_frame_up() 46 brstats->rx_bytes += skb->len; in br_pass_frame_up() 55 !br_allowed_egress(vg, skb)) { in br_pass_frame_up() 56 kfree_skb(skb); in br_pass_frame_up() 60 indev = skb->dev; in br_pass_frame_up() 61 skb->dev = brdev; in br_pass_frame_up() [all …]
|
D | br_netfilter_ipv6.c | 50 static int br_nf_check_hbh_len(struct sk_buff *skb) in br_nf_check_hbh_len() argument 52 unsigned char *raw = (u8 *)(ipv6_hdr(skb) + 1); in br_nf_check_hbh_len() 54 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() 58 if ((raw + len) - skb->data > skb_headlen(skb)) in br_nf_check_hbh_len() 80 ipv6_hdr(skb)->payload_len) in br_nf_check_hbh_len() 82 if (pkt_len > skb->len - sizeof(struct ipv6hdr)) in br_nf_check_hbh_len() 84 if (pskb_trim_rcsum(skb, in br_nf_check_hbh_len() 87 nh = skb_network_header(skb); in br_nf_check_hbh_len() 103 int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6() argument 106 struct inet6_dev *idev = __in6_dev_get(skb->dev); in br_validate_ipv6() [all …]
|
/Linux-v4.19/drivers/bluetooth/ |
D | btbcm.c | 42 struct sk_buff *skb; in btbcm_check_bdaddr() local 44 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL, in btbcm_check_bdaddr() 46 if (IS_ERR(skb)) { in btbcm_check_bdaddr() 47 int err = PTR_ERR(skb); in btbcm_check_bdaddr() 52 if (skb->len != sizeof(*bda)) { in btbcm_check_bdaddr() 54 kfree_skb(skb); in btbcm_check_bdaddr() 58 bda = (struct hci_rp_read_bd_addr *)skb->data; in btbcm_check_bdaddr() 81 kfree_skb(skb); in btbcm_check_bdaddr() 89 struct sk_buff *skb; in btbcm_set_bdaddr() local 92 skb = __hci_cmd_sync(hdev, 0xfc01, 6, bdaddr, HCI_INIT_TIMEOUT); in btbcm_set_bdaddr() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | xfrm6_output.c | 23 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, in xfrm6_find_1stfragopt() argument 26 return ip6_find_1stfragopt(skb, prevhdr); in xfrm6_find_1stfragopt() 30 static int xfrm6_local_dontfrag(struct sk_buff *skb) in xfrm6_local_dontfrag() argument 33 struct sock *sk = skb->sk; in xfrm6_local_dontfrag() 47 static void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu) in xfrm6_local_rxpmtu() argument 50 struct sock *sk = skb->sk; in xfrm6_local_rxpmtu() 53 fl6.daddr = ipv6_hdr(skb)->daddr; in xfrm6_local_rxpmtu() 58 void xfrm6_local_error(struct sk_buff *skb, u32 mtu) in xfrm6_local_error() argument 62 struct sock *sk = skb->sk; in xfrm6_local_error() 64 hdr = skb->encapsulation ? inner_ipv6_hdr(skb) : ipv6_hdr(skb); in xfrm6_local_error() [all …]
|
D | ip6_input.c | 51 struct sk_buff *skb) in ip6_rcv_finish_core() argument 53 void (*edemux)(struct sk_buff *skb); in ip6_rcv_finish_core() 55 if (net->ipv4.sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) { in ip6_rcv_finish_core() 58 ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]); in ip6_rcv_finish_core() 60 edemux(skb); in ip6_rcv_finish_core() 62 if (!skb_valid_dst(skb)) in ip6_rcv_finish_core() 63 ip6_route_input(skb); in ip6_rcv_finish_core() 66 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() argument 71 skb = l3mdev_ip6_rcv(skb); in ip6_rcv_finish() 72 if (!skb) in ip6_rcv_finish() [all …]
|
D | ip6_offload.c | 23 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument 41 if (unlikely(!pskb_may_pull(skb, 8))) in ipv6_gso_pull_exthdrs() 44 opth = (void *)skb->data; in ipv6_gso_pull_exthdrs() 47 if (unlikely(!pskb_may_pull(skb, len))) in ipv6_gso_pull_exthdrs() 50 opth = (void *)skb->data; in ipv6_gso_pull_exthdrs() 52 __skb_pull(skb, len); in ipv6_gso_pull_exthdrs() 58 static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, in ipv6_gso_segment() argument 73 skb_reset_network_header(skb); in ipv6_gso_segment() 74 nhoff = skb_network_header(skb) - skb_mac_header(skb); in ipv6_gso_segment() 75 if (unlikely(!pskb_may_pull(skb, sizeof(*ipv6h)))) in ipv6_gso_segment() [all …]
|
D | exthdrs.c | 68 bool (*func)(struct sk_buff *skb, int offset); 77 static bool ip6_tlvopt_unknown(struct sk_buff *skb, int optoff, in ip6_tlvopt_unknown() argument 91 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown() 102 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown() 106 icmpv6_param_prob(skb, ICMPV6_UNK_OPTION, optoff); in ip6_tlvopt_unknown() 111 kfree_skb(skb); in ip6_tlvopt_unknown() 118 struct sk_buff *skb, in ip6_parse_tlv() argument 121 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv() 122 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() 123 int off = skb_network_header_len(skb); in ip6_parse_tlv() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | ip_input.c | 154 bool ip_call_ra_chain(struct sk_buff *skb) in ip_call_ra_chain() argument 157 u8 protocol = ip_hdr(skb)->protocol; in ip_call_ra_chain() 159 struct net_device *dev = skb->dev; in ip_call_ra_chain() 171 if (ip_is_fragment(ip_hdr(skb))) { in ip_call_ra_chain() 172 if (ip_defrag(net, skb, IP_DEFRAG_CALL_RA_CHAIN)) in ip_call_ra_chain() 176 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC); in ip_call_ra_chain() 185 raw_rcv(last, skb); in ip_call_ra_chain() 191 static int ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish() argument 193 __skb_pull(skb, skb_network_header_len(skb)); in ip_local_deliver_finish() 197 int protocol = ip_hdr(skb)->protocol; in ip_local_deliver_finish() [all …]
|
D | udp_offload.c | 17 static struct sk_buff *__skb_udp_tunnel_segment(struct sk_buff *skb, in __skb_udp_tunnel_segment() argument 19 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in __skb_udp_tunnel_segment() argument 23 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment() 26 struct udphdr *uh = udp_hdr(skb); in __skb_udp_tunnel_segment() 27 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment() 28 __be16 protocol = skb->protocol; in __skb_udp_tunnel_segment() 29 u16 mac_len = skb->mac_len; in __skb_udp_tunnel_segment() 34 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in __skb_udp_tunnel_segment() 43 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) in __skb_udp_tunnel_segment() 46 partial = (__force __wsum)htonl(skb->len); in __skb_udp_tunnel_segment() [all …]
|
D | xfrm4_output.c | 21 static int xfrm4_tunnel_check_size(struct sk_buff *skb) in xfrm4_tunnel_check_size() argument 25 if (IPCB(skb)->flags & IPSKB_XFRM_TUNNEL_SIZE) in xfrm4_tunnel_check_size() 28 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) in xfrm4_tunnel_check_size() 31 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size() 32 if ((!skb_is_gso(skb) && skb->len > mtu) || in xfrm4_tunnel_check_size() 33 (skb_is_gso(skb) && in xfrm4_tunnel_check_size() 34 !skb_gso_validate_network_len(skb, ip_skb_dst_mtu(skb->sk, skb)))) { in xfrm4_tunnel_check_size() 35 skb->protocol = htons(ETH_P_IP); in xfrm4_tunnel_check_size() 37 if (skb->sk) in xfrm4_tunnel_check_size() 38 xfrm_local_error(skb, mtu); in xfrm4_tunnel_check_size() [all …]
|
D | gre_offload.c | 18 static struct sk_buff *gre_gso_segment(struct sk_buff *skb, in gre_gso_segment() argument 21 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment() 23 u16 mac_offset = skb->mac_header; in gre_gso_segment() 24 __be16 protocol = skb->protocol; in gre_gso_segment() 25 u16 mac_len = skb->mac_len; in gre_gso_segment() 29 if (!skb->encapsulation) in gre_gso_segment() 35 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in gre_gso_segment() 39 skb->encapsulation = 0; in gre_gso_segment() 40 SKB_GSO_CB(skb)->encap_level = 0; in gre_gso_segment() 41 __skb_pull(skb, tnl_hlen); in gre_gso_segment() [all …]
|
D | tcp_offload.c | 17 static void tcp_gso_tstamp(struct sk_buff *skb, unsigned int ts_seq, in tcp_gso_tstamp() argument 20 while (skb) { in tcp_gso_tstamp() 22 skb_shinfo(skb)->tx_flags |= SKBTX_SW_TSTAMP; in tcp_gso_tstamp() 23 skb_shinfo(skb)->tskey = ts_seq; in tcp_gso_tstamp() 27 skb = skb->next; in tcp_gso_tstamp() 32 static struct sk_buff *tcp4_gso_segment(struct sk_buff *skb, in tcp4_gso_segment() argument 35 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4)) in tcp4_gso_segment() 38 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp4_gso_segment() 41 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp4_gso_segment() 42 const struct iphdr *iph = ip_hdr(skb); in tcp4_gso_segment() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_handlers.c | 31 static void rmnet_set_skb_proto(struct sk_buff *skb) in rmnet_set_skb_proto() argument 33 switch (skb->data[0] & 0xF0) { in rmnet_set_skb_proto() 35 skb->protocol = htons(ETH_P_IP); in rmnet_set_skb_proto() 38 skb->protocol = htons(ETH_P_IPV6); in rmnet_set_skb_proto() 41 skb->protocol = htons(ETH_P_MAP); in rmnet_set_skb_proto() 49 rmnet_deliver_skb(struct sk_buff *skb) in rmnet_deliver_skb() argument 51 struct rmnet_priv *priv = netdev_priv(skb->dev); in rmnet_deliver_skb() 53 skb_reset_transport_header(skb); in rmnet_deliver_skb() 54 skb_reset_network_header(skb); in rmnet_deliver_skb() 55 rmnet_vnd_rx_fixup(skb, skb->dev); in rmnet_deliver_skb() [all …]
|
/Linux-v4.19/include/net/ |
D | llc_c_ev.h | 123 static __inline__ struct llc_conn_state_ev *llc_conn_ev(struct sk_buff *skb) in llc_conn_ev() argument 125 return (struct llc_conn_state_ev *)skb->cb; in llc_conn_ev() 128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb); 129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb); 131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb); 132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb); 133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb); 134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb); 135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb); 136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb); [all …]
|
D | llc_c_ac.h | 90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb); 92 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb); 93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb); 94 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb); 95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb); 96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb); 97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb); 98 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb); 100 struct sk_buff *skb); 102 struct sk_buff *skb); [all …]
|
/Linux-v4.19/net/ieee802154/6lowpan/ |
D | rx.c | 29 static int lowpan_give_skb_to_device(struct sk_buff *skb) in lowpan_give_skb_to_device() argument 31 skb->protocol = htons(ETH_P_IPV6); in lowpan_give_skb_to_device() 32 skb->dev->stats.rx_packets++; in lowpan_give_skb_to_device() 33 skb->dev->stats.rx_bytes += skb->len; in lowpan_give_skb_to_device() 35 return netif_rx(skb); in lowpan_give_skb_to_device() 38 static int lowpan_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) in lowpan_rx_handlers_result() argument 48 kfree_skb(skb); in lowpan_rx_handlers_result() 54 return lowpan_give_skb_to_device(skb); in lowpan_rx_handlers_result() 72 static lowpan_rx_result lowpan_rx_h_frag(struct sk_buff *skb) in lowpan_rx_h_frag() argument 76 if (!(lowpan_is_frag1(*skb_network_header(skb)) || in lowpan_rx_h_frag() [all …]
|
/Linux-v4.19/net/core/ |
D | skbuff.c | 97 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument 101 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 102 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() 103 skb->dev ? skb->dev->name : "<NULL>"); in skb_panic() 107 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic() argument 109 skb_panic(skb, sz, addr, __func__); in skb_over_panic() 112 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic() argument 114 skb_panic(skb, sz, addr, __func__); in skb_under_panic() 182 struct sk_buff *skb; in __alloc_skb() local 193 skb = kmem_cache_alloc_node(cache, gfp_mask & ~__GFP_DMA, node); in __alloc_skb() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 26 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 30 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 36 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 38 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 40 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 42 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb, 44 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb, 48 int (*pull_svc_rdy)(struct ath10k *ar, struct sk_buff *skb, [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/prism54/ |
D | islpci_eth.c | 41 struct sk_buff *skb; in islpci_eth_cleanup_transmit() local 56 skb = priv->data_low_tx[index]; in islpci_eth_cleanup_transmit() 61 skb, skb->data, skb->len, skb->truesize); in islpci_eth_cleanup_transmit() 66 skb->len, PCI_DMA_TODEVICE); in islpci_eth_cleanup_transmit() 67 dev_kfree_skb_irq(skb); in islpci_eth_cleanup_transmit() 68 skb = NULL; in islpci_eth_cleanup_transmit() 76 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) in islpci_eth_transmit() argument 114 if (likely(((long) skb->data & 0x03) | init_wds)) { in islpci_eth_transmit() 116 offset = (4 - (long) skb->data) & 0x03; in islpci_eth_transmit() 120 if (!skb_cloned(skb) && (skb_tailroom(skb) >= offset)) { in islpci_eth_transmit() [all …]
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_output.c | 22 static int xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb); 24 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space() argument 26 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space() 28 - skb_headroom(skb); in xfrm_skb_check_space() 29 int ntail = dst->dev->needed_tailroom - skb_tailroom(skb); in xfrm_skb_check_space() 38 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space() 45 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop() argument 47 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop() 49 skb_dst_drop(skb); in skb_dst_pop() 53 static int xfrm_output_one(struct sk_buff *skb, int err) in xfrm_output_one() argument [all …]
|
/Linux-v4.19/net/lapb/ |
D | lapb_subr.c | 53 struct sk_buff *skb; in lapb_frames_acked() local 63 skb = skb_dequeue(&lapb->ack_queue); in lapb_frames_acked() 64 kfree_skb(skb); in lapb_frames_acked() 71 struct sk_buff *skb, *skb_prev = NULL; in lapb_requeue_frames() local 78 while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL) { in lapb_requeue_frames() 80 skb_queue_head(&lapb->write_queue, skb); in lapb_requeue_frames() 82 skb_append(skb_prev, skb, &lapb->write_queue); in lapb_requeue_frames() 83 skb_prev = skb; in lapb_requeue_frames() 111 int lapb_decode(struct lapb_cb *lapb, struct sk_buff *skb, in lapb_decode() argument 116 lapb_dbg(2, "(%p) S%d RX %3ph\n", lapb->dev, lapb->state, skb->data); in lapb_decode() [all …]
|
/Linux-v4.19/net/openvswitch/ |
D | actions.c | 49 struct sk_buff *skb; member 136 static struct deferred_action *add_deferred_actions(struct sk_buff *skb, in add_deferred_actions() argument 147 da->skb = skb; in add_deferred_actions() 166 static int clone_execute(struct datapath *dp, struct sk_buff *skb, 172 static void update_ethertype(struct sk_buff *skb, struct ethhdr *hdr, in update_ethertype() argument 175 if (skb->ip_summed == CHECKSUM_COMPLETE) { in update_ethertype() 178 skb->csum = ~csum_partial((char *)diff, sizeof(diff), in update_ethertype() 179 ~skb->csum); in update_ethertype() 185 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls() argument 191 if (skb->encapsulation) in push_mpls() [all …]
|