/drivers/staging/octeon/ |
D | ethernet-tx.c | 368 ((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/ |
D | ud_header.c | 141 { STRUCT_FIELD(ip4, frag_off), 292 iph.frag_off = header->ip4.frag_off; in ib_ud_ip4_csum()
|
D | lag.c | 46 iph->frag_off = 0; in rdma_build_skb()
|
/drivers/net/slip/ |
D | slhc.c | 255 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/ |
D | hinic_tx.c | 217 __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/ |
D | rmnet_map_data.c | 52 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/ |
D | net.c | 363 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/ |
D | ocrdma_ah.c | 131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
|
/drivers/net/ppp/ |
D | pptp.c | 242 iph->frag_off = htons(IP_DF); in pptp_xmit() 244 iph->frag_off = 0; in pptp_xmit()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_selftest.c | 149 iph->frag_off = 0; in mlx5e_test_get_udp_skb()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 806 __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/ |
D | iavf_txrx.c | 1975 __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/ |
D | ice_txrx.c | 1894 __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/ |
D | gtp.c | 523 df = iph->frag_off; in gtp_build_skb_ip4() 541 if (iph->frag_off & htons(IP_DF) && in gtp_build_skb_ip4()
|
D | geneve.c | 962 if (iph->frag_off & htons(IP_DF)) in geneve_xmit_skb()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 267 iph->frag_off = df; in prepare_ipv4_hdr()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 1761 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/ |
D | i40e_txrx.c | 3079 __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/ |
D | qedr_roce_cm.c | 472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()
|
/drivers/net/netdevsim/ |
D | dev.c | 522 iph->frag_off = 0; in nsim_dev_trap_skb_build()
|
/drivers/staging/qlge/ |
D | qlge_main.c | 1530 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/ |
D | hns3_enet.c | 738 __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/ |
D | hamachi.c | 1532 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 181 ihdr->frag_off = 0; in stmmac_test_get_udp_skb()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1374 if (iph->frag_off != 0 && !(pkt_flags & RRS_IS_IP_DF)) in atl1e_rx_checksum()
|