Home
last modified time | relevance | path

Searched refs:frag_off (Results 1 – 25 of 31) sorted by relevance

12

/drivers/staging/octeon/
Dethernet-tx.c368 ((ip_hdr(skb)->frag_off == 0) || in cvm_oct_xmit()
369 (ip_hdr(skb)->frag_off == htons(1 << 14))) && in cvm_oct_xmit()
599 work->word2.s.is_frag = !((ip_hdr(skb)->frag_off == 0) || in cvm_oct_xmit_pow()
600 (ip_hdr(skb)->frag_off == in cvm_oct_xmit_pow()
/drivers/infiniband/core/
Dud_header.c141 { STRUCT_FIELD(ip4, frag_off),
292 iph.frag_off = header->ip4.frag_off; in ib_ud_ip4_csum()
Dlag.c46 iph->frag_off = 0; in rdma_build_skb()
/drivers/net/slip/
Dslhc.c255 if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) { in slhc_compress()
355 || (ip->frag_off & htons(0x4000)) != (cs->cs_ip.frag_off & htons(0x4000)) in slhc_compress()
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c217 __be16 frag_off; in get_inner_l3_l4_type() local
219 ipv6_skip_exthdr(skb, start, l4_proto, &frag_off); in get_inner_l3_l4_type()
377 __be16 frag_off; in offload_csum() local
385 &l4_proto, &frag_off); in offload_csum()
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c52 if ((ntohs(ip4h->frag_off) & IP_MF) || in rmnet_map_ipv4_dl_csum_trailer()
53 ((ntohs(ip4h->frag_off) & IP_OFFSET) > 0)) { in rmnet_map_ipv4_dl_csum_trailer()
/drivers/firewire/
Dnet.c363 void *frag_buf, unsigned frag_off, unsigned frag_len) in fwnet_pd_new() argument
373 fi = fwnet_frag_new(new, frag_off, frag_len); in fwnet_pd_new()
385 memcpy(new->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_new()
425 unsigned frag_off, unsigned frag_len) in fwnet_pd_update() argument
427 if (fwnet_frag_new(pd, frag_off, frag_len) == NULL) in fwnet_pd_update()
430 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_update()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
/drivers/net/ppp/
Dpptp.c242 iph->frag_off = htons(IP_DF); in pptp_xmit()
244 iph->frag_off = 0; in pptp_xmit()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_selftest.c149 iph->frag_off = 0; in mlx5e_test_get_udp_skb()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c806 __be16 frag_off; in fm10k_tx_csum() local
842 &l4_hdr, &frag_off); in fm10k_tx_csum()
843 if (unlikely(frag_off)) in fm10k_tx_csum()
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1975 __be16 frag_off; in iavf_tx_enable_csum() local
2003 &l4_proto, &frag_off); in iavf_tx_enable_csum()
2077 &l4_proto, &frag_off); in iavf_tx_enable_csum()
/drivers/net/ethernet/intel/ice/
Dice_txrx.c1894 __be16 frag_off, protocol; in ice_tx_csum() local
1933 &l4_proto, &frag_off); in ice_tx_csum()
2015 &frag_off); in ice_tx_csum()
/drivers/net/
Dgtp.c523 df = iph->frag_off; in gtp_build_skb_ip4()
541 if (iph->frag_off & htons(IP_DF) && in gtp_build_skb_ip4()
Dgeneve.c962 if (iph->frag_off & htons(IP_DF)) in geneve_xmit_skb()
/drivers/infiniband/sw/rxe/
Drxe_net.c267 iph->frag_off = df; in prepare_ipv4_hdr()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1761 int frag_off, frag_len; in sg_fd_to_skb() local
1824 frag_off = qm_sg_entry_get_off(&sgt[i]) + page_offset; in sg_fd_to_skb()
1830 skb_add_rx_frag(skb, i - 1, head_page, frag_off, in sg_fd_to_skb()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3079 __be16 frag_off; in i40e_tx_enable_csum() local
3108 &l4_proto, &frag_off); in i40e_tx_enable_csum()
3184 &l4_proto, &frag_off); in i40e_tx_enable_csum()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()
/drivers/net/netdevsim/
Ddev.c522 iph->frag_off = 0; in nsim_dev_trap_skb_build()
/drivers/staging/qlge/
Dqlge_main.c1530 if (!(iph->frag_off & in ql_process_mac_rx_page()
1637 if (!(iph->frag_off & in ql_process_mac_rx_skb()
1926 if (!(iph->frag_off & in ql_process_mac_split_rx_intr()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c738 __be16 frag_off; in hns3_get_l4_protocol() local
749 &l4_proto_tmp, &frag_off); in hns3_get_l4_protocol()
773 &l4_proto_tmp, &frag_off); in hns3_get_l4_protocol()
/drivers/net/ethernet/packetengines/
Dhamachi.c1532 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c181 ihdr->frag_off = 0; in stmmac_test_get_udp_skb()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1374 if (iph->frag_off != 0 && !(pkt_flags & RRS_IS_IP_DF)) in atl1e_rx_checksum()

12