skb_in 409 drivers/net/usb/cdc_mbim.c static int cdc_mbim_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in) skb_in 426 drivers/net/usb/cdc_mbim.c ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); skb_in 431 drivers/net/usb/cdc_mbim.c nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); skb_in 435 drivers/net/usb/cdc_mbim.c ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); skb_in 473 drivers/net/usb/cdc_mbim.c if (((offset + len) > skb_in->len) || (len > ctx->rx_max)) { skb_in 476 drivers/net/usb/cdc_mbim.c x, offset, len, skb_in); skb_in 481 drivers/net/usb/cdc_mbim.c skb = cdc_mbim_process_dgram(dev, skb_in->data + offset, len, tci); skb_in 495 drivers/net/usb/cdc_mbim.c ctx->rx_overhead += skb_in->len - payload; skb_in 1414 drivers/net/usb/cdc_ncm.c int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in) skb_in 1416 drivers/net/usb/cdc_ncm.c struct usbnet *dev = netdev_priv(skb_in->dev); skb_in 1424 drivers/net/usb/cdc_ncm.c if (skb_in->len < (sizeof(struct usb_cdc_ncm_nth16) + skb_in 1430 drivers/net/usb/cdc_ncm.c nth16 = (struct usb_cdc_ncm_nth16 *)skb_in->data; skb_in 1463 drivers/net/usb/cdc_ncm.c int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset) skb_in 1465 drivers/net/usb/cdc_ncm.c struct usbnet *dev = netdev_priv(skb_in->dev); skb_in 1469 drivers/net/usb/cdc_ncm.c if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { skb_in 1474 drivers/net/usb/cdc_ncm.c ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); skb_in 1488 drivers/net/usb/cdc_ncm.c ret * (sizeof(struct usb_cdc_ncm_dpe16))) > skb_in->len) { skb_in 1498 drivers/net/usb/cdc_ncm.c int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in) skb_in 1512 drivers/net/usb/cdc_ncm.c ndpoffset = cdc_ncm_rx_verify_nth16(ctx, skb_in); skb_in 1517 drivers/net/usb/cdc_ncm.c nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); skb_in 1521 drivers/net/usb/cdc_ncm.c ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); skb_in 1546 drivers/net/usb/cdc_ncm.c if (((offset + len) > skb_in->len) || skb_in 1550 drivers/net/usb/cdc_ncm.c x, offset, len, skb_in); skb_in 1560 drivers/net/usb/cdc_ncm.c skb_put_data(skb, skb_in->data + offset, len); skb_in 1572 drivers/net/usb/cdc_ncm.c ctx->rx_overhead += skb_in->len - payload; skb_in 92 drivers/staging/gdm724x/gdm_lte.c static int gdm_lte_emulate_arp(struct sk_buff *skb_in, u32 nic_type) skb_in 94 drivers/staging/gdm724x/gdm_lte.c struct nic *nic = netdev_priv(skb_in->dev); skb_in 113 drivers/staging/gdm724x/gdm_lte.c if (skb_in->len == 0) skb_in 117 drivers/staging/gdm724x/gdm_lte.c if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { skb_in 118 drivers/staging/gdm724x/gdm_lte.c memcpy(&vlan_eth, skb_in->data, sizeof(struct vlan_ethhdr)); skb_in 122 drivers/staging/gdm724x/gdm_lte.c memcpy(ð, skb_in->data, sizeof(struct ethhdr)); skb_in 128 drivers/staging/gdm724x/gdm_lte.c arp_in = (struct arphdr *)(skb_in->data + mac_header_len); skb_in 129 drivers/staging/gdm724x/gdm_lte.c arp_data_in = (struct arpdata *)(skb_in->data + mac_header_len + skb_in 154 drivers/staging/gdm724x/gdm_lte.c skb_out = dev_alloc_skb(skb_in->len); skb_in 164 drivers/staging/gdm724x/gdm_lte.c skb_out->dev = skb_in->dev; skb_in 212 drivers/staging/gdm724x/gdm_lte.c static int gdm_lte_emulate_ndp(struct sk_buff *skb_in, u32 nic_type) skb_in 214 drivers/staging/gdm724x/gdm_lte.c struct nic *nic = netdev_priv(skb_in->dev); skb_in 238 drivers/staging/gdm724x/gdm_lte.c if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { skb_in 239 drivers/staging/gdm724x/gdm_lte.c memcpy(&vlan_eth, skb_in->data, sizeof(struct vlan_ethhdr)); skb_in 245 drivers/staging/gdm724x/gdm_lte.c memcpy(ð, skb_in->data, sizeof(struct ethhdr)); skb_in 253 drivers/staging/gdm724x/gdm_lte.c ipv6_in = (struct ipv6hdr *)(skb_in->data + mac_header_len); skb_in 258 drivers/staging/gdm724x/gdm_lte.c icmp6_in = (struct icmp6hdr *)(skb_in->data + mac_header_len + skb_in 279 drivers/staging/gdm724x/gdm_lte.c (skb_in->data + mac_header_len + skb_in 315 drivers/staging/gdm724x/gdm_lte.c skb_out = dev_alloc_skb(skb_in->len); skb_in 326 drivers/staging/gdm724x/gdm_lte.c skb_out->dev = skb_in->dev; skb_in 151 include/linux/usb/cdc_ncm.h int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in); skb_in 152 include/linux/usb/cdc_ncm.h int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset); skb_in 155 include/linux/usb/cdc_ncm.h int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in); skb_in 39 include/net/icmp.h void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, skb_in 41 include/net/icmp.h static inline void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) skb_in 43 include/net/icmp.h __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); skb_in 10 include/net/netfilter/ipv4/nf_reject.h void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); skb_in 8 include/net/netfilter/ipv6/nf_reject.h void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code, skb_in 86 net/hsr/hsr_forward.c static struct sk_buff *create_stripped_skb(struct sk_buff *skb_in, skb_in 93 net/hsr/hsr_forward.c skb_pull(skb_in, HSR_HLEN); skb_in 94 net/hsr/hsr_forward.c skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); skb_in 95 net/hsr/hsr_forward.c skb_push(skb_in, HSR_HLEN); skb_in 107 net/hsr/hsr_forward.c src = skb_mac_header(skb_in); skb_in 231 net/hsr/hsr_netlink.c static int hsr_get_node_status(struct sk_buff *skb_in, struct genl_info *info) skb_in 275 net/hsr/hsr_netlink.c msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, skb_in 353 net/hsr/hsr_netlink.c netlink_ack(skb_in, nlmsg_hdr(skb_in), -EINVAL, NULL); skb_in 367 net/hsr/hsr_netlink.c static int hsr_get_node_list(struct sk_buff *skb_in, struct genl_info *info) skb_in 402 net/hsr/hsr_netlink.c msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, skb_in 444 net/hsr/hsr_netlink.c netlink_ack(skb_in, nlmsg_hdr(skb_in), -EINVAL, NULL); skb_in 462 net/ipv4/icmp.c struct sk_buff *skb_in, skb_in 482 net/ipv4/icmp.c fl4->flowi4_oif = l3mdev_master_ifindex(skb_dst(skb_in)->dev); skb_in 484 net/ipv4/icmp.c security_skb_classify_flow(skb_in, flowi4_to_flowi(fl4)); skb_in 485 net/ipv4/icmp.c rt = ip_route_output_key_hash(net, fl4, skb_in); skb_in 502 net/ipv4/icmp.c err = xfrm_decode_session_reverse(skb_in, flowi4_to_flowi(&fl4_dec), AF_INET); skb_in 506 net/ipv4/icmp.c if (inet_addr_type_dev_table(net, skb_dst(skb_in)->dev, skb_in 522 net/ipv4/icmp.c orefdst = skb_in->_skb_refdst; /* save old refdst */ skb_in 523 net/ipv4/icmp.c skb_dst_set(skb_in, NULL); skb_in 524 net/ipv4/icmp.c err = ip_route_input(skb_in, fl4_dec.daddr, fl4_dec.saddr, skb_in 528 net/ipv4/icmp.c rt2 = skb_rtable(skb_in); skb_in 529 net/ipv4/icmp.c skb_in->_skb_refdst = orefdst; /* restore old refdst */ skb_in 569 net/ipv4/icmp.c void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, skb_in 575 net/ipv4/icmp.c struct rtable *rt = skb_rtable(skb_in); skb_in 589 net/ipv4/icmp.c else if (skb_in->dev) skb_in 590 net/ipv4/icmp.c net = dev_net(skb_in->dev); skb_in 599 net/ipv4/icmp.c iph = ip_hdr(skb_in); skb_in 601 net/ipv4/icmp.c if ((u8 *)iph < skb_in->head || skb_in 602 net/ipv4/icmp.c (skb_network_header(skb_in) + sizeof(*iph)) > skb_in 603 net/ipv4/icmp.c skb_tail_pointer(skb_in)) skb_in 609 net/ipv4/icmp.c if (skb_in->pkt_type != PACKET_HOST) skb_in 636 net/ipv4/icmp.c itp = skb_header_pointer(skb_in, skb_in 637 net/ipv4/icmp.c skb_network_header(skb_in) + skb_in 641 net/ipv4/icmp.c skb_in->data, skb_in 664 net/ipv4/icmp.c if (!(skb_in->dev && (skb_in->dev->flags&IFF_LOOPBACK)) && skb_in 683 net/ipv4/icmp.c dev = dev_get_by_index_rcu(net, inet_iif(skb_in)); skb_in 695 net/ipv4/icmp.c mark = IP4_REPLY_MARK(net, skb_in->mark); skb_in 697 net/ipv4/icmp.c if (__ip_options_echo(net, &icmp_param.replyopts.opt.opt, skb_in, opt)) skb_in 709 net/ipv4/icmp.c icmp_param.skb = skb_in; skb_in 710 net/ipv4/icmp.c icmp_param.offset = skb_network_offset(skb_in); skb_in 717 net/ipv4/icmp.c rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, skb_in 734 net/ipv4/icmp.c icmp_param.data_len = skb_in->len - icmp_param.offset; skb_in 170 net/ipv4/netfilter/nf_reject_ipv4.c void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) skb_in 172 net/ipv4/netfilter/nf_reject_ipv4.c struct iphdr *iph = ip_hdr(skb_in); skb_in 178 net/ipv4/netfilter/nf_reject_ipv4.c if (skb_csum_unnecessary(skb_in) || !nf_reject_verify_csum(proto)) { skb_in 179 net/ipv4/netfilter/nf_reject_ipv4.c icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); skb_in 183 net/ipv4/netfilter/nf_reject_ipv4.c if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) skb_in 184 net/ipv4/netfilter/nf_reject_ipv4.c icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); skb_in 239 net/ipv6/netfilter/nf_reject_ipv6.c void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, skb_in 242 net/ipv6/netfilter/nf_reject_ipv6.c if (!reject6_csum_ok(skb_in, hooknum)) skb_in 245 net/ipv6/netfilter/nf_reject_ipv6.c if (hooknum == NF_INET_LOCAL_OUT && skb_in->dev == NULL) skb_in 246 net/ipv6/netfilter/nf_reject_ipv6.c skb_in->dev = net->loopback_dev; skb_in 248 net/ipv6/netfilter/nf_reject_ipv6.c icmpv6_send(skb_in, ICMPV6_DEST_UNREACH, code, 0);